merb-more 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/LICENSE +0 -0
  2. data/README +0 -0
  3. data/Rakefile +118 -0
  4. data/TODO +0 -0
  5. data/lib/merb-more.rb +8 -0
  6. metadata +161 -0
data/LICENSE ADDED
File without changes
data/README ADDED
File without changes
data/Rakefile ADDED
@@ -0,0 +1,118 @@
1
+ ## THESE ARE CRUCIAL
2
+ module Merb
3
+ # Set this to the version of merb-core that you are building against/for
4
+ VERSION = "0.9.2"
5
+
6
+ # Set this to the version of merb-more you plan to release
7
+ MORE_VERSION = "0.9.2"
8
+ end
9
+
10
+ require "rake/clean"
11
+ require "rake/gempackagetask"
12
+ require 'fileutils'
13
+ include FileUtils
14
+
15
+ gems = %w[
16
+ merb-action-args merb-assets merb-gen merb-haml
17
+ merb-builder merb-mailer merb-parts merb-cache
18
+ ]
19
+
20
+ merb_more_spec = Gem::Specification.new do |s|
21
+ s.name = "merb-more"
22
+ s.version = Merb::MORE_VERSION
23
+ s.platform = Gem::Platform::RUBY
24
+ s.author = "Ezra Zygmuntowicz"
25
+ s.email = "ez@engineyard.com"
26
+ s.homepage = "http://www.merbivore.com"
27
+ s.summary = "(merb - merb-core) == merb-more. The Full Stack. Take what you need; leave what you don't."
28
+ s.description = s.summary
29
+ s.files = %w( LICENSE README Rakefile TODO lib/merb-more.rb )
30
+ s.add_dependency "merb-core", ">= #{Merb::VERSION}"
31
+ gems.each do |gem|
32
+ s.add_dependency gem, [">= #{Merb::VERSION}", "<= 1.0"]
33
+ end
34
+ end
35
+
36
+ merb_spec = Gem::Specification.new do |s|
37
+ s.name = "merb"
38
+ s.version = Merb::MORE_VERSION
39
+ s.platform = Gem::Platform::RUBY
40
+ s.author = "Ezra Zygmuntowicz"
41
+ s.email = "ez@engineyard.com"
42
+ s.homepage = "http://www.merbivore.com"
43
+ s.summary = "(merb-core + merb-more) == all of Merb"
44
+ s.description = s.summary
45
+ s.files = %w( LICENSE README Rakefile TODO )
46
+ s.add_dependency "merb-core", "= #{Merb::VERSION}"
47
+ s.add_dependency "merb-more", "= #{Merb::MORE_VERSION}"
48
+ end
49
+
50
+ CLEAN.include ["**/.*.sw?", "pkg", "lib/*.bundle", "*.gem", "doc/rdoc", ".config", "coverage", "cache", "lib/merb-more.rb"]
51
+
52
+ windows = (PLATFORM =~ /win32|cygwin/) rescue nil
53
+
54
+ SUDO = windows ? "" : "sudo"
55
+
56
+ # desc "Installs Merb More."
57
+ # task :default => :install
58
+
59
+ Rake::GemPackageTask.new(merb_more_spec) do |package|
60
+ package.gem_spec = merb_more_spec
61
+ end
62
+
63
+ Rake::GemPackageTask.new(merb_spec) do |package|
64
+ package.gem_spec = merb_spec
65
+ end
66
+
67
+ desc "Install it all"
68
+ 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}
71
+ end
72
+
73
+ desc "Build the merb-more gems"
74
+ task :build_gems do
75
+ gems.each do |dir|
76
+ Dir.chdir(dir){ sh "rake package" }
77
+ end
78
+ end
79
+
80
+ desc "Install the merb-more sub-gems"
81
+ task :install_gems do
82
+ gems.each do |dir|
83
+ Dir.chdir(dir){ sh "#{SUDO} rake install" }
84
+ end
85
+ end
86
+
87
+ desc "Uninstall the merb-more sub-gems"
88
+ task :uninstall_gems do
89
+ gems.each do |sub_gem|
90
+ sh %{#{SUDO} gem uninstall #{sub_gem}}
91
+ end
92
+ end
93
+
94
+ task :package => ["lib/merb-more.rb"]
95
+ desc "Create merb-more.rb"
96
+ task "lib/merb-more.rb" do
97
+ mkdir_p "lib"
98
+ File.open("lib/merb-more.rb","w+") do |file|
99
+ file.puts "### AUTOMATICALLY GENERATED. DO NOT EDIT."
100
+ gems.each do |gem|
101
+ next if gem == "merb-gen"
102
+ file.puts "require '#{gem}'"
103
+ end
104
+ end
105
+ end
106
+
107
+ desc "Bundle up all the merb-more gems"
108
+ task :bundle => [:package, :build_gems] do
109
+ mkdir_p "bundle"
110
+ cp "pkg/merb-#{Merb::MORE_VERSION}.gem", "bundle"
111
+ cp "pkg/merb-more-#{Merb::MORE_VERSION}.gem", "bundle"
112
+ gems.each do |gem|
113
+ File.open("#{gem}/Rakefile") do |rakefile|
114
+ rakefile.read.detect {|l| l =~ /^VERSION\s*=\s*"(.*)"$/ }
115
+ sh %{cp #{gem}/pkg/#{gem}-#{$1}.gem bundle/}
116
+ end
117
+ end
118
+ end
data/TODO ADDED
File without changes
data/lib/merb-more.rb ADDED
@@ -0,0 +1,8 @@
1
+ ### AUTOMATICALLY GENERATED. DO NOT EDIT.
2
+ require 'merb-action-args'
3
+ require 'merb-assets'
4
+ require 'merb-haml'
5
+ require 'merb-builder'
6
+ require 'merb-mailer'
7
+ require 'merb-parts'
8
+ require 'merb-cache'
metadata ADDED
@@ -0,0 +1,161 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: merb-more
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.9.2
5
+ platform: ruby
6
+ authors:
7
+ - Ezra Zygmuntowicz
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2008-03-24 00:00:00 -05:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: merb-core
17
+ version_requirement:
18
+ version_requirements: !ruby/object:Gem::Requirement
19
+ requirements:
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 0.9.2
23
+ version:
24
+ - !ruby/object:Gem::Dependency
25
+ name: merb-action-args
26
+ version_requirement:
27
+ version_requirements: !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ version: 0.9.2
32
+ - - <=
33
+ - !ruby/object:Gem::Version
34
+ version: "1.0"
35
+ version:
36
+ - !ruby/object:Gem::Dependency
37
+ name: merb-assets
38
+ version_requirement:
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: 0.9.2
44
+ - - <=
45
+ - !ruby/object:Gem::Version
46
+ version: "1.0"
47
+ version:
48
+ - !ruby/object:Gem::Dependency
49
+ name: merb-gen
50
+ version_requirement:
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: 0.9.2
56
+ - - <=
57
+ - !ruby/object:Gem::Version
58
+ version: "1.0"
59
+ version:
60
+ - !ruby/object:Gem::Dependency
61
+ name: merb-haml
62
+ version_requirement:
63
+ version_requirements: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: 0.9.2
68
+ - - <=
69
+ - !ruby/object:Gem::Version
70
+ version: "1.0"
71
+ version:
72
+ - !ruby/object:Gem::Dependency
73
+ name: merb-builder
74
+ version_requirement:
75
+ version_requirements: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - ">="
78
+ - !ruby/object:Gem::Version
79
+ version: 0.9.2
80
+ - - <=
81
+ - !ruby/object:Gem::Version
82
+ version: "1.0"
83
+ version:
84
+ - !ruby/object:Gem::Dependency
85
+ name: merb-mailer
86
+ version_requirement:
87
+ version_requirements: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - ">="
90
+ - !ruby/object:Gem::Version
91
+ version: 0.9.2
92
+ - - <=
93
+ - !ruby/object:Gem::Version
94
+ version: "1.0"
95
+ version:
96
+ - !ruby/object:Gem::Dependency
97
+ name: merb-parts
98
+ version_requirement:
99
+ version_requirements: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: 0.9.2
104
+ - - <=
105
+ - !ruby/object:Gem::Version
106
+ version: "1.0"
107
+ version:
108
+ - !ruby/object:Gem::Dependency
109
+ name: merb-cache
110
+ version_requirement:
111
+ version_requirements: !ruby/object:Gem::Requirement
112
+ requirements:
113
+ - - ">="
114
+ - !ruby/object:Gem::Version
115
+ version: 0.9.2
116
+ - - <=
117
+ - !ruby/object:Gem::Version
118
+ version: "1.0"
119
+ version:
120
+ description: (merb - merb-core) == merb-more. The Full Stack. Take what you need; leave what you don't.
121
+ email: ez@engineyard.com
122
+ executables: []
123
+
124
+ extensions: []
125
+
126
+ extra_rdoc_files: []
127
+
128
+ files:
129
+ - LICENSE
130
+ - README
131
+ - Rakefile
132
+ - TODO
133
+ - lib/merb-more.rb
134
+ has_rdoc: false
135
+ homepage: http://www.merbivore.com
136
+ post_install_message:
137
+ rdoc_options: []
138
+
139
+ require_paths:
140
+ - lib
141
+ required_ruby_version: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: "0"
146
+ version:
147
+ required_rubygems_version: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - ">="
150
+ - !ruby/object:Gem::Version
151
+ version: "0"
152
+ version:
153
+ requirements: []
154
+
155
+ rubyforge_project:
156
+ rubygems_version: 1.0.1
157
+ signing_key:
158
+ specification_version: 2
159
+ summary: (merb - merb-core) == merb-more. The Full Stack. Take what you need; leave what you don't.
160
+ test_files: []
161
+