ruby-shout 2.2.1 → 2.2.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.
Files changed (4) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +8 -10
  3. data/ext/shout_ext.c +4 -0
  4. metadata +8 -9
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: eae2a88e841ef1d29e1b917b52148026652cd280
4
+ data.tar.gz: 190f13cdd66197abdac1f3cfd4d590c62cf40ba7
5
+ SHA512:
6
+ metadata.gz: 53c44f4dc493eb45e20f9b19b2f4f5b630fc60dd2b3ee5d660891b23276eba0accea0db735943fd9dc75a09eeb930cbb6c51d03b988a7c447454de8842262e90
7
+ data.tar.gz: 9dfe12f88488651c5ec28d957370502d3ddc09dc01305318678b86a1cd26bbc21d8b1d43259170fd90f09fe165c9f3e30077ea6122eaeed4e29bc2d745e153e2
data/Rakefile CHANGED
@@ -1,19 +1,17 @@
1
1
  require 'rubygems'
2
2
  require 'rake/gempackagetask'
3
- require 'spec/rake/spectask'
3
+ require 'rspec/core/rake_task'
4
4
 
5
- desc "Run spec with specdoc output"
6
- Spec::Rake::SpecTask.new do |t|
7
- spec_files = Dir.glob('spec/*_spec.rb')
8
- spec_files.delete 'spec/build_spec.rb'
9
- t.spec_files = spec_files
10
- t.spec_opts << '--format specdoc -c'
5
+ desc "Run spec with documentation output"
6
+ RSpec::Core::RakeTask.new do |t|
7
+ t.pattern = Dir.glob('spec/*_spec.rb')
8
+ t.rspec_opts = '--format documentation -c'
11
9
  end
12
10
 
13
11
  desc "Run the build spec"
14
- Spec::Rake::SpecTask.new 'spec:build' do |t|
15
- t.spec_files = ['spec/build_spec.rb']
16
- t.spec_opts << '--format specdoc -c'
12
+ RSpec::Core::RakeTask.new 'spec:build' do |t|
13
+ t.pattern = ['spec/build_spec.rb']
14
+ t.rspec_opts = '--format documentation -c'
17
15
  end
18
16
 
19
17
  begin
@@ -46,6 +46,10 @@
46
46
  #define RSTRING_PTR(str) RSTRING(str)->ptr
47
47
  #endif
48
48
 
49
+ #ifdef SafeStringValue
50
+ #define Check_SafeStr SafeStringValue
51
+ #endif
52
+
49
53
  /*
50
54
  ----------------- ShoutError --------------------
51
55
  */
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-shout
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
5
- prerelease:
4
+ version: 2.2.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Jared Jennings
@@ -10,7 +9,7 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2011-11-15 00:00:00.000000000Z
12
+ date: 2012-12-09 00:00:00.000000000 Z
14
13
  dependencies: []
15
14
  description: Ruby bindings for libshout 2, a "Library which can be used to write a
16
15
  source client like ices" for Icecast (http://www.icecast.org/download.php).
@@ -28,26 +27,26 @@ files:
28
27
  - ext/shout_ext.c
29
28
  - lib/shout.rb
30
29
  homepage: http://github.com/niko/ruby-shout
31
- licenses: []
30
+ licenses:
31
+ - BSD License
32
+ metadata: {}
32
33
  post_install_message:
33
34
  rdoc_options: []
34
35
  require_paths:
35
36
  - lib
36
37
  required_ruby_version: !ruby/object:Gem::Requirement
37
- none: false
38
38
  requirements:
39
- - - ! '>='
39
+ - - ">="
40
40
  - !ruby/object:Gem::Version
41
41
  version: '0'
42
42
  required_rubygems_version: !ruby/object:Gem::Requirement
43
- none: false
44
43
  requirements:
45
- - - ! '>='
44
+ - - ">="
46
45
  - !ruby/object:Gem::Version
47
46
  version: '0'
48
47
  requirements: []
49
48
  rubyforge_project: ruby-shout
50
- rubygems_version: 1.8.10
49
+ rubygems_version: 2.5.1
51
50
  signing_key:
52
51
  specification_version: 3
53
52
  summary: Send audio over the network to an Icecast server