sequel-rails 0.4.0.pre → 0.4.0.pre1

Sign up to get free protection for your applications and to get access to all the features.
data/History.md CHANGED
@@ -1,3 +1,8 @@
1
+ 0.4.0.pre1
2
+ ==========
3
+
4
+ * Fix `rake db:drop` and `rake db:schema:load` tasks (Thiago Pradi)
5
+
1
6
  0.4.0.pre
2
7
  ==========
3
8
 
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  sequel-rails
2
2
  ============
3
3
 
4
+ [![Build Status](https://travis-ci.org/TalentBox/sequel-rails.png?branch=master)](https://travis-ci.org/TalentBox/sequel-rails)
5
+
4
6
  This gem provides the railtie that allows [sequel](http://github.com/jeremyevans/sequel) to hook into [rails3](http://github.com/rails/rails) and thus behave like a rails framework component. Just like activerecord does in rails, [sequel-rails](http://github.com/talentbox/sequel-rails) uses the railtie API to hook into rails. The two are actually hooked into rails almost identically.
5
7
 
6
8
  The code for this gem was initially taken from the excellent [dm-rails](http://github.com/datamapper/dm-rails) project.
@@ -112,6 +114,7 @@ Improvements has been made by those awesome contributors:
112
114
  * Gabor Ratky (rgabo)
113
115
  * Joshua Hansen (binarypaladin)
114
116
  * Arron Washington (radicaled)
117
+ * Thiago Pradi (tchandy)
115
118
 
116
119
  Credits
117
120
  =======
@@ -34,7 +34,7 @@ namespace :db do
34
34
  if File.exists?(file)
35
35
  require 'sequel/extensions/migration'
36
36
  load(file)
37
- SequelRails::Migration.descendants.first.apply(db_for_current_env, :up)
37
+ ::Sequel::Migration.descendants.first.apply(db_for_current_env, :up)
38
38
  else
39
39
  abort %{#{file} doesn't exist yet. Run "rake db:migrate" to create it then try again. If you do not intend to use a database, you should instead alter #{Rails.root}/config/boot.rb to limit the frameworks that will be loaded}
40
40
  end
@@ -66,7 +66,7 @@ namespace :db do
66
66
  task :drop, [:env] => :environment do |t, args|
67
67
  args.with_defaults(:env => Rails.env)
68
68
 
69
- Rails::Sequel::Storage.adapter_for(args.env).drop
69
+ SequelRails::Storage.adapter_for(args.env).drop
70
70
  end
71
71
 
72
72
  namespace :migrate do
@@ -1,3 +1,3 @@
1
1
  module SequelRails
2
- VERSION = "0.4.0.pre"
2
+ VERSION = "0.4.0.pre1"
3
3
  end
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sequel-rails
3
3
  version: !ruby/object:Gem::Version
4
+ version: 0.4.0.pre1
4
5
  prerelease: 6
5
- version: 0.4.0.pre
6
6
  platform: ruby
7
7
  authors:
8
8
  - Brasten Sager (brasten)
@@ -10,104 +10,104 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-01-04 00:00:00.000000000 Z
13
+ date: 2013-01-07 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
- version_requirements: !ruby/object:Gem::Requirement
17
- requirements:
18
- - - ~>
19
- - !ruby/object:Gem::Version
20
- version: '3.28'
21
- none: false
22
- prerelease: false
23
16
  name: sequel
24
17
  requirement: !ruby/object:Gem::Requirement
18
+ none: false
25
19
  requirements:
26
20
  - - ~>
27
21
  - !ruby/object:Gem::Version
28
22
  version: '3.28'
29
- none: false
30
23
  type: :runtime
31
- - !ruby/object:Gem::Dependency
24
+ prerelease: false
32
25
  version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
33
27
  requirements:
34
28
  - - ~>
35
29
  - !ruby/object:Gem::Version
36
- version: 3.2.0
37
- none: false
38
- prerelease: false
30
+ version: '3.28'
31
+ - !ruby/object:Gem::Dependency
39
32
  name: railties
40
33
  requirement: !ruby/object:Gem::Requirement
34
+ none: false
41
35
  requirements:
42
36
  - - ~>
43
37
  - !ruby/object:Gem::Version
44
38
  version: 3.2.0
45
- none: false
46
39
  type: :runtime
47
- - !ruby/object:Gem::Dependency
40
+ prerelease: false
48
41
  version_requirements: !ruby/object:Gem::Requirement
42
+ none: false
49
43
  requirements:
50
- - - ! '>='
44
+ - - ~>
51
45
  - !ruby/object:Gem::Version
52
- version: 0.8.7
53
- none: false
54
- prerelease: false
46
+ version: 3.2.0
47
+ - !ruby/object:Gem::Dependency
55
48
  name: rake
56
49
  requirement: !ruby/object:Gem::Requirement
50
+ none: false
57
51
  requirements:
58
52
  - - ! '>='
59
53
  - !ruby/object:Gem::Version
60
54
  version: 0.8.7
61
- none: false
62
55
  type: :development
63
- - !ruby/object:Gem::Dependency
56
+ prerelease: false
64
57
  version_requirements: !ruby/object:Gem::Requirement
58
+ none: false
65
59
  requirements:
66
- - - ~>
60
+ - - ! '>='
67
61
  - !ruby/object:Gem::Version
68
- version: 2.7.0
69
- none: false
70
- prerelease: false
62
+ version: 0.8.7
63
+ - !ruby/object:Gem::Dependency
71
64
  name: rspec
72
65
  requirement: !ruby/object:Gem::Requirement
66
+ none: false
73
67
  requirements:
74
68
  - - ~>
75
69
  - !ruby/object:Gem::Version
76
70
  version: 2.7.0
77
- none: false
78
71
  type: :development
79
- - !ruby/object:Gem::Dependency
72
+ prerelease: false
80
73
  version_requirements: !ruby/object:Gem::Requirement
74
+ none: false
81
75
  requirements:
82
76
  - - ~>
83
77
  - !ruby/object:Gem::Version
84
- version: 0.3.1
85
- none: false
86
- prerelease: false
78
+ version: 2.7.0
79
+ - !ruby/object:Gem::Dependency
87
80
  name: combustion
88
81
  requirement: !ruby/object:Gem::Requirement
82
+ none: false
89
83
  requirements:
90
84
  - - ~>
91
85
  - !ruby/object:Gem::Version
92
86
  version: 0.3.1
93
- none: false
94
87
  type: :development
95
- - !ruby/object:Gem::Dependency
88
+ prerelease: false
96
89
  version_requirements: !ruby/object:Gem::Requirement
90
+ none: false
97
91
  requirements:
98
92
  - - ~>
99
93
  - !ruby/object:Gem::Version
100
- version: 0.8.7
101
- none: false
102
- prerelease: false
94
+ version: 0.3.1
95
+ - !ruby/object:Gem::Dependency
103
96
  name: generator_spec
104
97
  requirement: !ruby/object:Gem::Requirement
98
+ none: false
105
99
  requirements:
106
100
  - - ~>
107
101
  - !ruby/object:Gem::Version
108
102
  version: 0.8.7
109
- none: false
110
103
  type: :development
104
+ prerelease: false
105
+ version_requirements: !ruby/object:Gem::Requirement
106
+ none: false
107
+ requirements:
108
+ - - ~>
109
+ - !ruby/object:Gem::Version
110
+ version: 0.8.7
111
111
  description: Integrate Sequel with Rails 3
112
112
  email:
113
113
  - brasten@gmail.com
@@ -176,20 +176,20 @@ rdoc_options:
176
176
  require_paths:
177
177
  - lib
178
178
  required_ruby_version: !ruby/object:Gem::Requirement
179
+ none: false
179
180
  requirements:
180
181
  - - ! '>='
181
182
  - !ruby/object:Gem::Version
182
183
  version: '0'
183
184
  segments:
184
185
  - 0
185
- hash: -1243340973775296228
186
- none: false
186
+ hash: -1196153117723463501
187
187
  required_rubygems_version: !ruby/object:Gem::Requirement
188
+ none: false
188
189
  requirements:
189
190
  - - ! '>'
190
191
  - !ruby/object:Gem::Version
191
192
  version: 1.3.1
192
- none: false
193
193
  requirements: []
194
194
  rubyforge_project:
195
195
  rubygems_version: 1.8.24