schema_plus_default_expr 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
- SHA1:
3
- metadata.gz: 46822d03ac2e3f6a2251dc59ba654e5f0181df8e
4
- data.tar.gz: 9ad28e0665f3ca74133da292e752d763e8c806d5
2
+ SHA256:
3
+ metadata.gz: 7ff892c4ad063d119653a4e418978a1c117e27d6739e8f3af0f239a14b32f06a
4
+ data.tar.gz: 97f22e7cab23b4bf56f78d9be3afd90c580b4518d8f75ee61ce80c3fcfc942d4
5
5
  SHA512:
6
- metadata.gz: 60984075b8d0c18a040075b45afc7ba4638fe53eca2441726733276d0f7148daa9cbf0432c54a10d9a4297d6ada7bc2f469c10026943824c7d2359467ab14ee2
7
- data.tar.gz: b5b45b622fc4bd0363ed01702d4d6d56eed405291d7885d6685bbc3ab218aaff11a92710e6c2909d62878d836bc94c1d2bc1ffa3c764574d02272e691a8d432a
6
+ metadata.gz: 37acbb1a0be5e957417a613deacdd4f473b47f0a06da74b4e1beeab304a122a71f0cd58e42a4bf4ce7e7ca6979690767927bd870c85de33cd5fec881fcd6b438
7
+ data.tar.gz: c802ba6f4c06461d7c76ce6a2d074814007455a1aafeceded2e201d809a51614acff8745e7fdf2b6868759f6582b5b2eca6ca4b7b77420e9ffa8699672476b6b
@@ -5,10 +5,16 @@
5
5
  ---
6
6
  sudo: false
7
7
  rvm:
8
- - 2.1.5
8
+ - 2.3.1
9
9
  gemfile:
10
10
  - gemfiles/activerecord-4.2/Gemfile.postgresql
11
11
  - gemfiles/activerecord-4.2/Gemfile.sqlite3
12
+ - gemfiles/activerecord-5.0/Gemfile.postgresql
13
+ - gemfiles/activerecord-5.0/Gemfile.sqlite3
14
+ - gemfiles/activerecord-5.1/Gemfile.postgresql
15
+ - gemfiles/activerecord-5.1/Gemfile.sqlite3
16
+ - gemfiles/activerecord-5.2/Gemfile.postgresql
17
+ - gemfiles/activerecord-5.2/Gemfile.sqlite3
12
18
  env: POSTGRESQL_DB_USER=postgres
13
19
  addons:
14
20
  postgresql: '9.4'
data/README.md CHANGED
@@ -30,7 +30,10 @@ SchemaPlus::DefaultExpr is tested on:
30
30
 
31
31
  <!-- SCHEMA_DEV: MATRIX - begin -->
32
32
  <!-- These lines are auto-generated by schema_dev based on schema_dev.yml -->
33
- * ruby **2.1.5** with activerecord **4.2**, using **sqlite3** and **postgresql**
33
+ * ruby **2.3.1** with activerecord **4.2**, using **sqlite3** and **postgresql**
34
+ * ruby **2.3.1** with activerecord **5.0**, using **sqlite3** and **postgresql**
35
+ * ruby **2.3.1** with activerecord **5.1**, using **sqlite3** and **postgresql**
36
+ * ruby **2.3.1** with activerecord **5.2**, using **sqlite3** and **postgresql**
34
37
 
35
38
  <!-- SCHEMA_DEV: MATRIX - end -->
36
39
 
@@ -67,6 +70,7 @@ If you are using Postgresql with a `json` column, ActiveRecord allows you to use
67
70
 
68
71
  ## History
69
72
 
73
+ * 0.1.5 - Compatibility with AR 5.2.
70
74
  * 0.1.4 - Compatibility with AR 5. Thanks to [@pedantic-git](https://github.com/pedantic-git)
71
75
  * 0.1.3 - Missing require
72
76
  * 0.1.2 - Explicit gem dependencies
@@ -2,9 +2,9 @@ require "pathname"
2
2
  eval(Pathname.new(__FILE__).dirname.join("Gemfile.base").read, binding)
3
3
 
4
4
  platform :ruby do
5
- gem "pg"
5
+ gem "pg", "< 1"
6
6
  end
7
7
 
8
8
  platform :jruby do
9
9
  gem 'activerecord-jdbcpostgresql-adapter'
10
- end
10
+ end
@@ -0,0 +1,3 @@
1
+ eval File.read File.expand_path('../../Gemfile.base', __FILE__)
2
+
3
+ gem "activerecord", "~> 5.0.1"
@@ -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", "< 1"
6
+ end
7
+
8
+ platform :jruby do
9
+ gem 'activerecord-jdbcpostgresql-adapter'
10
+ end
@@ -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 "sqlite3"
6
+ end
7
+
8
+ platform :jruby do
9
+ gem 'activerecord-jdbcsqlite3-adapter', '>=1.3.0.beta2'
10
+ end
@@ -0,0 +1,3 @@
1
+ eval File.read File.expand_path('../../Gemfile.base', __FILE__)
2
+
3
+ gem "activerecord", "~> 5.1.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", "< 1"
6
+ end
7
+
8
+ platform :jruby do
9
+ gem 'activerecord-jdbcpostgresql-adapter'
10
+ end
@@ -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 "sqlite3"
6
+ end
7
+
8
+ platform :jruby do
9
+ gem 'activerecord-jdbcsqlite3-adapter', '>=1.3.0.beta2'
10
+ end
@@ -0,0 +1,3 @@
1
+ eval File.read File.expand_path('../../Gemfile.base', __FILE__)
2
+
3
+ gem "activerecord", ">= 5.2.0.beta0", "< 5.3"
@@ -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
@@ -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 "sqlite3"
6
+ end
7
+
8
+ platform :jruby do
9
+ gem 'activerecord-jdbcsqlite3-adapter', '>=1.3.0.beta2'
10
+ end
@@ -1,5 +1,5 @@
1
1
  module SchemaPlus
2
2
  module DefaultExpr
3
- VERSION = "0.1.4"
3
+ VERSION = "0.1.5"
4
4
  end
5
5
  end
@@ -1,7 +1,10 @@
1
1
  ruby:
2
- - 2.1.5
2
+ - 2.3.1
3
3
  activerecord:
4
4
  - 4.2
5
+ - 5.0
6
+ - 5.1
7
+ - 5.2
5
8
  db:
6
9
  - sqlite3
7
10
  - postgresql
@@ -18,7 +18,7 @@ Gem::Specification.new do |gem|
18
18
  gem.require_paths = ["lib"]
19
19
 
20
20
  gem.add_dependency "activerecord", ">= 4.2", "< 6.0"
21
- gem.add_dependency "schema_plus_core", ">= 1.0", "< 3.0"
21
+ gem.add_dependency "schema_plus_core"
22
22
  gem.add_dependency "its-it", "~> 1.2"
23
23
 
24
24
  gem.add_development_dependency "bundler", "~> 1.7"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: schema_plus_default_expr
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-10-28 00:00:00.000000000 Z
11
+ date: 2018-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -36,20 +36,14 @@ dependencies:
36
36
  requirements:
37
37
  - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: '1.0'
40
- - - "<"
41
- - !ruby/object:Gem::Version
42
- version: '3.0'
39
+ version: '0'
43
40
  type: :runtime
44
41
  prerelease: false
45
42
  version_requirements: !ruby/object:Gem::Requirement
46
43
  requirements:
47
44
  - - ">="
48
45
  - !ruby/object:Gem::Version
49
- version: '1.0'
50
- - - "<"
51
- - !ruby/object:Gem::Version
52
- version: '3.0'
46
+ version: '0'
53
47
  - !ruby/object:Gem::Dependency
54
48
  name: its-it
55
49
  requirement: !ruby/object:Gem::Requirement
@@ -165,6 +159,15 @@ files:
165
159
  - gemfiles/activerecord-4.2/Gemfile.base
166
160
  - gemfiles/activerecord-4.2/Gemfile.postgresql
167
161
  - gemfiles/activerecord-4.2/Gemfile.sqlite3
162
+ - gemfiles/activerecord-5.0/Gemfile.base
163
+ - gemfiles/activerecord-5.0/Gemfile.postgresql
164
+ - gemfiles/activerecord-5.0/Gemfile.sqlite3
165
+ - gemfiles/activerecord-5.1/Gemfile.base
166
+ - gemfiles/activerecord-5.1/Gemfile.postgresql
167
+ - gemfiles/activerecord-5.1/Gemfile.sqlite3
168
+ - gemfiles/activerecord-5.2/Gemfile.base
169
+ - gemfiles/activerecord-5.2/Gemfile.postgresql
170
+ - gemfiles/activerecord-5.2/Gemfile.sqlite3
168
171
  - lib/schema_plus/default_expr.rb
169
172
  - lib/schema_plus/default_expr/active_record/connection_adapters/abstract_adapter.rb
170
173
  - lib/schema_plus/default_expr/active_record/connection_adapters/column.rb
@@ -199,7 +202,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
199
202
  version: '0'
200
203
  requirements: []
201
204
  rubyforge_project:
202
- rubygems_version: 2.5.1
205
+ rubygems_version: 2.7.8
203
206
  signing_key:
204
207
  specification_version: 4
205
208
  summary: Extends ActiveRecord migrations to allow an SQL expression for the default