merb-more 0.9.7 → 0.9.8
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +31 -18
- data/lib/merb-more.rb +1 -0
- metadata +26 -13
data/Rakefile
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
## THESE ARE CRUCIAL
|
2
2
|
module Merb
|
3
3
|
# Set this to the version of merb-core that you are building against/for
|
4
|
-
VERSION = "0.9.
|
4
|
+
VERSION = "0.9.8"
|
5
5
|
|
6
6
|
# Set this to the version of merb-more you plan to release
|
7
|
-
MORE_VERSION = "0.9.
|
7
|
+
MORE_VERSION = "0.9.8"
|
8
8
|
end
|
9
9
|
|
10
10
|
GEM_VERSION = Merb::VERSION
|
@@ -17,7 +17,8 @@ include FileUtils
|
|
17
17
|
|
18
18
|
gems = %w[
|
19
19
|
merb-action-args merb-assets merb-gen merb-haml
|
20
|
-
merb-builder merb-mailer merb-parts merb-cache merb-slices
|
20
|
+
merb-builder merb-mailer merb-parts merb-cache merb-slices
|
21
|
+
merb-jquery merb-helpers
|
21
22
|
]
|
22
23
|
|
23
24
|
merb_more_spec = Gem::Specification.new do |s|
|
@@ -63,42 +64,46 @@ Rake::GemPackageTask.new(merb_spec) do |package|
|
|
63
64
|
package.gem_spec = merb_spec
|
64
65
|
end
|
65
66
|
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
67
|
+
desc "Install all gems"
|
68
|
+
task :install do
|
69
|
+
Merb::RakeHelper.install('merb-more', :version => Merb::MORE_VERSION)
|
70
|
+
Merb::RakeHelper.install_package("pkg/merb-#{Merb::MORE_VERSION}.gem")
|
71
|
+
end
|
72
|
+
|
73
|
+
desc "Uninstall all gems"
|
74
|
+
task :uninstall => :uninstall_gems do
|
75
|
+
Merb::RakeHelper.uninstall('merb-more', :version => Merb::MORE_VERSION)
|
76
|
+
Merb::RakeHelper.uninstall('merb', :version => Merb::MORE_VERSION)
|
71
77
|
end
|
72
78
|
|
73
79
|
desc "Build the merb-more gems"
|
74
80
|
task :build_gems do
|
75
81
|
gems.each do |dir|
|
76
|
-
Dir.chdir(dir){ sh "rake package" }
|
82
|
+
Dir.chdir(dir) { sh "#{Gem.ruby} -S rake package" }
|
77
83
|
end
|
78
84
|
end
|
79
85
|
|
80
86
|
desc "Install the merb-more sub-gems"
|
81
87
|
task :install_gems do
|
82
88
|
gems.each do |dir|
|
83
|
-
Dir.chdir(dir){ sh "rake install" }
|
89
|
+
Dir.chdir(dir) { sh "#{Gem.ruby} -S rake install" }
|
84
90
|
end
|
85
91
|
end
|
86
92
|
|
87
93
|
desc "Uninstall the merb-more sub-gems"
|
88
94
|
task :uninstall_gems do
|
89
|
-
gems.each do |
|
90
|
-
sh
|
95
|
+
gems.each do |dir|
|
96
|
+
Dir.chdir(dir) { sh "#{Gem.ruby} -S rake uninstall" }
|
91
97
|
end
|
92
98
|
end
|
93
99
|
|
94
100
|
desc "Clobber the merb-more sub-gems"
|
95
101
|
task :clobber_gems do
|
96
|
-
gems.each do |
|
97
|
-
Dir.chdir(
|
102
|
+
gems.each do |dir|
|
103
|
+
Dir.chdir(dir) { sh "#{Gem.ruby} -S rake clobber" }
|
98
104
|
end
|
99
105
|
end
|
100
106
|
|
101
|
-
|
102
107
|
task :package => ["lib/merb-more.rb"]
|
103
108
|
desc "Create merb-more.rb"
|
104
109
|
task "lib/merb-more.rb" do
|
@@ -122,7 +127,6 @@ task :bundle => [:package, :build_gems] do
|
|
122
127
|
end
|
123
128
|
end
|
124
129
|
|
125
|
-
|
126
130
|
RUBY_FORGE_PROJECT = "merb"
|
127
131
|
|
128
132
|
GROUP_NAME = "merb"
|
@@ -154,11 +158,10 @@ namespace :release do
|
|
154
158
|
desc "Publish Merb More gem to RubyForge, one by one."
|
155
159
|
task :merb_more_gems => [ :build_gems ] do
|
156
160
|
gems.each do |gem|
|
157
|
-
Dir.chdir(gem){ sh "rake release" }
|
161
|
+
Dir.chdir(gem){ sh "#{Gem.ruby} -S rake release" }
|
158
162
|
end
|
159
163
|
end
|
160
164
|
|
161
|
-
|
162
165
|
desc "Publish Merb release files to RubyForge."
|
163
166
|
task :merb => [ :package ] do
|
164
167
|
require 'rubyforge'
|
@@ -179,3 +182,13 @@ namespace :release do
|
|
179
182
|
end
|
180
183
|
end
|
181
184
|
|
185
|
+
desc "Run spec examples for Merb More gems, one by one."
|
186
|
+
task :spec do
|
187
|
+
gems.each do |gem|
|
188
|
+
Dir.chdir(gem) { sh "#{Gem.ruby} -S rake spec" }
|
189
|
+
end
|
190
|
+
end
|
191
|
+
|
192
|
+
desc 'Default: run spec examples for all the gems.'
|
193
|
+
task :default => 'spec'
|
194
|
+
|
data/lib/merb-more.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: merb-more
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ezra Zygmuntowicz
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-10-07 00:00:00 +03:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 0.9.
|
23
|
+
version: 0.9.8
|
24
24
|
version:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: merb-action-args
|
@@ -30,7 +30,7 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.9.
|
33
|
+
version: 0.9.8
|
34
34
|
- - <=
|
35
35
|
- !ruby/object:Gem::Version
|
36
36
|
version: "1.0"
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
requirements:
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 0.9.
|
46
|
+
version: 0.9.8
|
47
47
|
- - <=
|
48
48
|
- !ruby/object:Gem::Version
|
49
49
|
version: "1.0"
|
@@ -56,7 +56,7 @@ dependencies:
|
|
56
56
|
requirements:
|
57
57
|
- - ">="
|
58
58
|
- !ruby/object:Gem::Version
|
59
|
-
version: 0.9.
|
59
|
+
version: 0.9.8
|
60
60
|
- - <=
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: "1.0"
|
@@ -69,7 +69,7 @@ dependencies:
|
|
69
69
|
requirements:
|
70
70
|
- - ">="
|
71
71
|
- !ruby/object:Gem::Version
|
72
|
-
version: 0.9.
|
72
|
+
version: 0.9.8
|
73
73
|
- - <=
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: "1.0"
|
@@ -82,7 +82,7 @@ dependencies:
|
|
82
82
|
requirements:
|
83
83
|
- - ">="
|
84
84
|
- !ruby/object:Gem::Version
|
85
|
-
version: 0.9.
|
85
|
+
version: 0.9.8
|
86
86
|
- - <=
|
87
87
|
- !ruby/object:Gem::Version
|
88
88
|
version: "1.0"
|
@@ -95,7 +95,7 @@ dependencies:
|
|
95
95
|
requirements:
|
96
96
|
- - ">="
|
97
97
|
- !ruby/object:Gem::Version
|
98
|
-
version: 0.9.
|
98
|
+
version: 0.9.8
|
99
99
|
- - <=
|
100
100
|
- !ruby/object:Gem::Version
|
101
101
|
version: "1.0"
|
@@ -108,7 +108,7 @@ dependencies:
|
|
108
108
|
requirements:
|
109
109
|
- - ">="
|
110
110
|
- !ruby/object:Gem::Version
|
111
|
-
version: 0.9.
|
111
|
+
version: 0.9.8
|
112
112
|
- - <=
|
113
113
|
- !ruby/object:Gem::Version
|
114
114
|
version: "1.0"
|
@@ -121,7 +121,7 @@ dependencies:
|
|
121
121
|
requirements:
|
122
122
|
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 0.9.
|
124
|
+
version: 0.9.8
|
125
125
|
- - <=
|
126
126
|
- !ruby/object:Gem::Version
|
127
127
|
version: "1.0"
|
@@ -134,7 +134,7 @@ dependencies:
|
|
134
134
|
requirements:
|
135
135
|
- - ">="
|
136
136
|
- !ruby/object:Gem::Version
|
137
|
-
version: 0.9.
|
137
|
+
version: 0.9.8
|
138
138
|
- - <=
|
139
139
|
- !ruby/object:Gem::Version
|
140
140
|
version: "1.0"
|
@@ -147,7 +147,20 @@ dependencies:
|
|
147
147
|
requirements:
|
148
148
|
- - ">="
|
149
149
|
- !ruby/object:Gem::Version
|
150
|
-
version: 0.9.
|
150
|
+
version: 0.9.8
|
151
|
+
- - <=
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: "1.0"
|
154
|
+
version:
|
155
|
+
- !ruby/object:Gem::Dependency
|
156
|
+
name: merb-helpers
|
157
|
+
type: :runtime
|
158
|
+
version_requirement:
|
159
|
+
version_requirements: !ruby/object:Gem::Requirement
|
160
|
+
requirements:
|
161
|
+
- - ">="
|
162
|
+
- !ruby/object:Gem::Version
|
163
|
+
version: 0.9.8
|
151
164
|
- - <=
|
152
165
|
- !ruby/object:Gem::Version
|
153
166
|
version: "1.0"
|