standard_tasks 0.2.0.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +2 -2
- data/VERSION.yml +2 -2
- data/lib/standard_tasks/tasks.rb +2 -1
- data/standard_tasks.gemspec +8 -2
- metadata +31 -5
data/Rakefile
CHANGED
@@ -19,8 +19,8 @@ Jeweler::Tasks.new do |gem|
|
|
19
19
|
gem.description = gem.summary
|
20
20
|
gem.email = "peter@hoeg.com"
|
21
21
|
gem.authors = ["Peter Hoeg"]
|
22
|
-
|
23
|
-
|
22
|
+
gem.add_runtime_dependency 'jsmin', '>= 1.0'
|
23
|
+
gem.add_development_dependency 'rspec', '> 2'
|
24
24
|
end
|
25
25
|
Jeweler::RubygemsDotOrgTasks.new
|
26
26
|
|
data/VERSION.yml
CHANGED
data/lib/standard_tasks/tasks.rb
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
namespace :clean do
|
2
2
|
|
3
|
-
desc 'Remove all.{js,css}
|
3
|
+
desc 'Remove generated all.{js,css} files, backup files and strip trailing whitespace'
|
4
4
|
task :all do
|
5
5
|
Dir.glob("public/**/all.{js,css}") { |f| safe_unlink f }
|
6
|
+
Dir.glob("**/*.{rb,feature}") { |f| system "sed -i 's/[ \t]\+$//g' #{f}" }
|
6
7
|
Dir.glob("**/*~") { |f| safe_unlink f }
|
7
8
|
end
|
8
9
|
|
data/standard_tasks.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{standard_tasks}
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.2.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Peter Hoeg"]
|
12
|
-
s.date = %q{2011-01-
|
12
|
+
s.date = %q{2011-01-11}
|
13
13
|
s.description = %q{A set of standard tasks for various clean-up and housekeeping jobs}
|
14
14
|
s.email = %q{peter@hoeg.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -51,12 +51,16 @@ Gem::Specification.new do |s|
|
|
51
51
|
s.add_development_dependency(%q<rspec>, [">= 0"])
|
52
52
|
s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
|
53
53
|
s.add_development_dependency(%q<rcov>, [">= 0"])
|
54
|
+
s.add_runtime_dependency(%q<jsmin>, [">= 1.0"])
|
55
|
+
s.add_development_dependency(%q<rspec>, ["> 2"])
|
54
56
|
else
|
55
57
|
s.add_dependency(%q<jsmin>, [">= 0"])
|
56
58
|
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
57
59
|
s.add_dependency(%q<rspec>, [">= 0"])
|
58
60
|
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
59
61
|
s.add_dependency(%q<rcov>, [">= 0"])
|
62
|
+
s.add_dependency(%q<jsmin>, [">= 1.0"])
|
63
|
+
s.add_dependency(%q<rspec>, ["> 2"])
|
60
64
|
end
|
61
65
|
else
|
62
66
|
s.add_dependency(%q<jsmin>, [">= 0"])
|
@@ -64,6 +68,8 @@ Gem::Specification.new do |s|
|
|
64
68
|
s.add_dependency(%q<rspec>, [">= 0"])
|
65
69
|
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
66
70
|
s.add_dependency(%q<rcov>, [">= 0"])
|
71
|
+
s.add_dependency(%q<jsmin>, [">= 1.0"])
|
72
|
+
s.add_dependency(%q<rspec>, ["> 2"])
|
67
73
|
end
|
68
74
|
end
|
69
75
|
|
metadata
CHANGED
@@ -5,9 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 2
|
8
|
-
-
|
9
|
-
|
10
|
-
version: 0.2.0.0
|
8
|
+
- 1
|
9
|
+
version: 0.2.1
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- Peter Hoeg
|
@@ -15,7 +14,7 @@ autorequire:
|
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
17
16
|
|
18
|
-
date: 2011-01-
|
17
|
+
date: 2011-01-11 00:00:00 +08:00
|
19
18
|
default_executable:
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
@@ -87,6 +86,33 @@ dependencies:
|
|
87
86
|
type: :development
|
88
87
|
prerelease: false
|
89
88
|
version_requirements: *id005
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: jsmin
|
91
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
92
|
+
none: false
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
segments:
|
97
|
+
- 1
|
98
|
+
- 0
|
99
|
+
version: "1.0"
|
100
|
+
type: :runtime
|
101
|
+
prerelease: false
|
102
|
+
version_requirements: *id006
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: rspec
|
105
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
106
|
+
none: false
|
107
|
+
requirements:
|
108
|
+
- - ">"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
segments:
|
111
|
+
- 2
|
112
|
+
version: "2"
|
113
|
+
type: :development
|
114
|
+
prerelease: false
|
115
|
+
version_requirements: *id007
|
90
116
|
description: A set of standard tasks for various clean-up and housekeeping jobs
|
91
117
|
email: peter@hoeg.com
|
92
118
|
executables: []
|
@@ -124,7 +150,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
124
150
|
requirements:
|
125
151
|
- - ">="
|
126
152
|
- !ruby/object:Gem::Version
|
127
|
-
hash:
|
153
|
+
hash: 4212482557669773351
|
128
154
|
segments:
|
129
155
|
- 0
|
130
156
|
version: "0"
|