json_schema_builder 0.0.5 → 0.0.6

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.
@@ -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
- elseif defined?(Rails::Initializer)
8
- # Rails 2.3
7
+ else
9
8
  puts "== Hiccup ==\n"
10
- puts "Sorry Rails < 3 is not supported\n You can still write a schema by hand .. it's not that difficult.\n Btw. you should move to Rails 3 anyway!"
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
@@ -1,3 +1,3 @@
1
1
  module SchemaBuilder
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
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.5
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: 2701833476145455556
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: 2701833476145455556
192
+ hash: -51753238081111492
193
193
  requirements: []
194
194
  rubyforge_project:
195
195
  rubygems_version: 1.8.24