sunstone 1.7.6 → 1.7.8

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: c1a0cfa2082e0d3efc83dd1ee302628d55c96992
4
- data.tar.gz: 5e901c4a1d8a41684df36155b105aaaa69f26aa4
3
+ metadata.gz: e267fa4516116d563ab8668f7a61a75c1fb3f528
4
+ data.tar.gz: e55f2401867dd93ca60625155eeb0e33dd09da3e
5
5
  SHA512:
6
- metadata.gz: 5f791c0587c970ad80a6f9bdb5c303e36c9ef0fc932d8a2f247a2fda562a851b6e570ff65d9253ae38bfb92780839458688262272a95b0a003f85396f697afb3
7
- data.tar.gz: 6d63d033c834910ef6074d19e8e5f5888d6e1a07a99ce753112ed47caeabd9b2e9e3621519be7e702350c4149e804fb3b336d83979ea95b90e24968038470e93
6
+ metadata.gz: 3b5d0b5fedf8fbdcaa98fed931a95d0a926e18780e492c02b42c3bc57606664cde1cee0e35748d0d87eb5f78fae840a9f0e97f573076f583b37413cf7c38484f
7
+ data.tar.gz: e012ed572ac6b97f8982c9b04fd3adf86b68f8a62211fa7b5b1319a540f363a02c27bf6f2d16b01b885dbcb330549ef44e1ce92d1046a54b95e188960f3011b2
@@ -42,6 +42,10 @@ module ActiveRecord
42
42
  def new_column(name, cast_type, options={}) # :nodoc:
43
43
  SunstoneColumn.new(name, cast_type, options)
44
44
  end
45
+
46
+ def column_name_for_operation(operation, node) # :nodoc:
47
+ visitor.accept(node, collector).first[operation.to_sym]
48
+ end
45
49
 
46
50
  # TODO: def encoding
47
51
 
data/sunstone.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "sunstone"
3
- s.version = '1.7.6'
3
+ s.version = '1.7.8'
4
4
  s.authors = ["Jon Bracy"]
5
5
  s.email = ["jonbracy@gmail.com"]
6
6
  s.homepage = "http://sunstonerb.com"
@@ -28,8 +28,8 @@ Gem::Specification.new do |s|
28
28
  # Runtime
29
29
  s.add_runtime_dependency 'wankel'
30
30
  s.add_runtime_dependency 'cookie_store'
31
- s.add_runtime_dependency 'arel', '6.0.0'
32
- s.add_runtime_dependency 'activesupport', '4.2.0'
33
- s.add_runtime_dependency 'activemodel', '4.2.0'
34
- s.add_runtime_dependency 'activerecord', '4.2.0'
31
+ s.add_runtime_dependency 'arel', '~> 6.0'
32
+ s.add_runtime_dependency 'activesupport', '~> 4.2'
33
+ s.add_runtime_dependency 'activemodel', '~> 4.2'
34
+ s.add_runtime_dependency 'activerecord', '~> 4.2'
35
35
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sunstone
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.6
4
+ version: 1.7.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Bracy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-09 00:00:00.000000000 Z
11
+ date: 2015-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -196,58 +196,58 @@ dependencies:
196
196
  name: arel
197
197
  requirement: !ruby/object:Gem::Requirement
198
198
  requirements:
199
- - - '='
199
+ - - "~>"
200
200
  - !ruby/object:Gem::Version
201
- version: 6.0.0
201
+ version: '6.0'
202
202
  type: :runtime
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
- - - '='
206
+ - - "~>"
207
207
  - !ruby/object:Gem::Version
208
- version: 6.0.0
208
+ version: '6.0'
209
209
  - !ruby/object:Gem::Dependency
210
210
  name: activesupport
211
211
  requirement: !ruby/object:Gem::Requirement
212
212
  requirements:
213
- - - '='
213
+ - - "~>"
214
214
  - !ruby/object:Gem::Version
215
- version: 4.2.0
215
+ version: '4.2'
216
216
  type: :runtime
217
217
  prerelease: false
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
- - - '='
220
+ - - "~>"
221
221
  - !ruby/object:Gem::Version
222
- version: 4.2.0
222
+ version: '4.2'
223
223
  - !ruby/object:Gem::Dependency
224
224
  name: activemodel
225
225
  requirement: !ruby/object:Gem::Requirement
226
226
  requirements:
227
- - - '='
227
+ - - "~>"
228
228
  - !ruby/object:Gem::Version
229
- version: 4.2.0
229
+ version: '4.2'
230
230
  type: :runtime
231
231
  prerelease: false
232
232
  version_requirements: !ruby/object:Gem::Requirement
233
233
  requirements:
234
- - - '='
234
+ - - "~>"
235
235
  - !ruby/object:Gem::Version
236
- version: 4.2.0
236
+ version: '4.2'
237
237
  - !ruby/object:Gem::Dependency
238
238
  name: activerecord
239
239
  requirement: !ruby/object:Gem::Requirement
240
240
  requirements:
241
- - - '='
241
+ - - "~>"
242
242
  - !ruby/object:Gem::Version
243
- version: 4.2.0
243
+ version: '4.2'
244
244
  type: :runtime
245
245
  prerelease: false
246
246
  version_requirements: !ruby/object:Gem::Requirement
247
247
  requirements:
248
- - - '='
248
+ - - "~>"
249
249
  - !ruby/object:Gem::Version
250
- version: 4.2.0
250
+ version: '4.2'
251
251
  description: A library for interacting with REST APIs. Similar to ActiveResource
252
252
  email:
253
253
  - jonbracy@gmail.com