iron_cache 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -8,7 +8,7 @@ Install the gem:
8
8
 
9
9
  gem install iron_cache
10
10
 
11
- Create an IronMQ client object:
11
+ Create an IronCache client object:
12
12
 
13
13
  @iron_cache = IronCache::Client.new(:token=>'MYTOKEN', :project_id=>'MYPROJECTID')
14
14
 
@@ -34,7 +34,7 @@ The Basics
34
34
  p res
35
35
 
36
36
 
37
- Queue Selection
37
+ Cache Selection
38
38
  ===============
39
39
 
40
40
  One of the following:
@@ -43,7 +43,7 @@ One of the following:
43
43
  1. `@iron_cache.cache_name = 'my_cache'`
44
44
  1. Pass `:cache_name=>'my_cache'` into any post(), get(), or delete()
45
45
 
46
- Queue Information
46
+ Cache Information
47
47
  =================
48
48
 
49
49
  cache = @iron_cache.queues.get(:name=>"my_cache")
@@ -22,7 +22,7 @@ module IronCache
22
22
  @client.logger.debug "GET response: " + res.inspect
23
23
  json = @client.parse_response(res, true)
24
24
  return Item.new(self, json)
25
- rescue IronCore::IronError => ex
25
+ rescue IronCore::IronResponseError => ex
26
26
  p ex
27
27
  if ex.code == 404
28
28
  return nil
@@ -95,4 +95,4 @@ module IronCache
95
95
  end
96
96
  end
97
97
 
98
- end
98
+ end
@@ -1,3 +1,3 @@
1
1
  module IronCache
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iron_cache
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-15 00:00:00.000000000 Z
12
+ date: 2012-06-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: iron_core
@@ -109,7 +109,6 @@ files:
109
109
  - lib/iron_cache/client.rb
110
110
  - lib/iron_cache/items.rb
111
111
  - lib/iron_cache/version.rb
112
- - schedule_abt.rb
113
112
  - test/quick_run.rb
114
113
  - test/test_base.rb
115
114
  - test/test_iron_cache.rb
data/schedule_abt.rb DELETED
@@ -1,16 +0,0 @@
1
- require 'abt'
2
-
3
-
4
- @test_config = UberConfig.load()
5
-
6
- worker = Abt::TestWorker.new
7
- worker.git_url = "git://github.com/iron-io/iron_cache_ruby.git"
8
- worker.test_config = @test_config
9
- worker.run_local
10
-
11
- worker.add_notifier(:hip_chat_notifier,
12
- :config=>{
13
- "hipchat_api_key"=>'secret_api_key',
14
- "room_name"=>'Room Name',
15
- "user_name"=>"AbtWorker"
16
- })