active_record_upsert 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -2
- data/active_record_upsert.gemspec +5 -5
- data/lib/active_record_upsert/version.rb +1 -1
- metadata +36 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 385757b53b221b5a937972a8fae3fddc3b8d7961
|
4
|
+
data.tar.gz: 85c767dfb3b0256dc87e0957067d7324fca7239e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d37843428c375432fe428096d17d9e9aa5f3c7cb5a866eb0b28a3956d5bcb79db515b6941212eaae67b9b8c2df1f4667e5c7e307f375d8d233754bfaaa3c39df
|
7
|
+
data.tar.gz: 6a47e3bfb52cd8fa1ea29650c044fa8d747e1c9ec695e54c6ed4146bafb08572fc377393d57a333fe248dd433eb621a2a875ef6618f012fd1aae49797a7625b0
|
data/README.md
CHANGED
@@ -62,8 +62,7 @@ r.upsert
|
|
62
62
|
Make sure to have an upsert_test database:
|
63
63
|
|
64
64
|
```shell
|
65
|
-
|
66
|
-
DATABASE_URL=postgresql://localhost/upsert_test RAILS_ENV=test bundle exec rake db:create db:migrate
|
65
|
+
bin/run_rails.sh db:create db:migrate DATABASE_URL=postgresql://localhost/upsert_test
|
67
66
|
```
|
68
67
|
|
69
68
|
Then run `rspec`.
|
@@ -17,16 +17,16 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
18
18
|
spec.require_paths = ["lib"]
|
19
19
|
|
20
|
-
spec.add_runtime_dependency 'activerecord', '
|
20
|
+
spec.add_runtime_dependency 'activerecord', '>= 5.0', '< 5.1'
|
21
21
|
spec.add_runtime_dependency "arel", "~>7.0"
|
22
22
|
|
23
23
|
spec.platform = Gem::Platform::RUBY
|
24
24
|
spec.add_runtime_dependency 'pg', '~> 0.18'
|
25
25
|
|
26
|
-
spec.add_development_dependency "bundler", "
|
27
|
-
spec.add_development_dependency "rake", "
|
28
|
-
spec.add_development_dependency "rspec", "
|
26
|
+
spec.add_development_dependency "bundler", ">= 1.13"
|
27
|
+
spec.add_development_dependency "rake", ">= 10.0"
|
28
|
+
spec.add_development_dependency "rspec", ">= 3.0", "< 4"
|
29
29
|
spec.add_development_dependency "pry", "> 0"
|
30
30
|
spec.add_development_dependency "database_cleaner", "~> 1.5.3"
|
31
|
-
spec.add_development_dependency 'rails', '
|
31
|
+
spec.add_development_dependency 'rails', '>= 5.0', '< 5.1'
|
32
32
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_record_upsert
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jesper Josefsson
|
@@ -9,22 +9,28 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-10-
|
12
|
+
date: 2016-10-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - "
|
18
|
+
- - ">="
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '5.0'
|
21
|
+
- - "<"
|
19
22
|
- !ruby/object:Gem::Version
|
20
|
-
version: 5.
|
23
|
+
version: '5.1'
|
21
24
|
type: :runtime
|
22
25
|
prerelease: false
|
23
26
|
version_requirements: !ruby/object:Gem::Requirement
|
24
27
|
requirements:
|
25
|
-
- - "
|
28
|
+
- - ">="
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: '5.0'
|
31
|
+
- - "<"
|
26
32
|
- !ruby/object:Gem::Version
|
27
|
-
version: 5.
|
33
|
+
version: '5.1'
|
28
34
|
- !ruby/object:Gem::Dependency
|
29
35
|
name: arel
|
30
36
|
requirement: !ruby/object:Gem::Requirement
|
@@ -57,44 +63,50 @@ dependencies:
|
|
57
63
|
name: bundler
|
58
64
|
requirement: !ruby/object:Gem::Requirement
|
59
65
|
requirements:
|
60
|
-
- - "
|
66
|
+
- - ">="
|
61
67
|
- !ruby/object:Gem::Version
|
62
|
-
version: '1.
|
68
|
+
version: '1.13'
|
63
69
|
type: :development
|
64
70
|
prerelease: false
|
65
71
|
version_requirements: !ruby/object:Gem::Requirement
|
66
72
|
requirements:
|
67
|
-
- - "
|
73
|
+
- - ">="
|
68
74
|
- !ruby/object:Gem::Version
|
69
|
-
version: '1.
|
75
|
+
version: '1.13'
|
70
76
|
- !ruby/object:Gem::Dependency
|
71
77
|
name: rake
|
72
78
|
requirement: !ruby/object:Gem::Requirement
|
73
79
|
requirements:
|
74
|
-
- - "
|
80
|
+
- - ">="
|
75
81
|
- !ruby/object:Gem::Version
|
76
82
|
version: '10.0'
|
77
83
|
type: :development
|
78
84
|
prerelease: false
|
79
85
|
version_requirements: !ruby/object:Gem::Requirement
|
80
86
|
requirements:
|
81
|
-
- - "
|
87
|
+
- - ">="
|
82
88
|
- !ruby/object:Gem::Version
|
83
89
|
version: '10.0'
|
84
90
|
- !ruby/object:Gem::Dependency
|
85
91
|
name: rspec
|
86
92
|
requirement: !ruby/object:Gem::Requirement
|
87
93
|
requirements:
|
88
|
-
- - "
|
94
|
+
- - ">="
|
89
95
|
- !ruby/object:Gem::Version
|
90
96
|
version: '3.0'
|
97
|
+
- - "<"
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '4'
|
91
100
|
type: :development
|
92
101
|
prerelease: false
|
93
102
|
version_requirements: !ruby/object:Gem::Requirement
|
94
103
|
requirements:
|
95
|
-
- - "
|
104
|
+
- - ">="
|
96
105
|
- !ruby/object:Gem::Version
|
97
106
|
version: '3.0'
|
107
|
+
- - "<"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '4'
|
98
110
|
- !ruby/object:Gem::Dependency
|
99
111
|
name: pry
|
100
112
|
requirement: !ruby/object:Gem::Requirement
|
@@ -127,16 +139,22 @@ dependencies:
|
|
127
139
|
name: rails
|
128
140
|
requirement: !ruby/object:Gem::Requirement
|
129
141
|
requirements:
|
130
|
-
- - "
|
142
|
+
- - ">="
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: '5.0'
|
145
|
+
- - "<"
|
131
146
|
- !ruby/object:Gem::Version
|
132
|
-
version: 5.
|
147
|
+
version: '5.1'
|
133
148
|
type: :development
|
134
149
|
prerelease: false
|
135
150
|
version_requirements: !ruby/object:Gem::Requirement
|
136
151
|
requirements:
|
137
|
-
- - "
|
152
|
+
- - ">="
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: '5.0'
|
155
|
+
- - "<"
|
138
156
|
- !ruby/object:Gem::Version
|
139
|
-
version: 5.
|
157
|
+
version: '5.1'
|
140
158
|
description:
|
141
159
|
email:
|
142
160
|
- jesper.josefsson@gmail.com
|