adam_signals 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/adam_signals/response.rb +1 -0
- data/lib/adam_signals/version.rb +1 -1
- data/spec/adam_signals/response_spec.rb +3 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b2559da16cb618c1b597fead4c657183f5e62fc
|
4
|
+
data.tar.gz: c380fa420e0064da2af609269076570c976c5426
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81954d3f208a3ee0820db7415da13fa8f9e6161a6aea9fa24f184893822a01f721b54554afdf75a2e73e7e078e8faaf0893044504aa1af38caff281ce72befde
|
7
|
+
data.tar.gz: 0661f70d7bf2379bf08daf74101fe3270a71ab09b16cf136a5b65afd3220fc5b7fc6ba483832c18b6cc21192385e72a792940e20a3983c621085f2e0ca510f6a
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,7 @@
|
|
1
1
|
# [develop](https://github.com/mojolingo/adam_signals)
|
2
2
|
|
3
|
+
# [1.1.0](https://github.com/mojolingo/adam_signals/compare/v1.0.0...v1.1.0) - [2013-12-17](https://rubygems.org/gems/adam_signals/versions/1.1.0)
|
4
|
+
* Feature: Added an `action` attribute to `Response`
|
5
|
+
|
3
6
|
# [1.0.0](https://github.com/mojolingo/adam_signals/compare/c05b045f041eb8e0364e8348e9e6fc868462cf40...v1.0.0) - [2013-11-12](https://rubygems.org/gems/adam_signals/versions/1.0.0)
|
4
7
|
* Initial release
|
data/lib/adam_signals/version.rb
CHANGED
@@ -4,12 +4,14 @@ describe AdamSignals::Response do
|
|
4
4
|
let(:target_type) { :xmpp }
|
5
5
|
let(:target_address) { 'foo@bar.com' }
|
6
6
|
let(:body) { 'Hello there' }
|
7
|
+
let(:action) { 'greet' }
|
7
8
|
|
8
|
-
subject { described_class.new target_type: target_type, target_address: target_address, body: body }
|
9
|
+
subject { described_class.new target_type: target_type, target_address: target_address, body: body, action: action }
|
9
10
|
|
10
11
|
its(:target_type) { should == target_type }
|
11
12
|
its(:target_address) { should == target_address }
|
12
13
|
its(:body) { should == body }
|
14
|
+
its(:action) { should == action }
|
13
15
|
|
14
16
|
it "should be able to encode to and decode from JSON" do
|
15
17
|
subject.should eql(described_class.from_json(subject.to_json))
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adam_signals
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Langfeld
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: virtus
|