isrc 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +13 -5
  2. data/lib/isrc.rb +8 -10
  3. data/lib/isrc/version.rb +1 -1
  4. metadata +17 -17
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: bd97834b5c09da196ffc4e68c34b6be56cc63ed7
4
- data.tar.gz: 0159b3fe894a23048a316f50818e3dc83b6fdc97
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ YmUyNDdhNjQ4OTQyNTBmY2U1NWI2OThiOWY0MjI2YmJmN2FlMmUwMQ==
5
+ data.tar.gz: !binary |-
6
+ MWRkZDU1NTk4MWI1ZWVmZWJjZWM2NTQ4ZDhjOWQxOGU5MDI2YjI2Ng==
5
7
  SHA512:
6
- metadata.gz: da759b2fdeb7f8e97e593002ca9ab2c3aa2f9cfff4f12b68614e1c6a4384c499dc7df87458a8862856dbef0ba8791ef55a0a6b92825fd2a095700e5cbd1184cd
7
- data.tar.gz: a1c1f55955dbcacca8d21f4c0adadfe179395a478370f3522dfa1e284dba66712b0104d62f0fa31a006e723be055d841a93a53dad5111760d3bc2c1cd583f49a
8
+ metadata.gz: !binary |-
9
+ MWFmZDNhMmQ3NjNjODQ5YjRkMWE5ZWU3NWVlY2FkOWUyZjRjMGI5MjhmMjBm
10
+ OGE1Y2ZkYzUxN2QxMDRhNWNlMGI4MGMyN2MyZmYzNWM1YTExNDE0Mjk4NDFi
11
+ Mjg5MjZhZDQ3MTc1MDc0YmRmMDQwNzA1MGNlMzMyZTIwN2NkMjk=
12
+ data.tar.gz: !binary |-
13
+ NGExMmMyMDRhZDc0OWYyNDljYTg3ZTI5MmIyMDYyZWE3ZjYxMWQ3ZDY3ZWJi
14
+ MGQwOWQ1YzZlOGFhMDUwOWU5MzVlYjU3NzhkNmZmNWQ5ZjUwMGE5N2MxMzk1
15
+ NTM0NjdjZjJmMjgyZTA2ZGQ3ZDE3MDRkYzNhN2VmZDQ0MWE3ODc=
@@ -44,8 +44,6 @@ module ISRC
44
44
  # if that didn't work, strip out all meta elements and try greatest to least number of song pieces
45
45
 
46
46
  # TODO we shouldn't allow one letter or two letter title requests
47
- # TODO remove stop words
48
- # TODO detect when meta == title pieces
49
47
 
50
48
  pieces_count = pieces[:title].size
51
49
 
@@ -166,16 +164,16 @@ module ISRC
166
164
  # 'ice.event.y' => '65',
167
165
  # 'ice.event.left' => 'false',
168
166
  # 'ice.event.right' => 'false',
169
- 'T5000782701386267377497:ars_form:search_button' => 'Search',
170
- 'T5000782701386267377497:ars_form:isrc_code' => '',
171
- 'T5000782701386267377497:ars_form:rec_title_idx' => '',
172
- 'T5000782701386267377497:ars_form:rec_title' => opts[:title],
173
- 'T5000782701386267377497:ars_form:rec_band_artist_idx' => '',
174
- 'T5000782701386267377497:ars_form:rec_band_artist' => opts[:artist],
167
+ 'T6400388221404841317247:ars_form:search_button' => 'Search',
168
+ 'T6400388221404841317247:ars_form:isrc_code' => '',
169
+ 'T6400388221404841317247:ars_form:rec_title_idx' => '',
170
+ 'T6400388221404841317247:ars_form:rec_title' => opts[:title],
171
+ 'T6400388221404841317247:ars_form:rec_band_artist_idx' => '',
172
+ 'T6400388221404841317247:ars_form:rec_band_artist' => opts[:artist],
175
173
  'javax.faces.RenderKitId' => 'ICEfacesRenderKit',
176
174
  'javax.faces.ViewState' => view_state,
177
175
  'icefacesCssUpdates' => '',
178
- 'T5000782701386267377497:ars_form' => '',
176
+ 'T6400388221404841317247:ars_form' => '',
179
177
  'ice.session' => ice_session,
180
178
  'ice.view' => view_state,
181
179
  'ice.focus' => '',
@@ -190,7 +188,7 @@ module ISRC
190
188
  # creates an array representation of the table:
191
189
  # artist, title, isrc, rights holder, released, time
192
190
 
193
- isrc_table = Nokogiri::HTML(isrc_search.body).css("table[id='T5000782701386267377497:ars_form:searchResultsTable'] tbody tr")
191
+ isrc_table = Nokogiri::HTML(isrc_search.body).css("table[id='T6400388221404841317247:ars_form:searchResultsTable'] tbody tr")
194
192
  isrc_table.map do |m|
195
193
  columns = m.css('td')
196
194
 
@@ -1,3 +1,3 @@
1
1
  module ISRC
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
metadata CHANGED
@@ -1,83 +1,83 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isrc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Bianco
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-29 00:00:00.000000000 Z
11
+ date: 2014-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - ! '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
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'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: nokogiri
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - ! '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - ! '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: mechanize
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - ! '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - ! '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - ! '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: guard
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - ! '>='
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - ! '>='
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  description: Pull ISRC codes from PPLK UK's database
@@ -87,8 +87,8 @@ executables: []
87
87
  extensions: []
88
88
  extra_rdoc_files: []
89
89
  files:
90
- - ".gitignore"
91
- - ".rspec"
90
+ - .gitignore
91
+ - .rspec
92
92
  - Gemfile
93
93
  - Guardfile
94
94
  - LICENSE
@@ -110,17 +110,17 @@ require_paths:
110
110
  - lib
111
111
  required_ruby_version: !ruby/object:Gem::Requirement
112
112
  requirements:
113
- - - ">="
113
+ - - ! '>='
114
114
  - !ruby/object:Gem::Version
115
115
  version: '0'
116
116
  required_rubygems_version: !ruby/object:Gem::Requirement
117
117
  requirements:
118
- - - ">="
118
+ - - ! '>='
119
119
  - !ruby/object:Gem::Version
120
120
  version: '0'
121
121
  requirements: []
122
122
  rubyforge_project:
123
- rubygems_version: 2.2.0
123
+ rubygems_version: 2.1.11
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: Pull ISRC codes from PPLK UK's database