rich 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +3 -1
- data/lib/rich.rb +1 -1
- data/lib/rich/version.rb +1 -1
- metadata +4 -4
data/README.rdoc
CHANGED
|
@@ -19,7 +19,9 @@ It should be noted that while a major point of this project was to remove many t
|
|
|
19
19
|
Rich is available as a Ruby Gem, which makes installation very easy.
|
|
20
20
|
|
|
21
21
|
# In your Gemfile (Rails >= 3.1)
|
|
22
|
-
gem 'rich'
|
|
22
|
+
gem 'rich'
|
|
23
|
+
# the edge (unstable) version can be had using:
|
|
24
|
+
# gem 'rich', :git => 'https://github.com/bastiaanterhorst/rich.git'
|
|
23
25
|
|
|
24
26
|
After updating your bundle, run the installer.
|
|
25
27
|
|
data/lib/rich.rb
CHANGED
|
@@ -52,7 +52,7 @@ module Rich
|
|
|
52
52
|
# If we're dealing with Formtastic 1.x
|
|
53
53
|
if Object.const_defined?("Formtastic")
|
|
54
54
|
if(Gem.loaded_specs["formtastic"].version.version[0,1] == "1")
|
|
55
|
-
Formtastic::SemanticFormHelper.builder = Rich::
|
|
55
|
+
Formtastic::SemanticFormHelper.builder = Rich::FormBuilder
|
|
56
56
|
::Formtastic::SemanticFormBuilder.send :include, Rich::FormtasticBuilder
|
|
57
57
|
end
|
|
58
58
|
end
|
data/lib/rich/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rich
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 27
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 2
|
|
10
|
+
version: 0.0.2
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Bastiaan Terhorst
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-10-
|
|
18
|
+
date: 2011-10-20 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
name: rails
|