ruby_ami 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +3 -0
- data/lib/ruby_ami/action.rb +1 -1
- data/lib/ruby_ami/version.rb +1 -1
- data/lib/ruby_ami.rb +3 -1
- data/ruby_ami.gemspec +0 -1
- data/spec/spec_helper.rb +2 -2
- metadata +4 -20
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# [develop](https://github.com/adhearsion/ruby_ami)
|
2
2
|
|
3
|
+
# [1.2.1](https://github.com/adhearsion/ruby_ami/compare/v1.2.0...v1.2.1) - [2012-07-19](https://rubygems.org/gems/ruby_ami/versions/1.2.1)
|
4
|
+
* Use SecureRandom for UUIDs
|
5
|
+
|
3
6
|
# [1.2.0](https://github.com/adhearsion/ruby_ami/compare/v1.1.2...v1.2.0) - [2012-07-18](https://rubygems.org/gems/ruby_ami/versions/1.2.0)
|
4
7
|
* Feature: Added parsers for (Async)AGI environment and result strings
|
5
8
|
* Bugfix: Avoid a race condition in stream establishment and event receipt
|
data/lib/ruby_ami/action.rb
CHANGED
@@ -10,7 +10,7 @@ module RubyAMI
|
|
10
10
|
def initialize(name, headers = {}, &block)
|
11
11
|
@name = name.to_s.downcase.freeze
|
12
12
|
@headers = headers.freeze
|
13
|
-
@action_id =
|
13
|
+
@action_id = RubyAMI.new_uuid
|
14
14
|
@response = FutureResource.new
|
15
15
|
@response_callback = block
|
16
16
|
@state = :new
|
data/lib/ruby_ami/version.rb
CHANGED
data/lib/ruby_ami.rb
CHANGED
data/ruby_ami.gemspec
CHANGED
@@ -18,7 +18,6 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
19
|
s.require_paths = ["lib"]
|
20
20
|
|
21
|
-
s.add_runtime_dependency %q<uuidtools>, [">= 0"]
|
22
21
|
s.add_runtime_dependency %q<celluloid-io>, ["~> 0.11.0"]
|
23
22
|
s.add_runtime_dependency %q<future-resource>, [">= 0"]
|
24
23
|
s.add_runtime_dependency %q<girl_friday>, [">= 0"]
|
data/spec/spec_helper.rb
CHANGED
@@ -30,7 +30,7 @@ RSpec.configure do |config|
|
|
30
30
|
config.run_all_when_everything_filtered = true
|
31
31
|
|
32
32
|
config.before :each do
|
33
|
-
uuid =
|
34
|
-
|
33
|
+
uuid = RubyAMI.new_uuid
|
34
|
+
RubyAMI.stubs :new_uuid => uuid
|
35
35
|
end
|
36
36
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_ami
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,24 +9,8 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-07-
|
12
|
+
date: 2012-07-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
-
- !ruby/object:Gem::Dependency
|
15
|
-
name: uuidtools
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ! '>='
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '0'
|
22
|
-
type: :runtime
|
23
|
-
prerelease: false
|
24
|
-
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ! '>='
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '0'
|
30
14
|
- !ruby/object:Gem::Dependency
|
31
15
|
name: celluloid-io
|
32
16
|
requirement: !ruby/object:Gem::Requirement
|
@@ -330,7 +314,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
330
314
|
version: '0'
|
331
315
|
segments:
|
332
316
|
- 0
|
333
|
-
hash:
|
317
|
+
hash: 486749482907062449
|
334
318
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
335
319
|
none: false
|
336
320
|
requirements:
|
@@ -339,7 +323,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
339
323
|
version: '0'
|
340
324
|
segments:
|
341
325
|
- 0
|
342
|
-
hash:
|
326
|
+
hash: 486749482907062449
|
343
327
|
requirements: []
|
344
328
|
rubyforge_project: ruby_ami
|
345
329
|
rubygems_version: 1.8.24
|