discid 1.1.1 → 1.1.2

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: 0c3cc85c072a66db9fc8e7605a6644b7fc2f2b76
4
- data.tar.gz: 8cdc8025ea2cae33ded28153d2174fd37014cae0
3
+ metadata.gz: 28a65d260196225ba6d0e4f3f99ac8de7b4fa054
4
+ data.tar.gz: 7fc412103cf18da05a9949f1fa703365540208cb
5
5
  SHA512:
6
- metadata.gz: 121341a54ea75fbc7aaee037a2d822efa708b9f86685d79d62a2b1cad2d7f65b9348731fb5bb37fa1f975f21670578992d8c31579e99e2c79beb82048c0f8a16
7
- data.tar.gz: 724bf5ff83a67ab405b41e375b2bbc77a9d2bcd7631065258529e9482234552297b6b7deac9c575911f17be152eff217d81c97908e97af4a9c0e4f67ddcd939b
6
+ metadata.gz: 976957eecadb7488e4ed07c4702756580b7c419759828e12d9f8fc0245510c5266e499190bc3826f274dd645f97573b939717848f1b356d73f0008ea3511a5e7
7
+ data.tar.gz: c2f6517c1667b01de92ef23ff0beaf35fb8146eecce16772b715094f4ddf7f558541136ce4c8108e66a6e504dc9def1172dc6a5641a5b68b4cd979840ecff4b6
data/.travis.yml CHANGED
@@ -1,14 +1,18 @@
1
1
  language: ruby
2
+ cache: bundler
2
3
  rvm:
3
4
  - 1.8.7
4
5
  - 1.9.3
5
6
  - 2.0.0
6
7
  - 2.1.0
7
8
  - 2.2.3
9
+ - 2.3.0
8
10
  - jruby-18mode # JRuby in 1.8 mode
9
11
  - jruby-19mode # JRuby in 1.9 mode
10
12
  - rbx-2
11
- before_install:
12
- - sudo apt-get update -qq
13
- - sudo apt-get install -qq libdiscid0
13
+ addons:
14
+ apt:
15
+ packages:
16
+ - libdiscid0
17
+ sudo: false
14
18
  script: CODECLIMATE_REPO_TOKEN=40f40f3d9e79b5e7051d7564172541932d6799ba585a5ada684695c0fb3e5e5e bundle exec rake test
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.1.2 (2016-02-11)
4
+ * Fixed first and last track being swapped in example readdiscid.rb
5
+ * Restricted dependencies for Ruby 1.8 to maintain compatibility
6
+ * Test against Ruby 2.3
7
+
3
8
  ## 1.1.1 (2015-08-27)
4
9
  * Fixed gem file permissions
5
10
 
data/discid.gemspec CHANGED
@@ -26,13 +26,16 @@ Gem::Specification.new do |spec|
26
26
  spec.add_dependency "ffi", ">= 1.6.0"
27
27
 
28
28
  spec.add_development_dependency "bundler", ">= 1.3"
29
- spec.add_development_dependency "rake"
30
29
  spec.add_development_dependency "yard"
31
30
  spec.add_development_dependency "kramdown"
32
- spec.add_development_dependency "test-unit"
33
31
 
34
32
  # The code coverage is only supported for Ruby >= 1.9
35
33
  if (RUBY_VERSION.split('.').map{|s|s.to_i} <=> [1, 9, 0]) >= 0
34
+ spec.add_development_dependency "rake"
35
+ spec.add_development_dependency "test-unit"
36
36
  spec.add_development_dependency "codeclimate-test-reporter"
37
+ else
38
+ spec.add_development_dependency "rake", "~> 10.4.0"
39
+ spec.add_development_dependency "test-unit", "~> 3.1.0", "< 3.1.4"
37
40
  end
38
41
  end
@@ -37,8 +37,8 @@ print <<EOF
37
37
  Device : #{disc.device}
38
38
  DiscID : #{disc.id}
39
39
  FreeDB ID : #{disc.freedb_id}
40
- First track : #{disc.last_track_number}
41
- Last track : #{disc.first_track_number}
40
+ First track : #{disc.first_track_number}
41
+ Last track : #{disc.last_track_number}
42
42
  Total length: #{disc.seconds} seconds
43
43
  Sectors : #{disc.sectors}
44
44
  EOF
@@ -16,5 +16,5 @@
16
16
 
17
17
  module DiscId
18
18
  # The version of ruby-discid.
19
- VERSION = "1.1.1"
19
+ VERSION = "1.1.2"
20
20
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: discid
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philipp Wolfer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-27 00:00:00.000000000 Z
11
+ date: 2016-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -39,7 +39,7 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.3'
41
41
  - !ruby/object:Gem::Dependency
42
- name: rake
42
+ name: yard
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
@@ -53,7 +53,7 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: yard
56
+ name: kramdown
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ">="
@@ -67,7 +67,7 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: kramdown
70
+ name: rake
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ">="
@@ -120,7 +120,7 @@ files:
120
120
  - ".gitignore"
121
121
  - ".travis.yml"
122
122
  - ".yardopts"
123
- - CHANGES
123
+ - CHANGES.md
124
124
  - Gemfile
125
125
  - LICENSE
126
126
  - README.md
@@ -160,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
160
160
  requirements:
161
161
  - libdiscid >= 0.1.0
162
162
  rubyforge_project:
163
- rubygems_version: 2.4.5.1
163
+ rubygems_version: 2.5.1
164
164
  signing_key:
165
165
  specification_version: 4
166
166
  summary: Ruby bindings for libdiscid