Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Proposal of version 1.0.0 #84

Closed
wants to merge 17 commits into from

Conversation

yumitsu
Copy link

@yumitsu yumitsu commented Jan 10, 2012

Changes:

  • Applied krainboltgreene@a65d7f3a0c3e8e68471a585f6db7ba7cf3be7e12
  • Applied krainboltgreene@66b64237207b03cfe36520afcc81968a900a2d83
  • Applied krainboltgreene@c7b4adda371cc363c8f9b9feca152bec426171e0
  • Applied krainboltgreene@7fb717b6bad2a67e8237604544d6a231dd7cdeab
  • Applied krainboltgreene@8bedee11932b18bf3a6254b96d1efedafd73c1e8
  • Implemented sons-of-mars@0d58c109a431b64053d80328ad49f5e31f323576
  • Implemented sons-of-mars@2f4d072251627bcb4b2715923b2f69a308fd01e6
  • Implemented sons-of-mars@3c05eb9f291a8796521b4722b670a8454cfe9710
  • Implemented basic file language detection yumitsu@00ee259a28f940503970fb6ba184aa949f2338e6 (Fixes Rocco ignores JS code/comments #77)
  • Implemented lambda/rocco@b39f821 (Fixes Unit test for ISO-8859-1 breaks under Ruby 1.9.3 #73)
  • Fixed tests to pass with bluecloth yumitsu@62ad28e8d33066568abb0ed4658c01ffbd847edf
  • Fixed broken docblock test yumitsu@c4437bbc93e17ff1f63c241c12f53c31494a33d7
  • Fixed line skip test to pass using highlight webservice instead of locally installed pygments yumitsu@a789913b0ddadd1716cf197b4f1a95d05ae7117a
  • Added rake to gemspec, bumped version to 1.0.0 yumitsu@ca9ce7e45860a186ee923b515f4f3b25b3b36e53
  • All tests passed
  • Travis-CI log: Build Status

Kurtis Rainbolt-Greene and others added 16 commits January 10, 2012 07:15
Allow user to set encoding of files, transcoding to UTF-8

Ruby 1.9 is much more strict about encodings; instead of just reading bytes
into the string and hoping you know how to interpret it, it actually keeps
track of what encoding it expects the file and the string to be and
transcodes between them. This means that we can no longer just read in the
ISO-8859-1 as binary, and kind of hope that everything later on ignores it
or knows how to cope. Instead, we need to explicitly choose to read the
file as ISO-8859-1, and explicitly choose the encoding that we want the
string to be in.  We use UTF-8, because that's what Pygments and at least
some of the Markdown libraries are expecting.

Fixes: rtomayko#73 (fix rtomayko#73)
@krainboltgreene
Copy link

Thumbs up! Excellent work!

@yumitsu
Copy link
Author

yumitsu commented Jan 17, 2012

@krainboltgreene Thanks, Kurtis!

@JeanMertz
Copy link

Is there any reason why Rocco has been on 0.8.1 for so long while there are already a lot of pull requests (and the current version doesn't even work with Rails 3.2)? I know master works with 3.2 but I was just wondering...

@yumitsu
Copy link
Author

yumitsu commented Feb 5, 2012

@JeanMertz I think Ryan (@rtomayko) is busy because of other projects.
And why did you mentioned Rails?

@JeanMertz
Copy link

@yumitsu I mentioned it because - like I said - the latest stable gem seems to choke when using it with Rails 3.2 (or does it choke in Ruby 1.9.x?). Not sure exactly what happened, but I know i've been using the master version for some time now, because of this issue.

@yumitsu yumitsu closed this Aug 12, 2014
@yumitsu yumitsu deleted the 1.0-assembly branch August 12, 2014 17:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rocco ignores JS code/comments Unit test for ISO-8859-1 breaks under Ruby 1.9.3
4 participants