soapy_cake 0.2.11 → 0.2.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/soapy_cake.rb +1 -0
- data/lib/soapy_cake/client.rb +1 -1
- data/lib/soapy_cake/http_client.rb +11 -0
- data/lib/soapy_cake/version.rb +1 -1
- data/soapy_cake.gemspec +1 -0
- data/spec/lib/soapy_cake/client_spec.rb +1 -1
- data/spec/spec_helper.rb +9 -0
- metadata +17 -3
- data/circle.yml +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14bd5992297bb413711f6163038dab8ad4117773
|
4
|
+
data.tar.gz: 649fe29a12985a6ff9e8b537c0c2297611226e03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fcdbb08789b6d84aaef97c8cab50780850962f229f683753bb8c4b3bdf7b4c9e86e0cda6b462be1ef6cb091a5a882b1e87ef306c1f864155c249b67685a9c9d7
|
7
|
+
data.tar.gz: 6019e5d70f4bf80d63ddbd9faf18c1fef6f816ee5c1feb921e48cfe693ead03f18e7665b3a03c5305cf57a1e989d2e776561ae76ff4fd031213ede84ad96f212
|
data/lib/soapy_cake.rb
CHANGED
data/lib/soapy_cake/client.rb
CHANGED
@@ -41,7 +41,7 @@ module SoapyCake
|
|
41
41
|
def self.sekken_client(url)
|
42
42
|
path = LocalCopy.fetch(url)
|
43
43
|
@sekken_clients ||= {}
|
44
|
-
@sekken_clients[url] ||= Sekken.new(path)
|
44
|
+
@sekken_clients[url] ||= Sekken.new(path, HTTPartySekken.new)
|
45
45
|
end
|
46
46
|
|
47
47
|
def method_missing(method, opts = {})
|
data/lib/soapy_cake/version.rb
CHANGED
data/soapy_cake.gemspec
CHANGED
@@ -21,6 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.add_dependency 'activesupport'
|
22
22
|
spec.add_dependency 'sekken'
|
23
23
|
spec.add_dependency 'local_copy'
|
24
|
+
spec.add_dependency 'httparty'
|
24
25
|
|
25
26
|
spec.add_development_dependency 'bundler'
|
26
27
|
spec.add_development_dependency 'rake'
|
data/spec/spec_helper.rb
CHANGED
@@ -24,6 +24,15 @@ RSpec.configure do |config|
|
|
24
24
|
# Disable the `should` syntax
|
25
25
|
c.syntax = :expect
|
26
26
|
end
|
27
|
+
|
28
|
+
# Setting this config option `false` removes rspec-core's monkey patching of the
|
29
|
+
# top level methods like `describe`, `shared_examples_for` and `shared_context`
|
30
|
+
# on `main` and `Module`. The methods are always available through the `RSpec`
|
31
|
+
# module like `RSpec.describe` regardless of this setting.
|
32
|
+
# For backwards compatibility this defaults to `true`.
|
33
|
+
#
|
34
|
+
# https://relishapp.com/rspec/rspec-core/v/3-0/docs/configuration/global-namespace-dsl
|
35
|
+
config.expose_dsl_globally = false
|
27
36
|
end
|
28
37
|
|
29
38
|
ENV['CAKE_API_KEY'] = 'cake-api-key' if ENV['CAKE_API_KEY'].blank?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: soapy_cake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ad2games GmbH
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: httparty
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: bundler
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -151,9 +165,9 @@ files:
|
|
151
165
|
- README.md
|
152
166
|
- Rakefile
|
153
167
|
- api_versions.yml
|
154
|
-
- circle.yml
|
155
168
|
- lib/soapy_cake.rb
|
156
169
|
- lib/soapy_cake/client.rb
|
170
|
+
- lib/soapy_cake/http_client.rb
|
157
171
|
- lib/soapy_cake/version.rb
|
158
172
|
- script/update_versions.rb
|
159
173
|
- soapy_cake.gemspec
|