turingstudio-webloc_cleaner 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/webloc_cleaner.rb +2 -2
- metadata +3 -8
- data/Manifest.txt +0 -9
- data/Rakefile +0 -28
- data/script/console +0 -10
- data/script/destroy +0 -14
- data/script/generate +0 -14
data/lib/webloc_cleaner.rb
CHANGED
@@ -5,7 +5,7 @@ require 'simpleconsole'
|
|
5
5
|
require 'activesupport'
|
6
6
|
|
7
7
|
module WeblocCleaner
|
8
|
-
VERSION = '
|
8
|
+
VERSION = '1.0.2'
|
9
9
|
|
10
10
|
class Controller < SimpleConsole::Controller
|
11
11
|
def default
|
@@ -66,7 +66,7 @@ module WeblocCleaner
|
|
66
66
|
ok = []
|
67
67
|
damaged = []
|
68
68
|
|
69
|
-
Dir[
|
69
|
+
Dir[File.join(path, '**', '*.webloc')].each do |file|
|
70
70
|
if webloc_ok?(file)
|
71
71
|
ok << file
|
72
72
|
else
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: turingstudio-webloc_cleaner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Turing Studio, Inc.
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-02-03 00:00:00 -08:00
|
13
13
|
default_executable: webloc_cleaner
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -41,14 +41,9 @@ extra_rdoc_files:
|
|
41
41
|
- README.rdoc
|
42
42
|
files:
|
43
43
|
- History.txt
|
44
|
-
- Manifest.txt
|
45
44
|
- README.rdoc
|
46
|
-
- Rakefile
|
47
45
|
- bin/webloc_cleaner
|
48
46
|
- lib/webloc_cleaner.rb
|
49
|
-
- script/console
|
50
|
-
- script/destroy
|
51
|
-
- script/generate
|
52
47
|
has_rdoc: true
|
53
48
|
homepage: http://github.com/turingstudio/webloc_cleaner/
|
54
49
|
post_install_message:
|
@@ -70,7 +65,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
70
65
|
version:
|
71
66
|
requirements: []
|
72
67
|
|
73
|
-
rubyforge_project:
|
68
|
+
rubyforge_project:
|
74
69
|
rubygems_version: 1.2.0
|
75
70
|
signing_key:
|
76
71
|
specification_version: 2
|
data/Manifest.txt
DELETED
data/Rakefile
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
%w[rubygems rake rake/clean fileutils newgem rubigen].each { |f| require f }
|
2
|
-
require File.dirname(__FILE__) + '/lib/webloc_cleaner'
|
3
|
-
|
4
|
-
# Generate all the Rake tasks
|
5
|
-
# Run 'rake -T' to see list of generated tasks (from gem root directory)
|
6
|
-
$hoe = Hoe.new('webloc_cleaner', WeblocCleaner::VERSION) do |p|
|
7
|
-
p.developer('The Turing Studio, Inc.', 'support@turingstudio.com')
|
8
|
-
p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
|
9
|
-
# p.rubyforge_name = nil
|
10
|
-
p.extra_deps = [
|
11
|
-
['activesupport', '>= 2.0.2'],
|
12
|
-
['simpleconsole', '>= 0.1.1']
|
13
|
-
]
|
14
|
-
p.extra_dev_deps = [
|
15
|
-
['newgem', ">= #{::Newgem::VERSION}"]
|
16
|
-
]
|
17
|
-
|
18
|
-
p.clean_globs |= %w[**/.DS_Store tmp *.log]
|
19
|
-
# path = (p.rubyforge_name == p.name) ? p.rubyforge_name : "\#{p.rubyforge_name}/\#{p.name}"
|
20
|
-
# p.remote_rdoc_dir = File.join(path.gsub(/^#{p.rubyforge_name}\/?/,''), 'rdoc')
|
21
|
-
# p.rsync_args = '-av --delete --ignore-errors'
|
22
|
-
end
|
23
|
-
|
24
|
-
require 'newgem/tasks' # load /tasks/*.rake
|
25
|
-
Dir['tasks/**/*.rake'].each { |t| load t }
|
26
|
-
|
27
|
-
# TODO - want other tests/tasks run by default? Add them to the list
|
28
|
-
# task :default => [:spec, :features]
|
data/script/console
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# File: script/console
|
3
|
-
irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb'
|
4
|
-
|
5
|
-
libs = " -r irb/completion"
|
6
|
-
# Perhaps use a console_lib to store any extra methods I may want available in the cosole
|
7
|
-
# libs << " -r #{File.dirname(__FILE__) + '/../lib/console_lib/console_logger.rb'}"
|
8
|
-
libs << " -r #{File.dirname(__FILE__) + '/../lib/webloc_cleaner.rb'}"
|
9
|
-
puts "Loading webloc_cleaner gem"
|
10
|
-
exec "#{irb} #{libs} --simple-prompt"
|
data/script/destroy
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
|
3
|
-
|
4
|
-
begin
|
5
|
-
require 'rubigen'
|
6
|
-
rescue LoadError
|
7
|
-
require 'rubygems'
|
8
|
-
require 'rubigen'
|
9
|
-
end
|
10
|
-
require 'rubigen/scripts/destroy'
|
11
|
-
|
12
|
-
ARGV.shift if ['--help', '-h'].include?(ARGV[0])
|
13
|
-
RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
|
14
|
-
RubiGen::Scripts::Destroy.new.run(ARGV)
|
data/script/generate
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
|
3
|
-
|
4
|
-
begin
|
5
|
-
require 'rubigen'
|
6
|
-
rescue LoadError
|
7
|
-
require 'rubygems'
|
8
|
-
require 'rubigen'
|
9
|
-
end
|
10
|
-
require 'rubigen/scripts/generate'
|
11
|
-
|
12
|
-
ARGV.shift if ['--help', '-h'].include?(ARGV[0])
|
13
|
-
RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
|
14
|
-
RubiGen::Scripts::Generate.new.run(ARGV)
|