rightmove_wrangler 0.1.1 → 0.1.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.
@@ -1,3 +1,3 @@
1
1
  module RightmoveWrangler
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -74,10 +74,10 @@ module RightmoveWrangler
74
74
  threads = []
75
75
  Dir.foreach(@options[:path]) do |file|
76
76
  $stdout.puts "Checking #{file}"
77
- if match = file =~ /\.(zip|blm)/i
77
+ if match = /\.(zip|blm)/i.match(file)
78
78
  threads << Thread.new do
79
79
  $stdout.puts "Working on #{file}"
80
- send("work_#{match[1]}_file".to_sym)
80
+ send("work_#{match}_file".to_sym)
81
81
  end
82
82
  end
83
83
  end
@@ -9,7 +9,7 @@ Gem::Specification.new do |gem|
9
9
  gem.homepage = "http://github.com/corewebdesign/rightmove_wrangler"
10
10
 
11
11
  gem.files = `git ls-files`.split($\)
12
- gem.executables = ["rightmove_wrangler", "rightmove_wranglerd"]
12
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
13
13
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
14
14
  gem.name = "rightmove_wrangler"
15
15
  gem.require_paths = ["lib"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rightmove_wrangler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: