sinatra_more 0.3.12 → 0.3.13

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.12
1
+ 0.3.13
@@ -5,7 +5,7 @@ module SinatraMore
5
5
  # require_dependencies 'mocha', 'bacon', :env => :testing
6
6
  def require_dependencies(*gem_names)
7
7
  options = gem_names.extract_options!
8
- gem_names.each { |lib| insert_into_gemfile(lib, options) }
8
+ gem_names.reverse.each { |lib| insert_into_gemfile(lib, options) }
9
9
  end
10
10
 
11
11
  # Inserts a required gem into the Gemfile to add the bundler dependency
@@ -44,7 +44,7 @@ User.auto_upgrade!
44
44
  USER
45
45
 
46
46
  def setup_orm
47
- require_dependencies 'dm-core'
47
+ require_dependencies 'dm-core', 'dm-validations'
48
48
  create_file("config/initializers/data_mapper.rb", DM)
49
49
  create_file("app/models/user.rb", USER)
50
50
  end
data/sinatra_more.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{sinatra_more}
8
- s.version = "0.3.12"
8
+ s.version = "0.3.13"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Nathan Esquenazi"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra_more
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.12
4
+ version: 0.3.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Esquenazi