ruby_fs 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 793eaf957a7ea614c7f4ee1f12c1f4abe171274e
4
- data.tar.gz: 39dbc95b03ebe95e8985aafa7fcdb206fa2929f8
3
+ metadata.gz: 9d2821005c9ef5720cfbde75aeb42651c38db614
4
+ data.tar.gz: 7b17af48e3603bc771803627f3ac36c5abc3a5cf
5
5
  SHA512:
6
- metadata.gz: 7aa7b7c3f0783108b296a7b3fd0d36d9baf3d1b10dbaf206a5e3b8f7db5a09e0d839170bfdca9c65a1cf326bfabe6dc17c0bcd12c833bedfdbe4ed0038b51964
7
- data.tar.gz: 4b5cf980549c77d98bb91417242c2ee8f3198f35d3537d213b4b21ca166d6905801ae2f686f6e92bf4edf41036cfb9e77f756f86fc407b867853c642c0f1d9a2
6
+ metadata.gz: 83f3851116e8a3fac9ef9269652979087a890f3814d7bee438e27b7787a368adc473045cccfa7f7c656330582b320c644d49243a4963aff334072296d5916c98
7
+ data.tar.gz: d83532843ab8ad6a71cb05644ff5290aa4176dbdd6cda25ab16ff5518d16e1426719b79e622668ef0980e3824cdc9fcdf2d6b2a19eff6ceb6e5eb999c50395f5
@@ -1,10 +1,14 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9.2
4
3
  - 1.9.3
5
4
  - 2.0.0
6
- - rbx-19mode
5
+ - 2.1.0
7
6
  - jruby-19mode
7
+ - rbx-2.1.1
8
8
  - ruby-head
9
+ matrix:
10
+ allow_failures:
11
+ - rvm: rbx-2.1.1
12
+ - rvm: ruby-head
9
13
  notifications:
10
14
  irc: "irc.freenode.org#adhearsion"
@@ -1,5 +1,8 @@
1
1
  # develop
2
2
 
3
+ # 1.1.1
4
+ * CS: Remove explicit dependency on json, since we only support Ruby > 1.9 and JSON support is bundled.
5
+
3
6
  # 1.1.0
4
7
  * Feature: Allow specifying an event mask (other than 'ALL') when connecting
5
8
  * CS: Minor performance improvements from removing repeated regex compilation
data/README.md CHANGED
@@ -14,9 +14,8 @@ stream = RubyFS::Stream.new '127.0.0.1', 8021, 'ClueCon', lambda { |e| p e }
14
14
 
15
15
  stream.run
16
16
 
17
- stream.api 'originate sofia/mydomain.com/ext@yourvsp.com 1000' do |response|
18
- puts "Originate response was #{response.inspect}"
19
- end
17
+ response = stream.api 'originate sofia/mydomain.com/ext@yourvsp.com 1000'
18
+ puts "Originate response was #{response.inspect}"
20
19
  ```
21
20
 
22
21
  ## Links
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  %w{
2
4
  logger
3
5
  celluloid/io
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  require 'ruby_fs/response'
2
4
 
3
5
  module RubyFS
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  require 'ruby_fs/response'
2
4
 
3
5
  module RubyFS
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  module RubyFS
2
4
  class Lexer
3
5
  ContentLengthPattern = /Content-length:\s*(\d+)/i
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  module RubyFS
2
4
  class Response
3
5
  attr_reader :headers, :content
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  require 'json'
2
4
 
3
5
  require 'ruby_fs/lexer'
@@ -39,7 +41,7 @@ module RubyFS
39
41
  loop { receive_data @socket.readpartial(4096) }
40
42
  rescue EOFError, IOError, Errno::ECONNREFUSED => e
41
43
  logger.info "Client socket closed due to (#{e.class}) #{e.message}!"
42
- terminate
44
+ async.terminate
43
45
  end
44
46
 
45
47
  #
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  module RubyFS
2
- VERSION = "1.1.0"
4
+ VERSION = "1.1.1"
3
5
  end
@@ -19,7 +19,6 @@ Gem::Specification.new do |s|
19
19
  s.require_paths = ["lib"]
20
20
 
21
21
  s.add_runtime_dependency %q<celluloid-io>, ["~> 0.13"]
22
- s.add_runtime_dependency %q<json>
23
22
 
24
23
  s.add_development_dependency %q<bundler>, ["~> 1.0"]
25
24
  s.add_development_dependency %q<rspec>, ["~> 2.5"]
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  require 'spec_helper'
2
4
 
3
5
  module RubyFS
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  require 'spec_helper'
2
4
 
3
5
  module RubyFS
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  require 'spec_helper'
2
4
 
3
5
  module RubyFS
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  require 'spec_helper'
2
4
  require 'timeout'
3
5
 
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  require 'ruby_fs'
2
4
 
3
5
  Dir[File.dirname(__FILE__) + "/support/**/*.rb"].each {|f| require f}
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  MockServer = Class.new
2
4
 
3
5
  class ServerMock
metadata CHANGED
@@ -1,125 +1,111 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_fs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
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-04-04 00:00:00.000000000 Z
11
+ date: 2014-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: celluloid-io
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0.13'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0.13'
27
- - !ruby/object:Gem::Dependency
28
- name: json
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - '>='
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - '>='
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: bundler
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
- - - ~>
31
+ - - "~>"
46
32
  - !ruby/object:Gem::Version
47
33
  version: '1.0'
48
34
  type: :development
49
35
  prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
- - - ~>
38
+ - - "~>"
53
39
  - !ruby/object:Gem::Version
54
40
  version: '1.0'
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: rspec
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
- - - ~>
45
+ - - "~>"
60
46
  - !ruby/object:Gem::Version
61
47
  version: '2.5'
62
48
  type: :development
63
49
  prerelease: false
64
50
  version_requirements: !ruby/object:Gem::Requirement
65
51
  requirements:
66
- - - ~>
52
+ - - "~>"
67
53
  - !ruby/object:Gem::Version
68
54
  version: '2.5'
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: yard
71
57
  requirement: !ruby/object:Gem::Requirement
72
58
  requirements:
73
- - - ~>
59
+ - - "~>"
74
60
  - !ruby/object:Gem::Version
75
61
  version: '0.6'
76
62
  type: :development
77
63
  prerelease: false
78
64
  version_requirements: !ruby/object:Gem::Requirement
79
65
  requirements:
80
- - - ~>
66
+ - - "~>"
81
67
  - !ruby/object:Gem::Version
82
68
  version: '0.6'
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: rake
85
71
  requirement: !ruby/object:Gem::Requirement
86
72
  requirements:
87
- - - '>='
73
+ - - ">="
88
74
  - !ruby/object:Gem::Version
89
75
  version: '0'
90
76
  type: :development
91
77
  prerelease: false
92
78
  version_requirements: !ruby/object:Gem::Requirement
93
79
  requirements:
94
- - - '>='
80
+ - - ">="
95
81
  - !ruby/object:Gem::Version
96
82
  version: '0'
97
83
  - !ruby/object:Gem::Dependency
98
84
  name: guard-rspec
99
85
  requirement: !ruby/object:Gem::Requirement
100
86
  requirements:
101
- - - '>='
87
+ - - ">="
102
88
  - !ruby/object:Gem::Version
103
89
  version: '0'
104
90
  type: :development
105
91
  prerelease: false
106
92
  version_requirements: !ruby/object:Gem::Requirement
107
93
  requirements:
108
- - - '>='
94
+ - - ">="
109
95
  - !ruby/object:Gem::Version
110
96
  version: '0'
111
97
  - !ruby/object:Gem::Dependency
112
98
  name: rb-fsevent
113
99
  requirement: !ruby/object:Gem::Requirement
114
100
  requirements:
115
- - - ~>
101
+ - - "~>"
116
102
  - !ruby/object:Gem::Version
117
103
  version: '0.9'
118
104
  type: :development
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
107
  requirements:
122
- - - ~>
108
+ - - "~>"
123
109
  - !ruby/object:Gem::Version
124
110
  version: '0.9'
125
111
  description: A Ruby client library for the FreeSWITCH EventSocket API built on Celluloid.
@@ -129,9 +115,9 @@ executables: []
129
115
  extensions: []
130
116
  extra_rdoc_files: []
131
117
  files:
132
- - .gitignore
133
- - .rspec
134
- - .travis.yml
118
+ - ".gitignore"
119
+ - ".rspec"
120
+ - ".travis.yml"
135
121
  - CHANGELOG.md
136
122
  - Gemfile
137
123
  - Guardfile
@@ -161,17 +147,17 @@ require_paths:
161
147
  - lib
162
148
  required_ruby_version: !ruby/object:Gem::Requirement
163
149
  requirements:
164
- - - '>='
150
+ - - ">="
165
151
  - !ruby/object:Gem::Version
166
152
  version: '0'
167
153
  required_rubygems_version: !ruby/object:Gem::Requirement
168
154
  requirements:
169
- - - '>='
155
+ - - ">="
170
156
  - !ruby/object:Gem::Version
171
157
  version: '0'
172
158
  requirements: []
173
159
  rubyforge_project: ruby_fs
174
- rubygems_version: 2.0.0
160
+ rubygems_version: 2.2.0
175
161
  signing_key:
176
162
  specification_version: 4
177
163
  summary: Wrapping FreeSWITCH EventSocket for rubyists