swd 1.0.0 → 1.0.1

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: 252ca7c37d1cebf052d7e5c41917b5b5123a04e6
4
- data.tar.gz: 549ca01faa4f2f50a6eb8278076877f9e88acc4e
3
+ metadata.gz: 3d163512365399573f5e0176a1f90fd48dc71abf
4
+ data.tar.gz: acb6dcc55d20e2cea4bfea3f929974dd7e2f3fe9
5
5
  SHA512:
6
- metadata.gz: 20b3f7e56f29eb563c1cedb143ff9c41ad473d09973ff0cbc965148ee782f761beb8e9566b022e17693e4e5eedf0132a6010bf3397f66b9544a9ce8154c02648
7
- data.tar.gz: 01476c9da0f885d64ee765566455c415c79e1e391d0356dd04c3e0e86623d358b56cc002a8ce33ca543be2088e1cb7d42e28b01d6f65f25195047b1059130c75
6
+ metadata.gz: 979b2d67ee0e7d5b595a644eaeda9fc15ef9fb982dab9207d02de85181794394c6a366e64eb8a159e06877f6e42938ef4bafc446daf0f9a66716f9d04f1974dd
7
+ data.tar.gz: 0064ad4176fcbd456d874f69a6f001d1614d2959be72a6e425ea9b323695288efac58440fd599031d01ec649f8cbbec8ab233ed0d78cc67b25e78f51e3cc3386
@@ -1,4 +1,8 @@
1
+ before_install:
2
+ - gem install bundler
3
+
1
4
  rvm:
2
- - 1.9.3
3
- - 2.0.0
4
- - 2.1.2
5
+ - 2.0
6
+ - 2.1
7
+ - 2.2
8
+ - 2.3.0
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
@@ -73,14 +73,12 @@ describe SWD::Resource do
73
73
  before(:all) do
74
74
  module SWD
75
75
  class << self
76
- def http_client_with_cached
77
- @http_client ||= http_client_without_cached
78
- end
79
- alias_method_chain :http_client, :cached
80
-
81
- def clear_http_client!
82
- @http_client = nil
76
+ module HttpClientWithCached
77
+ def http_client
78
+ @http_client ||= super
79
+ end
83
80
  end
81
+ prepend HttpClientWithCached
84
82
  end
85
83
  end
86
84
  end
@@ -88,11 +86,13 @@ describe SWD::Resource do
88
86
  after(:all) do
89
87
  module SWD
90
88
  class << self
91
- def http_client_with_cache_cleared
92
- @http_client = nil
93
- http_client_without_cache_cleared
89
+ module HttpClientWithCacheCleared
90
+ def http_client
91
+ @http_client = nil
92
+ super
93
+ end
94
94
  end
95
- alias_method_chain :http_client, :cache_cleared
95
+ prepend HttpClientWithCacheCleared
96
96
  end
97
97
  end
98
98
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swd
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - nov matake
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-22 00:00:00.000000000 Z
11
+ date: 2016-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -203,7 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
203
203
  version: '0'
204
204
  requirements: []
205
205
  rubyforge_project:
206
- rubygems_version: 2.2.2
206
+ rubygems_version: 2.5.1
207
207
  signing_key:
208
208
  specification_version: 4
209
209
  summary: SWD (Simple Web Discovery) Client Library