merb-more 0.9.2 → 0.9.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +10 -6
- data/lib/merb-more.rb +1 -0
- metadata +23 -11
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.3"
|
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.3"
|
8
8
|
end
|
9
9
|
|
10
10
|
require "rake/clean"
|
@@ -14,7 +14,7 @@ include FileUtils
|
|
14
14
|
|
15
15
|
gems = %w[
|
16
16
|
merb-action-args merb-assets merb-gen merb-haml
|
17
|
-
merb-builder merb-mailer merb-parts merb-cache
|
17
|
+
merb-builder merb-mailer merb-parts merb-cache merb-freezer
|
18
18
|
]
|
19
19
|
|
20
20
|
merb_more_spec = Gem::Specification.new do |s|
|
@@ -45,6 +45,7 @@ merb_spec = Gem::Specification.new do |s|
|
|
45
45
|
s.files = %w( LICENSE README Rakefile TODO )
|
46
46
|
s.add_dependency "merb-core", "= #{Merb::VERSION}"
|
47
47
|
s.add_dependency "merb-more", "= #{Merb::MORE_VERSION}"
|
48
|
+
s.add_dependency "mongrel", ">= 1.0.1"
|
48
49
|
end
|
49
50
|
|
50
51
|
CLEAN.include ["**/.*.sw?", "pkg", "lib/*.bundle", "*.gem", "doc/rdoc", ".config", "coverage", "cache", "lib/merb-more.rb"]
|
@@ -64,10 +65,13 @@ Rake::GemPackageTask.new(merb_spec) do |package|
|
|
64
65
|
package.gem_spec = merb_spec
|
65
66
|
end
|
66
67
|
|
68
|
+
gem_home = ENV['GEM_HOME'] ? "GEM_HOME=#{ENV['GEM_HOME']}" : ""
|
69
|
+
install_home = ENV['GEM_HOME'] ? "-i #{ENV['GEM_HOME']}" : ""
|
70
|
+
|
67
71
|
desc "Install it all"
|
68
72
|
task :install => [:install_gems, :package] do
|
69
|
-
sh %{#{SUDO} gem install --local pkg/merb-more-#{Merb::MORE_VERSION}.gem --no-update-sources}
|
70
|
-
sh %{#{SUDO} gem install --local pkg/merb-#{Merb::MORE_VERSION}.gem --no-update-sources}
|
73
|
+
sh %{#{SUDO} gem install #{install_home} --local pkg/merb-more-#{Merb::MORE_VERSION}.gem --no-update-sources}
|
74
|
+
sh %{#{SUDO} gem install #{install_home} --local pkg/merb-#{Merb::MORE_VERSION}.gem --no-update-sources}
|
71
75
|
end
|
72
76
|
|
73
77
|
desc "Build the merb-more gems"
|
@@ -80,7 +84,7 @@ end
|
|
80
84
|
desc "Install the merb-more sub-gems"
|
81
85
|
task :install_gems do
|
82
86
|
gems.each do |dir|
|
83
|
-
Dir.chdir(dir){ sh "
|
87
|
+
Dir.chdir(dir){ sh "rake install" }
|
84
88
|
end
|
85
89
|
end
|
86
90
|
|
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.3
|
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-05-04 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
requirements:
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 0.9.
|
22
|
+
version: 0.9.3
|
23
23
|
version:
|
24
24
|
- !ruby/object:Gem::Dependency
|
25
25
|
name: merb-action-args
|
@@ -28,7 +28,7 @@ dependencies:
|
|
28
28
|
requirements:
|
29
29
|
- - ">="
|
30
30
|
- !ruby/object:Gem::Version
|
31
|
-
version: 0.9.
|
31
|
+
version: 0.9.3
|
32
32
|
- - <=
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: "1.0"
|
@@ -40,7 +40,7 @@ dependencies:
|
|
40
40
|
requirements:
|
41
41
|
- - ">="
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: 0.9.
|
43
|
+
version: 0.9.3
|
44
44
|
- - <=
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: "1.0"
|
@@ -52,7 +52,7 @@ dependencies:
|
|
52
52
|
requirements:
|
53
53
|
- - ">="
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: 0.9.
|
55
|
+
version: 0.9.3
|
56
56
|
- - <=
|
57
57
|
- !ruby/object:Gem::Version
|
58
58
|
version: "1.0"
|
@@ -64,7 +64,7 @@ dependencies:
|
|
64
64
|
requirements:
|
65
65
|
- - ">="
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: 0.9.
|
67
|
+
version: 0.9.3
|
68
68
|
- - <=
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: "1.0"
|
@@ -76,7 +76,7 @@ dependencies:
|
|
76
76
|
requirements:
|
77
77
|
- - ">="
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
version: 0.9.
|
79
|
+
version: 0.9.3
|
80
80
|
- - <=
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: "1.0"
|
@@ -88,7 +88,7 @@ dependencies:
|
|
88
88
|
requirements:
|
89
89
|
- - ">="
|
90
90
|
- !ruby/object:Gem::Version
|
91
|
-
version: 0.9.
|
91
|
+
version: 0.9.3
|
92
92
|
- - <=
|
93
93
|
- !ruby/object:Gem::Version
|
94
94
|
version: "1.0"
|
@@ -100,7 +100,7 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 0.9.
|
103
|
+
version: 0.9.3
|
104
104
|
- - <=
|
105
105
|
- !ruby/object:Gem::Version
|
106
106
|
version: "1.0"
|
@@ -112,7 +112,19 @@ dependencies:
|
|
112
112
|
requirements:
|
113
113
|
- - ">="
|
114
114
|
- !ruby/object:Gem::Version
|
115
|
-
version: 0.9.
|
115
|
+
version: 0.9.3
|
116
|
+
- - <=
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: "1.0"
|
119
|
+
version:
|
120
|
+
- !ruby/object:Gem::Dependency
|
121
|
+
name: merb-freezer
|
122
|
+
version_requirement:
|
123
|
+
version_requirements: !ruby/object:Gem::Requirement
|
124
|
+
requirements:
|
125
|
+
- - ">="
|
126
|
+
- !ruby/object:Gem::Version
|
127
|
+
version: 0.9.3
|
116
128
|
- - <=
|
117
129
|
- !ruby/object:Gem::Version
|
118
130
|
version: "1.0"
|