ruby_ami 1.2.5 → 1.2.6

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml CHANGED
@@ -3,8 +3,8 @@ rvm:
3
3
  - 1.9.2
4
4
  - 1.9.3
5
5
  - jruby-19mode
6
- # - rbx-19mode
7
- # - ruby-head
6
+ - rbx-19mode
7
+ - ruby-head
8
8
  before_install:
9
9
  - wget http://ftp.us.debian.org/debian/pool/main/r/ragel/ragel_6.7-1.1_i386.deb
10
10
  - sudo dpkg -i ragel_6.7-1.1_i386.deb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # [develop](https://github.com/adhearsion/ruby_ami)
2
2
 
3
+ # [1.2.6](https://github.com/adhearsion/ruby_ami/compare/v1.2.5...v1.2.6) - [2012-12-26](https://rubygems.org/gems/ruby_ami/versions/1.2.6)
4
+ * Bugfix: JRuby and rbx compatability
5
+
3
6
  # [1.2.5](https://github.com/adhearsion/ruby_ami/compare/v1.2.4...v1.2.5) - [2012-10-24](https://rubygems.org/gems/ruby_ami/versions/1.2.5)
4
7
  * Bugfix: Log wire stuff at trace level
5
8
 
data/Rakefile CHANGED
@@ -2,7 +2,6 @@ require 'bundler/gem_tasks'
2
2
 
3
3
  require 'rspec/core'
4
4
  require 'rspec/core/rake_task'
5
- require 'ci/reporter/rake/rspec'
6
5
  RSpec::Core::RakeTask.new(:spec) do |spec|
7
6
  spec.pattern = 'spec/**/*_spec.rb'
8
7
  spec.rspec_opts = '--color'
@@ -10,7 +9,6 @@ end
10
9
 
11
10
  require 'cucumber'
12
11
  require 'cucumber/rake/task'
13
- require 'ci/reporter/rake/cucumber'
14
12
  Cucumber::Rake::Task.new(:features) do |t|
15
13
  t.cucumber_opts = %w{--tags ~@jruby} unless defined?(JRUBY_VERSION)
16
14
  end
@@ -20,7 +18,6 @@ Cucumber::Rake::Task.new(:wip) do |t|
20
18
  end
21
19
 
22
20
  task :default => [:ragel, :spec, :features]
23
- task :ci => [:ragel, 'ci:setup:rspec', :spec, 'ci:setup:cucumber', :features]
24
21
 
25
22
  require 'yard'
26
23
  YARD::Rake::YardocTask.new
@@ -1,16 +1,3 @@
1
- require 'simplecov'
2
- require 'simplecov-rcov'
3
- class SimpleCov::Formatter::MergedFormatter
4
- def format(result)
5
- SimpleCov::Formatter::HTMLFormatter.new.format(result)
6
- SimpleCov::Formatter::RcovFormatter.new.format(result)
7
- end
8
- end
9
- SimpleCov.formatter = SimpleCov::Formatter::MergedFormatter
10
- SimpleCov.start do
11
- add_filter "/vendor/"
12
- end
13
-
14
1
  require 'cucumber'
15
2
  require 'rspec'
16
3
  require 'ruby_ami'
@@ -35,7 +35,7 @@ module RubyAMI
35
35
 
36
36
  def initialize(delegate = nil)
37
37
  @delegate = delegate
38
- @data = ''.encode('ISO-8859-1', 'ISO-8859-1')
38
+ @data = ''.force_encoding('ISO-8859-1')
39
39
  @current_pointer = 0
40
40
  @ragel_stack = []
41
41
  @ami_version = 0.0
@@ -1465,7 +1465,7 @@ end
1465
1465
  @data.slice! 0...length
1466
1466
  adjust_pointers -length
1467
1467
  end
1468
- @data << new_data.encode('ISO-8859-1', 'ISO-8859-1')
1468
+ @data << new_data.force_encoding('ISO-8859-1')
1469
1469
  @data_ending_pointer = @data.size
1470
1470
  end
1471
1471
 
@@ -72,7 +72,7 @@ module RubyAMI
72
72
 
73
73
  def initialize(delegate = nil)
74
74
  @delegate = delegate
75
- @data = ''.encode('ISO-8859-1', 'ISO-8859-1')
75
+ @data = ''.force_encoding('ISO-8859-1')
76
76
  @current_pointer = 0
77
77
  @ragel_stack = []
78
78
  @ami_version = 0.0
@@ -125,7 +125,7 @@ module RubyAMI
125
125
  @data.slice! 0...length
126
126
  adjust_pointers -length
127
127
  end
128
- @data << new_data.encode('ISO-8859-1', 'ISO-8859-1')
128
+ @data << new_data.force_encoding('ISO-8859-1')
129
129
  @data_ending_pointer = @data.size
130
130
  end
131
131
 
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module RubyAMI
3
- VERSION = "1.2.5"
3
+ VERSION = "1.2.6"
4
4
  end
data/ruby_ami.gemspec CHANGED
@@ -26,12 +26,9 @@ Gem::Specification.new do |s|
26
26
  s.add_development_dependency %q<bundler>, ["~> 1.0"]
27
27
  s.add_development_dependency %q<rspec>, ["~> 2.5"]
28
28
  s.add_development_dependency %q<cucumber>, [">= 0"]
29
- s.add_development_dependency %q<ci_reporter>, ["~> 1.6"]
30
29
  s.add_development_dependency %q<yard>, ["~> 0.6"]
31
30
  s.add_development_dependency %q<rake>, [">= 0"]
32
31
  s.add_development_dependency %q<mocha>, [">= 0"]
33
- s.add_development_dependency %q<simplecov>, [">= 0"]
34
- s.add_development_dependency %q<simplecov-rcov>, [">= 0"]
35
32
  s.add_development_dependency %q<guard-rspec>
36
33
  s.add_development_dependency %q<guard-shell>
37
34
  s.add_development_dependency %q<ruby_gntp>
data/spec/spec_helper.rb CHANGED
@@ -1,22 +1,4 @@
1
1
  # encoding: utf-8
2
- begin
3
- require 'simplecov'
4
- require 'simplecov-rcov'
5
- class SimpleCov::Formatter::MergedFormatter
6
- def format(result)
7
- SimpleCov::Formatter::HTMLFormatter.new.format(result)
8
- SimpleCov::Formatter::RcovFormatter.new.format(result)
9
- end
10
- end
11
- SimpleCov.formatter = SimpleCov::Formatter::MergedFormatter
12
- SimpleCov.start do
13
- add_filter "/vendor/"
14
- end
15
- rescue Exception => e
16
- puts "Couldn't load simplecov"
17
- puts e.message
18
- puts e.backtrace.join("\n")
19
- end
20
2
 
21
3
  require 'ruby_ami'
22
4
  require 'countdownlatch'
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.5
4
+ version: 1.2.6
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: 2012-10-24 00:00:00.000000000 Z
12
+ date: 2012-12-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: celluloid-io
@@ -123,22 +123,6 @@ dependencies:
123
123
  - - ! '>='
124
124
  - !ruby/object:Gem::Version
125
125
  version: '0'
126
- - !ruby/object:Gem::Dependency
127
- name: ci_reporter
128
- requirement: !ruby/object:Gem::Requirement
129
- none: false
130
- requirements:
131
- - - ~>
132
- - !ruby/object:Gem::Version
133
- version: '1.6'
134
- type: :development
135
- prerelease: false
136
- version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
- requirements:
139
- - - ~>
140
- - !ruby/object:Gem::Version
141
- version: '1.6'
142
126
  - !ruby/object:Gem::Dependency
143
127
  name: yard
144
128
  requirement: !ruby/object:Gem::Requirement
@@ -187,38 +171,6 @@ dependencies:
187
171
  - - ! '>='
188
172
  - !ruby/object:Gem::Version
189
173
  version: '0'
190
- - !ruby/object:Gem::Dependency
191
- name: simplecov
192
- requirement: !ruby/object:Gem::Requirement
193
- none: false
194
- requirements:
195
- - - ! '>='
196
- - !ruby/object:Gem::Version
197
- version: '0'
198
- type: :development
199
- prerelease: false
200
- version_requirements: !ruby/object:Gem::Requirement
201
- none: false
202
- requirements:
203
- - - ! '>='
204
- - !ruby/object:Gem::Version
205
- version: '0'
206
- - !ruby/object:Gem::Dependency
207
- name: simplecov-rcov
208
- requirement: !ruby/object:Gem::Requirement
209
- none: false
210
- requirements:
211
- - - ! '>='
212
- - !ruby/object:Gem::Version
213
- version: '0'
214
- type: :development
215
- prerelease: false
216
- version_requirements: !ruby/object:Gem::Requirement
217
- none: false
218
- requirements:
219
- - - ! '>='
220
- - !ruby/object:Gem::Version
221
- version: '0'
222
174
  - !ruby/object:Gem::Dependency
223
175
  name: guard-rspec
224
176
  requirement: !ruby/object:Gem::Requirement
@@ -331,7 +283,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
331
283
  version: '0'
332
284
  segments:
333
285
  - 0
334
- hash: 2320408873342490839
286
+ hash: -1351275234021844884
335
287
  required_rubygems_version: !ruby/object:Gem::Requirement
336
288
  none: false
337
289
  requirements:
@@ -340,10 +292,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
340
292
  version: '0'
341
293
  segments:
342
294
  - 0
343
- hash: 2320408873342490839
295
+ hash: -1351275234021844884
344
296
  requirements: []
345
297
  rubyforge_project: ruby_ami
346
- rubygems_version: 1.8.23
298
+ rubygems_version: 1.8.24
347
299
  signing_key:
348
300
  specification_version: 3
349
301
  summary: Futzing with AMI so you don't have to