statesman-sequel 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: b05a7034b18e128887bc0f807e5cf35490b491d2
4
- data.tar.gz: d7c34b49ec10e3ea435702b56e517f1ddc3bc3a0
2
+ SHA256:
3
+ metadata.gz: a5314d6006f7ddfb9e9f3141111ba21084a9ba69d2d243de4c49ae259a3e4ab7
4
+ data.tar.gz: 3cd5e3fd0e0b20dfada9c0061fa19c92ae02fd03b0b0349a125e2b8f33fef9da
5
5
  SHA512:
6
- metadata.gz: 5f5b63f2d1686d0cdd2a6f8d346517fd6b2e17462dffba52f356ddf340ce62a2d52c682fba6982468fbcd5bc6b5bdde0ae43e72c713ad986824a28a64c40cc26
7
- data.tar.gz: 5a6d02d9c16586da30e18cbae83af7ca373cfca99da847094564493d742b3b8cb634fa41a0e74f11738f872f08731d9b97fcb4ba3e99f7a0ac97daa1aeaa9bc2
6
+ metadata.gz: 18ee83fb56db08045b6dd92de1009e5b43cac501585da427c3a69ab70121143dd4c9158ef7bee8fb21f3c59fcf31d180d28b44f7eaa0e3f145c546f3bfef434e
7
+ data.tar.gz: 32de52255b746a99d050a1a7e2fb49d44c6742d292c1ec371002f15c90bf0da9fde2f4ed4f8256af9de81e1ff4554920c727dc1e9162fda93be2609c67b0e8c3
@@ -0,0 +1 @@
1
+ pkg
@@ -1,27 +1,25 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- statesman-sequel (0.1.0)
5
- sequel (~> 4.0)
6
- statesman (~> 2.0)
4
+ statesman-sequel (0.2.0)
5
+ sequel (>= 4, < 6)
6
+ statesman (>= 3.4, < 4)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- coderay (1.1.1)
12
- method_source (0.8.2)
13
- minitest (5.10.1)
14
- minitest-hooks (1.4.0)
15
- pry (0.10.4)
11
+ coderay (1.1.2)
12
+ method_source (0.9.0)
13
+ minitest (5.11.3)
14
+ minitest-hooks (1.4.2)
15
+ pry (0.11.3)
16
16
  coderay (~> 1.1.0)
17
- method_source (~> 0.8.1)
18
- slop (~> 3.4)
17
+ method_source (~> 0.9.0)
19
18
  rake (10.5.0)
20
- rb-readline (0.5.3)
21
- sequel (4.41.0)
22
- slop (3.6.0)
23
- sqlite3 (1.3.12)
24
- statesman (2.0.1)
19
+ rb-readline (0.5.5)
20
+ sequel (5.8.0)
21
+ sqlite3 (1.3.13)
22
+ statesman (3.4.1)
25
23
 
26
24
  PLATFORMS
27
25
  ruby
@@ -37,4 +35,4 @@ DEPENDENCIES
37
35
  statesman-sequel!
38
36
 
39
37
  BUNDLED WITH
40
- 1.12.5
38
+ 1.16.1
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Sequel Statesman
2
2
 
3
- Ships Sequel adapter and a Sequel plugin for Statesman
3
+ Ships [Sequel](https://github.com/jeremyevans/sequel) adapters and plugins for [Statesman](https://github.com/gocardless/statesman)
4
4
 
5
5
  ## Regular Configuration
6
6
 
@@ -84,7 +84,9 @@ end
84
84
 
85
85
  If you want to use your database support for json on the `metadata` column,
86
86
  just don't include `SequelTransition` on your transition model and also
87
- perform the adjusts on the migration
87
+ perform the adjusts on the migration.
88
+
89
+ For Postgres check the [pg\_json extension](http://sequel.jeremyevans.net/rdoc-plugins/files/lib/sequel/extensions/pg_json_rb.html).
88
90
 
89
91
  ## Sequel Plugin
90
92
 
@@ -166,6 +168,10 @@ require 'sequel/plugins/statesman_timestamps'
166
168
  Sequel::Plugins::StatesmanTimestamps.configure! created: :creation_date
167
169
  ```
168
170
 
171
+ ## Credit
172
+
173
+ This gem was born from [this PR](https://github.com/gocardless/statesman/pull/152) from [@appleton](https://github.com/appleton). Thanks!
174
+
169
175
  ## Contributing
170
176
 
171
177
  Bug reports and pull requests are welcome on GitHub at https://github.com/badosu/statesman-sequel
@@ -1,3 +1,3 @@
1
1
  module StatesmanSequel
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
@@ -21,8 +21,8 @@ Gem::Specification.new do |spec|
21
21
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
22
  spec.require_paths = ["lib"]
23
23
 
24
- spec.add_dependency "sequel", "~> 4.0"
25
- spec.add_dependency "statesman", "~> 2.0"
24
+ spec.add_dependency "sequel", ">= 4", "< 6"
25
+ spec.add_dependency "statesman", ">= 3.4", "< 4"
26
26
  spec.add_development_dependency "bundler", "~> 1.11"
27
27
  spec.add_development_dependency "rake", "~> 10.0"
28
28
  spec.add_development_dependency "minitest", "~> 5.0"
metadata CHANGED
@@ -1,43 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: statesman-sequel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amadeus Folego
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-12-21 00:00:00.000000000 Z
11
+ date: 2018-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sequel
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '4'
20
+ - - "<"
18
21
  - !ruby/object:Gem::Version
19
- version: '4.0'
22
+ version: '6'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '4'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '4.0'
32
+ version: '6'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: statesman
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
- - - "~>"
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '3.4'
40
+ - - "<"
32
41
  - !ruby/object:Gem::Version
33
- version: '2.0'
42
+ version: '4'
34
43
  type: :runtime
35
44
  prerelease: false
36
45
  version_requirements: !ruby/object:Gem::Requirement
37
46
  requirements:
38
- - - "~>"
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: '3.4'
50
+ - - "<"
39
51
  - !ruby/object:Gem::Version
40
- version: '2.0'
52
+ version: '4'
41
53
  - !ruby/object:Gem::Dependency
42
54
  name: bundler
43
55
  requirement: !ruby/object:Gem::Requirement
@@ -143,6 +155,7 @@ executables: []
143
155
  extensions: []
144
156
  extra_rdoc_files: []
145
157
  files:
158
+ - ".gitignore"
146
159
  - Gemfile
147
160
  - Gemfile.lock
148
161
  - LICENSE.txt
@@ -176,7 +189,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
176
189
  version: '0'
177
190
  requirements: []
178
191
  rubyforge_project:
179
- rubygems_version: 2.5.1
192
+ rubygems_version: 2.7.3
180
193
  signing_key:
181
194
  specification_version: 4
182
195
  summary: Statesman adapter and plugin for Sequel