schema_plus_enums 0.1.4 → 0.1.5

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
2
  SHA1:
3
- metadata.gz: 92469e672c8e3884bcf7ca2cfb6694b35e634b41
4
- data.tar.gz: 483c53d73af79bee5d6ac3a3474ef3ea34abe941
3
+ metadata.gz: 398a9dc62bb516ea3453121de30a96c0140cb2a9
4
+ data.tar.gz: 2508c8999e02b278a1e5875c7e40d96bcb957d16
5
5
  SHA512:
6
- metadata.gz: cb9c027a55f834bb9f260785d3c3168973a4f1c3c9727a8437e0b8c57b7635c027fea57e548ff67ccf9b56d41e74f4bee1646762052a3c0bc601b95549ab8cb2
7
- data.tar.gz: 0de440fa0ea09b4d6ea7496572b1256c60db21e2fc56e405c5c8dd11b4204d630d2b066754da8533a869f35507f41928aa2deb656fc1f156c4122caafe1c5d32
6
+ metadata.gz: 6985cef2ba038f80a8a649c771ade02cf6077d614f8eca7ad9901b7c517a2069c85d39d5e9bc74356ae17af7efcc4bb95daadb8143ffe19b6f5cb93a870d52f3
7
+ data.tar.gz: f973dd9742c0455f8037f5a5db9e06b761f90bf9bf0c8e88e95044bd3b3425c8c421790ea05b443806bbe165a0a164d8aff5b1f89661c65bb7784d182be1ab80
@@ -5,9 +5,11 @@
5
5
  ---
6
6
  sudo: false
7
7
  rvm:
8
- - 2.1.5
8
+ - 2.2.5
9
+ - 2.3.1
9
10
  gemfile:
10
11
  - gemfiles/activerecord-4.2/Gemfile.postgresql
12
+ - gemfiles/activerecord-5.0/Gemfile.postgresql
11
13
  env: POSTGRESQL_DB_USER=postgres
12
14
  addons:
13
15
  postgresql: '9.4'
data/README.md CHANGED
@@ -29,7 +29,10 @@ SchemaPlus::Enums is tested on:
29
29
 
30
30
  <!-- SCHEMA_DEV: MATRIX - begin -->
31
31
  <!-- These lines are auto-generated by schema_dev based on schema_dev.yml -->
32
- * ruby **2.1.5** with activerecord **4.2**, using **postgresql**
32
+ * ruby **2.2.5** with activerecord **4.2**, using **postgresql**
33
+ * ruby **2.2.5** with activerecord **5.0**, using **postgresql**
34
+ * ruby **2.3.1** with activerecord **4.2**, using **postgresql**
35
+ * ruby **2.3.1** with activerecord **5.0**, using **postgresql**
33
36
 
34
37
  <!-- SCHEMA_DEV: MATRIX - end -->
35
38
 
@@ -59,9 +62,9 @@ drop_enum :color
59
62
  drop_enum :color, schema: 'cmyk'
60
63
  ```
61
64
 
62
-
63
65
  ## History
64
66
 
67
+ * 0.1.5 - Update dependencies to include AR 5.0. Thanks to [@jimcavoli](https://github.com/jimcavoli)
65
68
  * 0.1.4 - Missing require
66
69
  * 0.1.3 - Explicit gem dependencies
67
70
  * 0.1.2 - Upgrade schema_plus_core dependency
@@ -0,0 +1,3 @@
1
+ eval File.read File.expand_path('../../Gemfile.base', __FILE__)
2
+
3
+ gem "activerecord", "~> 5.0.0"
@@ -0,0 +1,10 @@
1
+ require "pathname"
2
+ eval(Pathname.new(__FILE__).dirname.join("Gemfile.base").read, binding)
3
+
4
+ platform :ruby do
5
+ gem "pg"
6
+ end
7
+
8
+ platform :jruby do
9
+ gem 'activerecord-jdbcpostgresql-adapter'
10
+ end
@@ -1,5 +1,5 @@
1
1
  module SchemaPlus
2
2
  module Enums
3
- VERSION = "0.1.4"
3
+ VERSION = "0.1.5"
4
4
  end
5
5
  end
@@ -1,6 +1,8 @@
1
1
  ruby:
2
- - 2.1.5
2
+ - 2.2.5
3
+ - 2.3.1
3
4
  activerecord:
4
5
  - 4.2
6
+ - 5.0
5
7
  db:
6
8
  - postgresql
@@ -18,8 +18,8 @@ Gem::Specification.new do |gem|
18
18
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
19
19
  gem.require_paths = ["lib"]
20
20
 
21
- gem.add_dependency "activerecord", "~> 4.2"
22
- gem.add_dependency "schema_plus_core", "~> 1.0"
21
+ gem.add_dependency "activerecord", ">= 4.2", "< 5.1"
22
+ gem.add_dependency "schema_plus_core"
23
23
  gem.add_dependency "its-it", "~> 1.2"
24
24
 
25
25
  gem.add_development_dependency "bundler", "~> 1.7"
metadata CHANGED
@@ -1,43 +1,49 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: schema_plus_enums
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - ronen barzel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-27 00:00:00.000000000 Z
11
+ date: 2016-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '4.2'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '5.1'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: '4.2'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '5.1'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: schema_plus_core
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
- - - "~>"
37
+ - - ">="
32
38
  - !ruby/object:Gem::Version
33
- version: '1.0'
39
+ version: '0'
34
40
  type: :runtime
35
41
  prerelease: false
36
42
  version_requirements: !ruby/object:Gem::Requirement
37
43
  requirements:
38
- - - "~>"
44
+ - - ">="
39
45
  - !ruby/object:Gem::Version
40
- version: '1.0'
46
+ version: '0'
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: its-it
43
49
  requirement: !ruby/object:Gem::Requirement
@@ -152,6 +158,8 @@ files:
152
158
  - gemfiles/Gemfile.base
153
159
  - gemfiles/activerecord-4.2/Gemfile.base
154
160
  - gemfiles/activerecord-4.2/Gemfile.postgresql
161
+ - gemfiles/activerecord-5.0/Gemfile.base
162
+ - gemfiles/activerecord-5.0/Gemfile.postgresql
155
163
  - lib/schema_plus/enums.rb
156
164
  - lib/schema_plus/enums/active_record.rb
157
165
  - lib/schema_plus/enums/middleware.rb
@@ -182,7 +190,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
182
190
  version: '0'
183
191
  requirements: []
184
192
  rubyforge_project:
185
- rubygems_version: 2.2.2
193
+ rubygems_version: 2.5.1
186
194
  signing_key:
187
195
  specification_version: 4
188
196
  summary: Adds support for enum data types in ActiveRecord