sunstone 1.5.0 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile.rb +1 -1
- data/lib/active_record/connection_adapters/sunstone_adapter.rb +1 -1
- data/lib/arel/visitors/sunstone.rb +0 -11
- data/lib/ext/active_record/batches.rb +1 -1
- data/sunstone.gemspec +5 -5
- metadata +18 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59a88634c0c04b6365abb97345ad0dd8ddc27ff7
|
4
|
+
data.tar.gz: 43051a7d769db7de6f01ed1dbbb28f7132531231
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d74d6dff4bbfc34bd49d2619a79a2c27ba257f5672bc8f954b258085afb67422882b1931eccd0dbb23672e4fb2ecd62bce0ecb5301544bb94817a4d1b1fc5d0
|
7
|
+
data.tar.gz: e3576667424fc8b1995ad96e8736455a502d26572209aa7366432dc8943c07b16d4305d8b3841c8276826ddd0d6fcee866df643d51c867430fb0261a42fd24b0
|
data/Rakefile.rb
CHANGED
@@ -82,7 +82,7 @@ module ActiveRecord
|
|
82
82
|
def initialize(connection, logger, connection_parameters, config)
|
83
83
|
super(connection, logger)
|
84
84
|
|
85
|
-
@visitor = Arel::Visitors::Sunstone.new
|
85
|
+
@visitor = Arel::Visitors::Sunstone.new
|
86
86
|
@connection_parameters, @config = connection_parameters, config
|
87
87
|
|
88
88
|
connect
|
@@ -10,17 +10,6 @@ module Arel
|
|
10
10
|
module Visitors
|
11
11
|
class Sunstone < Arel::Visitors::Reduce
|
12
12
|
|
13
|
-
def initialize connection
|
14
|
-
@connection = connection
|
15
|
-
@schema_cache = connection.schema_cache
|
16
|
-
|
17
|
-
@nodes = []
|
18
|
-
@edges = []
|
19
|
-
@node_stack = []
|
20
|
-
@edge_stack = []
|
21
|
-
@seen = {}
|
22
|
-
end
|
23
|
-
|
24
13
|
def compile node, &block
|
25
14
|
accept(node, Arel::Collectors::SQLString.new, &block).value
|
26
15
|
end
|
data/sunstone.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "sunstone"
|
3
|
-
s.version = '1.
|
3
|
+
s.version = '1.6.0'
|
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'
|
32
|
-
s.add_runtime_dependency 'activesupport'
|
33
|
-
s.add_runtime_dependency 'activemodel'
|
34
|
-
s.add_runtime_dependency 'activerecord'
|
31
|
+
s.add_runtime_dependency 'arel', '6.0.0.beta2'
|
32
|
+
s.add_runtime_dependency 'activesupport', '4.2.0.beta4'
|
33
|
+
s.add_runtime_dependency 'activemodel', '4.2.0.beta4'
|
34
|
+
s.add_runtime_dependency 'activerecord', '4.2.0.beta4'
|
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.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jon Bracy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-11-05 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:
|
201
|
+
version: 6.0.0.beta2
|
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:
|
208
|
+
version: 6.0.0.beta2
|
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:
|
215
|
+
version: 4.2.0.beta4
|
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:
|
222
|
+
version: 4.2.0.beta4
|
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:
|
229
|
+
version: 4.2.0.beta4
|
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:
|
236
|
+
version: 4.2.0.beta4
|
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:
|
243
|
+
version: 4.2.0.beta4
|
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:
|
250
|
+
version: 4.2.0.beta4
|
251
251
|
description: A library for interacting with REST APIs. Similar to ActiveResource
|
252
252
|
email:
|
253
253
|
- jonbracy@gmail.com
|
@@ -314,4 +314,3 @@ test_files:
|
|
314
314
|
- test/sunstone/parser_test.rb
|
315
315
|
- test/sunstone_test.rb
|
316
316
|
- test/test_helper.rb
|
317
|
-
has_rdoc:
|