iron_mq 3.0.1 → 3.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- iron_mq (3.0.0)
4
+ iron_mq (3.0.1)
5
5
  iron_core (>= 0.4.4)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -19,6 +19,10 @@ Getting Started
19
19
 
20
20
  @ironmq = IronMQ::Client.new()
21
21
 
22
+ Or pass in credentials:
23
+
24
+ @ironmq = IronMQ::Client.new(token: MY_TOKEN, project_id: MY_PROJECT_ID)
25
+
22
26
 
23
27
  The Basics
24
28
  =========
@@ -3,10 +3,11 @@ module IronMQ
3
3
 
4
4
  class ResponseBase
5
5
 
6
- attr_reader :raw
6
+ attr_reader :raw, :code
7
7
 
8
- def initialize(raw)
8
+ def initialize(raw, code=200)
9
9
  @raw = raw
10
+ @code = code
10
11
  end
11
12
 
12
13
  def [](key)
@@ -1,4 +1,4 @@
1
1
  module IronMQ
2
- VERSION = "3.0.1"
2
+ VERSION = "3.0.2"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iron_mq
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.0.2
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: 2013-01-11 00:00:00.000000000 Z
12
+ date: 2013-01-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: iron_core