rubymood-jintastic 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION.yml +1 -1
  2. data/lib/jintastic.rb +2 -2
  3. metadata +2 -2
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :minor: 0
3
- :patch: 0
3
+ :patch: 1
4
4
  :major: 1
data/lib/jintastic.rb CHANGED
@@ -10,7 +10,7 @@ class ActionView::Base
10
10
  if attributes.class==Symbol
11
11
  #simple one attribute in place editor
12
12
  #in_place_editor_for @user, :name
13
- attribute = attributes.to_sym
13
+ attribute = attributes
14
14
  input_attributes = Array(attribute)
15
15
 
16
16
  elsif attributes.values.first==:form
@@ -28,7 +28,7 @@ class ActionView::Base
28
28
  #attribute is an array
29
29
  #in_place_editor_for @user, :name=>[:name,:address]
30
30
  attribute = attributes.keys.first
31
- input_attributes = attributes.values
31
+ input_attributes = attributes[attribute]
32
32
  end
33
33
 
34
34
  container_tag = instance.column_for_attribute(attribute).type == :text ? :pre : :span
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubymood-jintastic
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nandor Komzak
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-04-12 00:00:00 -07:00
12
+ date: 2009-06-22 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency