mack 0.5.5.1 → 0.5.5.2

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.
Files changed (4) hide show
  1. data/CHANGELOG +3 -0
  2. data/bin/mack +1 -1
  3. data/lib/rendering/type/url.rb +1 -1
  4. metadata +2 -2
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ ===0.5.5.2
2
+ * Fixed an issue where if there are no parameters for render(:url) it will blow up.
3
+
1
4
  ===0.5.5.1
2
5
  * Generated applications were still being generated with @content_for_layout instead of yield_to :view in application.html.erb.
3
6
 
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.1"
16
+ options.version = "0.5.5.2"
17
17
 
18
18
  opts = OptionParser.new do |opts|
19
19
  opts.banner = "Usage: mack <application_name> [options]"
@@ -106,7 +106,7 @@ module Mack
106
106
  end
107
107
 
108
108
  def url_with_query(url, parameters = {})
109
- unless parameters.empty?
109
+ unless (parameters || {}).empty?
110
110
  url = url.to_s.dup
111
111
  url << "?"
112
112
  url << parameters.to_params(true)
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.1
4
+ version: 0.5.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - markbates
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-05-24 00:00:00 -04:00
12
+ date: 2008-05-27 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency