music_sanitizer 0.0.1 → 1.0.0

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: 371b270b34fc117eb79a812457ecfb9a3c8b6b14
4
- data.tar.gz: e2d6a43e3956c92dc386dff5a8304dc1a88a7ff5
3
+ metadata.gz: a79fe1801decfb148876ec544439c41ce4a7cc02
4
+ data.tar.gz: 414df58e483da9b07ff3a97ba07929fb9aa8cd2c
5
5
  SHA512:
6
- metadata.gz: b51ea59ff10691ea6f5f03bf365b31fa6bdcc5ccc30b6380c1712da11fa49cb9a5d425f8d930a99a3bc41f3c6c29445b1497cfcb2bfce726477ddcf3d1f92588
7
- data.tar.gz: 5f3e30e5fd35ff261507dcb58f39764ee69582dc51adb2759458b864dded809f601d6ea36223cd74b88ef59627805299fec92d317f8cfa69c9d131f218744783
6
+ metadata.gz: 1d7af9bb07d2c85ee3850a8932a29843c3805a10ac0cd8550364d688a5c85f5f68c638c33e67cdd209c28b0137e7f363077e27e75776c14faafc53bd0682355f
7
+ data.tar.gz: a45c7de5e10008ccdec23955e7984184124def50429fca7060ef6c77ed3266f9d53e330ea70cd07b78dba6b556281cdface1f7ada93fd0a3a37b715a29871051
data/.gitignore CHANGED
@@ -15,3 +15,4 @@ spec/reports
15
15
  test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
+ .rake_tasks~
data/.rake_tasks~ ADDED
@@ -0,0 +1,3 @@
1
+ build
2
+ install
3
+ release
@@ -31,7 +31,7 @@ module MusicSanitizer
31
31
  end
32
32
 
33
33
  [
34
- /\(.+?(\)|$)/m,
34
+ /\(.*?(\)|$)/m,
35
35
  /[^a-z0-9]feat(.*?)\s*[^\s]+/i,
36
36
  /[-]+/,
37
37
  /[\s]+/m,
@@ -1,3 +1,3 @@
1
1
  module MusicSanitizer
2
- VERSION = "0.0.1"
2
+ VERSION = "1.0.0"
3
3
  end
@@ -125,6 +125,7 @@ describe MusicSanitizer::Processor do
125
125
  it "should handle non ending (" do
126
126
  MusicSanitizer::Processor.new("Can't Hold Us (Hook Up Front/Intro Radio Edit/Cc Cleane").
127
127
  process.should eq("can't hold us")
128
+ MusicSanitizer::Processor.new("Turn Up For A Check (").process.should eq("turn up for a check")
128
129
  end
129
130
 
130
131
  it "should handle '2ne1'" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: music_sanitizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Linus Oleander
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-18 00:00:00.000000000 Z
11
+ date: 2014-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -60,6 +60,7 @@ extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
62
  - .gitignore
63
+ - .rake_tasks~
63
64
  - .rspec
64
65
  - Gemfile
65
66
  - LICENSE.txt