railroady 0.11.2 → 0.11.3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.rdoc CHANGED
@@ -1,5 +1,9 @@
1
1
  = Changes
2
2
 
3
+ == Version 0.11.3
4
+ - Merge in bug fix and test cases from Tim Harvey. (Thanks!)
5
+ - Documentation updates.
6
+
3
7
  == Version 0.11.2
4
8
  - Bugfix for including gem version number in generated documents.
5
9
  - Gem meta-data fixes.
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 11
4
- :patch: 2
4
+ :patch: 3
5
5
  :build:
@@ -8,11 +8,11 @@ require 'railroady/diagram_graph'
8
8
 
9
9
  # camelize and constantize methods brought over from active_support
10
10
  class String
11
- def camelize(first_letter_in_uppercase = true)
12
- if first_letter_in_uppercase
11
+ def camelize(first_letter = :upper)
12
+ if first_letter == :upper
13
13
  self.to_s.gsub(/\/(.?)/) { "::" + $1.upcase }.gsub(/(^|_)(.)/) { $2.upcase }
14
14
  else
15
- self.first + self.camelize[1..-1]
15
+ self.to_s[0].chr.downcase + self.camelize[1..-1]
16
16
  end
17
17
  end
18
18
  def constantize
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 11
8
- - 2
9
- version: 0.11.2
8
+ - 3
9
+ version: 0.11.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Preston Lee
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2010-11-18 00:00:00 -07:00
20
+ date: 2011-01-20 00:00:00 -07:00
21
21
  default_executable: railroady
22
22
  dependencies: []
23
23