foldscaf 1.0.4 → 1.0.5

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.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## v1.0.5
2
+ * Fix. El nombre del modelo ya no forma parte de los atributos.
3
+
1
4
  ## v1.0.4
2
5
  * Fix. Ahora funciona para Rails > 3.2.4
3
6
 
@@ -29,7 +29,7 @@ class FoldGenerator < Rails::Generators::Base
29
29
  @reordenar_path = "reordenar_admin_#{@plural}_path"
30
30
 
31
31
  @atributos = []
32
- arguments.first.each do |arg|
32
+ arguments.first.drop(1).each do |arg|
33
33
  @atributos << Atributo.new(arg)
34
34
  end
35
35
  @identificador = @atributos.first.nombre
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Foldscaf
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foldscaf
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-05 00:00:00.000000000Z
12
+ date: 2012-07-10 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Generadores adaptados a las necesidades de Xaver
15
15
  email:
@@ -59,7 +59,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
59
59
  version: '0'
60
60
  requirements: []
61
61
  rubyforge_project: foldscaf
62
- rubygems_version: 1.8.10
62
+ rubygems_version: 1.8.15
63
63
  signing_key:
64
64
  specification_version: 3
65
65
  summary: Generadores adaptados a las necesidades de Xaver