wheels 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -67,10 +67,10 @@ class SitemapsController < InheritedResources::Base
67
67
  def update
68
68
  resource.parent = parent
69
69
  update! do |format|
70
- if params[:sitemap]["position"]
70
+ if params.stringify_keys["sitemap"]["position"]
71
71
  childrunz = Array.new(parent.children.sort{|t,u| t.position <=> u.position})
72
72
  childrunz.delete(resource)
73
- childrunz.insert(params[:sitemap]["position"].to_i, resource)
73
+ childrunz.insert(params.stringify_keys["sitemap"]["position"].to_i, resource)
74
74
  childrunz.each_with_index do |child, idx|
75
75
  child.position = idx
76
76
  child.save
data/wheels.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{wheels}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Tyler Gannon"]
12
- s.date = %q{2010-09-08}
12
+ s.date = %q{2010-09-09}
13
13
  s.description = %q{Call rails generate wheels.}
14
14
  s.email = %q{tgannon@gmail.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Tyler Gannon
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-09-08 00:00:00 -07:00
17
+ date: 2010-09-09 00:00:00 -07:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency