mack 0.5.5.3 → 0.5.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ ===0.5.5.4
2
+ * Fixed the damn Lint error some people were facing!
3
+
1
4
  ===0.5.5.3
2
5
  * Restored compatibility with Passenger and the next version of Thin.
3
6
  * Fixed 'requires' out of order in certain flavors or unix. Hopefully.
data/bin/mack CHANGED
@@ -13,7 +13,7 @@ raise "You must specify a name for this application!" if app.nil?
13
13
 
14
14
  options = OpenStruct.new
15
15
  options.orm = "data_mapper"
16
- options.version = "0.5.5.3"
16
+ options.version = "0.5.5.4"
17
17
 
18
18
  opts = OptionParser.new do |opts|
19
19
  opts.banner = "Usage: mack <application_name> [options]"
@@ -11,23 +11,13 @@ namespace :mack do
11
11
  require 'ostruct'
12
12
  require 'fileutils'
13
13
 
14
- d_handler = "WEBrick"
15
- begin
16
- require 'mongrel'
17
- d_handler = "mongrel"
18
- rescue Exception => e
19
- end
20
- begin
21
- require 'thin'
22
- d_handler = "thin"
23
- rescue Exception => e
24
- end
14
+ require 'thin'
25
15
 
26
16
  Mack::Configuration.set(:root, FileUtils.pwd) if Mack::Configuration.root.nil?
27
17
 
28
18
  options = OpenStruct.new
29
19
  options.port = (ENV["PORT"] ||= "3000") # Does NOT work with Thin!! You must edit the thin.yml file!
30
- options.handler = (ENV["HANDLER"] ||= d_handler)
20
+ options.handler = (ENV["HANDLER"] ||= "thin")
31
21
 
32
22
 
33
23
  # require File.join(Mack::Configuration.root, "config", "boot.rb")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.5.3
4
+ version: 0.5.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - markbates
@@ -176,7 +176,6 @@ files:
176
176
  - lib/generators/mack_application_generator/manifest.yml
177
177
  - lib/generators/mack_application_generator/templates/app/controllers/default_controller.rb.template
178
178
  - lib/generators/mack_application_generator/templates/app/helpers/application_helper.rb.template
179
- - lib/generators/mack_application_generator/templates/app/models.template
180
179
  - lib/generators/mack_application_generator/templates/app/views/default/index.html.erb.template
181
180
  - lib/generators/mack_application_generator/templates/app/views/layouts/application.html.erb.template
182
181
  - lib/generators/mack_application_generator/templates/config/app_config/default.yml.template
@@ -200,7 +199,6 @@ files:
200
199
  - lib/generators/plugin_generator/templates/vendor/plugins/%=@plugin_name%/init.rb.template
201
200
  - lib/generators/plugin_generator/templates/vendor/plugins/%=@plugin_name%/lib/%=@plugin_name%.rb.template
202
201
  - lib/generators/plugin_generator/templates/vendor/plugins/%=@plugin_name%/lib/tasks/%=@plugin_name%_tasks.rake.template
203
- - lib/generators/plugin_generator/templates/vendor/plugins/%=@plugin_name%/lib/tasks.template
204
202
  - lib/initialization/configuration.rb
205
203
  - lib/initialization/console.rb
206
204
  - lib/initialization/logging.rb