json_schema_builder 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/schema_builder/tasks.rb +2 -3
- data/lib/schema_builder/version.rb +1 -1
- metadata +3 -3
data/lib/schema_builder/tasks.rb
CHANGED
@@ -4,10 +4,9 @@ namespace :schema do
|
|
4
4
|
task :build do |t,args|
|
5
5
|
if defined?(Rails) && Rails.respond_to?(:application)
|
6
6
|
Rails.application.initialize!
|
7
|
-
|
8
|
-
# Rails 2.3
|
7
|
+
else
|
9
8
|
puts "== Hiccup ==\n"
|
10
|
-
puts "Sorry
|
9
|
+
puts "Sorry cannot find a Rails 3.+ app.\n You can still write a schema by hand .. it's not that difficult.\n Btw. you should move to Rails 3 anyway!"
|
11
10
|
next
|
12
11
|
end
|
13
12
|
builder = SchemaBuilder::Writer.new
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: json_schema_builder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -180,7 +180,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
180
180
|
version: '0'
|
181
181
|
segments:
|
182
182
|
- 0
|
183
|
-
hash:
|
183
|
+
hash: -51753238081111492
|
184
184
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
185
185
|
none: false
|
186
186
|
requirements:
|
@@ -189,7 +189,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
189
189
|
version: '0'
|
190
190
|
segments:
|
191
191
|
- 0
|
192
|
-
hash:
|
192
|
+
hash: -51753238081111492
|
193
193
|
requirements: []
|
194
194
|
rubyforge_project:
|
195
195
|
rubygems_version: 1.8.24
|