punchblock 2.4.0 → 2.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/punchblock/rayo_node.rb +9 -1
- data/lib/punchblock/version.rb +1 -1
- data/spec/spec_helper.rb +0 -3
- 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: 4cf351841230c7cb7a3c6004a3a1dabb79f203df
|
|
4
|
+
data.tar.gz: 46911f3a2bd9e94791ea7506396b3e0e8dc8c9a7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7d625a9dede87541c2d9d49b5769415940f0fe0db4c90c6174387f8f854f00cdc8134f3e99295b1694d2b9e9257ae590dcef879fd64ff72a4231657cf1c51e5f
|
|
7
|
+
data.tar.gz: 5f33fbb9b113bcc8d6b34466ef4cfad0cab6badbdcb35739498f7c632e56404865d3b8bd8983fe4e38a40f7152e2916f4380b0be85ccef36c633b667fbc96532
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# [develop](https://github.com/adhearsion/punchblock)
|
|
2
2
|
|
|
3
|
+
# [v2.4.2](https://github.com/adhearsion/punchblock/compare/v2.4.0...v2.4.2) - [2014-03-04](https://rubygems.org/gems/punchblock/versions/2.4.2)
|
|
4
|
+
* Bugfix: Rayo events should not include their timestamp in comparison. This is not useful in applications, and makes testing more difficult.
|
|
5
|
+
|
|
6
|
+
Note: 2.4.1 was not released due to a tagging mishap. Its contents was released as 2.4.2.
|
|
7
|
+
|
|
3
8
|
# [v2.4.0](https://github.com/adhearsion/punchblock/compare/v2.3.1...v2.4.0) - [2014-03-01](https://rubygems.org/gems/punchblock/versions/2.4.0)
|
|
4
9
|
* Feature: Add support for requesting calls with a specific URI
|
|
5
10
|
* Feature: Allow generation of a random call URI for a client
|
data/lib/punchblock/rayo_node.rb
CHANGED
|
@@ -78,7 +78,7 @@ module Punchblock
|
|
|
78
78
|
end
|
|
79
79
|
|
|
80
80
|
def ==(o)
|
|
81
|
-
o.is_a?(self.class) && self.
|
|
81
|
+
o.is_a?(self.class) && self.comparable_attributes == o.comparable_attributes
|
|
82
82
|
end
|
|
83
83
|
|
|
84
84
|
##
|
|
@@ -111,5 +111,13 @@ module Punchblock
|
|
|
111
111
|
end
|
|
112
112
|
|
|
113
113
|
alias :to_s :inspect
|
|
114
|
+
|
|
115
|
+
protected
|
|
116
|
+
|
|
117
|
+
def comparable_attributes
|
|
118
|
+
to_hash.tap do |hash|
|
|
119
|
+
hash.delete :timestamp
|
|
120
|
+
end
|
|
121
|
+
end
|
|
114
122
|
end
|
|
115
123
|
end
|
data/lib/punchblock/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: punchblock
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.4.
|
|
4
|
+
version: 2.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jason Goecke
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2014-03-
|
|
13
|
+
date: 2014-03-04 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: nokogiri
|