music-utils 1.2.2 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
File without changes
data/.gitignore CHANGED
@@ -14,3 +14,5 @@ pkg/
14
14
  *.*~
15
15
  *.*#
16
16
 
17
+ # bundle viz file
18
+ gem_graph.png
data/.rvmrc ADDED
@@ -0,0 +1 @@
1
+ rvm use --create 1.9.2@music-utils
@@ -1,3 +1,10 @@
1
+ ## 1.2.3 (Jul 23, 2012)
2
+
3
+ Features:
4
+
5
+ - Minor changes to make specs compatible with ruby v1.9.3
6
+
7
+
1
8
  ## 1.2.2 (Jun 28, 2011)
2
9
 
3
10
  Features:
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- music-utils (1.2.2)
4
+ music-utils (1.2.3)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -16,12 +16,15 @@ GEM
16
16
  rspec-expectations (2.6.0)
17
17
  diff-lcs (~> 1.1.2)
18
18
  rspec-mocks (2.6.0)
19
+ rubygems-test (0.4.3)
20
+ rake (>= 0.8.7)
19
21
 
20
22
  PLATFORMS
21
23
  ruby
22
24
 
23
25
  DEPENDENCIES
24
- bundler
26
+ bundler (>= 1.0.15)
25
27
  music-utils!
26
28
  rake (>= 0.8)
27
29
  rspec
30
+ rubygems-test (~> 0.4)
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License
2
2
 
3
- Copyright (c) 2011 Jorge Luis Pérez (jorgeluis700@gmail.com)
3
+ Copyright (c) 2011 Jorge Luis Pérez (jolisper@gmail.com)
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -62,6 +62,10 @@ To run the tests:
62
62
 
63
63
  $ bin/rake
64
64
 
65
+ or:
66
+
67
+ $ ruby bin/rake
68
+
65
69
 
66
70
  To Do
67
71
  -----
data/Rakefile CHANGED
@@ -3,6 +3,9 @@ require 'rspec/core/rake_task'
3
3
 
4
4
  task :default => [:spec]
5
5
 
6
+ desc "Run all test"
7
+ task :test => [:spec]
8
+
6
9
  # RSpec tasks
7
10
  desc "Run all examples"
8
11
  RSpec::Core::RakeTask.new(:spec) do |spec|
@@ -32,4 +35,4 @@ end
32
35
  desc "Run profiler"
33
36
  task :profile do
34
37
  `ruby -w -rprofile benchmark/music-utils_bm.rb 1000`
35
- end
38
+ end
data/bin/rake CHANGED
@@ -1,3 +1,4 @@
1
- #!/bin/bash
1
+ #!/usr/bin/env ruby
2
2
 
3
- bundle exec rake $1
3
+ # Run rake in bundler sandbox, you can add any params
4
+ exec "bundle exec rake #{ARGV.join(' ')}"
@@ -1,3 +1,3 @@
1
1
  module MusicUtils
2
- VERSION = '1.2.2'
2
+ VERSION = '1.2.3'
3
3
  end
@@ -25,7 +25,8 @@ Gem::Specification.new do |s|
25
25
 
26
26
  # Dependencies
27
27
  s.add_development_dependency "rake", ">= 0.8"
28
- s.add_development_dependency "bundler"
28
+ s.add_development_dependency "bundler", ">= 1.0.15"
29
29
  s.add_development_dependency "rspec"
30
-
30
+ s.add_development_dependency "rubygems-test", "~> 0.4"
31
+
31
32
  end
@@ -1,7 +1,7 @@
1
1
  require 'music-utils/interval/interval'
2
+ include MusicUtils
2
3
 
3
4
  describe MusicUtils::Interval do
4
- include MusicUtils
5
5
 
6
6
  context "Number of intervals" do
7
7
  it "the number of simple interval do-mi should be a 3rd" do
@@ -1,7 +1,7 @@
1
1
  require 'music-utils'
2
+ include MusicUtils::Scales
2
3
 
3
4
  describe MusicUtils do
4
- include MusicUtils::Scales
5
5
 
6
6
  context "Intervals" do
7
7
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: music-utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-06-28 00:00:00.000000000Z
12
+ date: 2012-07-24 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
16
- requirement: &16195680 !ruby/object:Gem::Requirement
16
+ requirement: &10971940 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,21 +21,21 @@ dependencies:
21
21
  version: '0.8'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *16195680
24
+ version_requirements: *10971940
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: bundler
27
- requirement: &16195080 !ruby/object:Gem::Requirement
27
+ requirement: &10971280 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
31
31
  - !ruby/object:Gem::Version
32
- version: '0'
32
+ version: 1.0.15
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *16195080
35
+ version_requirements: *10971280
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rspec
38
- requirement: &16194380 !ruby/object:Gem::Requirement
38
+ requirement: &10970620 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,18 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *16194380
46
+ version_requirements: *10970620
47
+ - !ruby/object:Gem::Dependency
48
+ name: rubygems-test
49
+ requirement: &10912180 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: '0.4'
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: *10912180
47
58
  description: Utils to classify music intervals, create scales and more. See README.md
48
59
  and CHANGELOG.md on homepage for more info.
49
60
  email:
@@ -53,7 +64,9 @@ executables:
53
64
  extensions: []
54
65
  extra_rdoc_files: []
55
66
  files:
67
+ - .gemtest
56
68
  - .gitignore
69
+ - .rvmrc
57
70
  - CHANGELOG.md
58
71
  - Gemfile
59
72
  - Gemfile.lock
@@ -89,7 +102,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
89
102
  version: '0'
90
103
  segments:
91
104
  - 0
92
- hash: 3529482449076095107
105
+ hash: 3204244944507975228
93
106
  required_rubygems_version: !ruby/object:Gem::Requirement
94
107
  none: false
95
108
  requirements:
@@ -98,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
111
  version: 1.3.6
99
112
  requirements: []
100
113
  rubyforge_project:
101
- rubygems_version: 1.8.5
114
+ rubygems_version: 1.8.10
102
115
  signing_key:
103
116
  specification_version: 3
104
117
  summary: Utils for common music tasks.