cacheability 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/cacheability.gemspec +2 -3
- metadata +1 -2
- data/spec/test.rb +0 -7
data/VERSION.yml
CHANGED
data/cacheability.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{cacheability}
|
8
|
-
s.version = "1.2.
|
8
|
+
s.version = "1.2.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Cyril Rohr"]
|
@@ -37,8 +37,7 @@ Gem::Specification.new do |s|
|
|
37
37
|
s.summary = %q{A gem that makes client-side caching of HTTP requests a no-brainer. Replace your calls to RestClient::Resource.new with RestClient::CacheableResource.new and the caching is taken care of for you ! Supports heap, file and memcache storage.}
|
38
38
|
s.test_files = [
|
39
39
|
"spec/cacheability_spec.rb",
|
40
|
-
"spec/spec_helper.rb"
|
41
|
-
"spec/test.rb"
|
40
|
+
"spec/spec_helper.rb"
|
42
41
|
]
|
43
42
|
|
44
43
|
if s.respond_to? :specification_version then
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cacheability
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cyril Rohr
|
@@ -73,4 +73,3 @@ summary: A gem that makes client-side caching of HTTP requests a no-brainer. Rep
|
|
73
73
|
test_files:
|
74
74
|
- spec/cacheability_spec.rb
|
75
75
|
- spec/spec_helper.rb
|
76
|
-
- spec/test.rb
|
data/spec/test.rb
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
require 'rubygems'
|
2
|
-
require 'restclient'
|
3
|
-
require File.dirname(__FILE__) + '/../lib/cacheability/restclient'
|
4
|
-
require 'pp'
|
5
|
-
RestClient.log = 'stdout'
|
6
|
-
|
7
|
-
RestClient::CacheableResource.new('https://api.grid5000.fr/sid/versions/current.json', :user => 'crohr', :password => 'pmtppe1m', :cache => {:verbose => false}).get
|