refinerycms-generators 0.9.9.3 → 0.9.9.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/lib/gemspec.rb
CHANGED
@@ -4,8 +4,8 @@ describe <%= class_name %> do
|
|
4
4
|
|
5
5
|
def reset_<%= singular_name %>(options = {})
|
6
6
|
@valid_attributes = {
|
7
|
-
:id => 1
|
8
|
-
|
7
|
+
:id => 1<% if (title = attributes.detect { |a| a.type.to_s == "string" }).present? -%>,
|
8
|
+
:<%= title.name %> => "RSpec is great for testing too"<% end %>
|
9
9
|
}
|
10
10
|
|
11
11
|
@<%= singular_name %>.destroy! if @<%= singular_name %>
|
@@ -18,7 +18,7 @@ end
|
|
18
18
|
# Below is a hack until this issue:
|
19
19
|
# https://rails.lighthouseapp.com/projects/8994/tickets/3820-make-railsgeneratorsmigrationnext_migration_number-method-a-class-method-so-it-possible-to-use-it-in-custom-generators
|
20
20
|
# is fixed on the Rails project.
|
21
|
-
|
21
|
+
require 'rails/generators'
|
22
22
|
require 'rails/generators/named_base'
|
23
23
|
require 'rails/generators/migration'
|
24
24
|
require 'rails/generators/active_model'
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = %q{refinerycms-generators}
|
3
|
-
s.version = %q{0.9.9.
|
4
|
-
s.date = %q{2011-02-
|
3
|
+
s.version = %q{0.9.9.4}
|
4
|
+
s.date = %q{2011-02-17}
|
5
5
|
s.summary = %q{Core generators for the Refinery CMS project.}
|
6
6
|
s.description = %q{Core generators for Refinery CMS including refinery_engine.}
|
7
7
|
s.homepage = %q{http://refinerycms.com}
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: refinerycms-generators
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.9.9.
|
5
|
+
version: 0.9.9.4
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Resolve Digital
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-02-
|
13
|
+
date: 2011-02-17 00:00:00 +13:00
|
14
14
|
default_executable:
|
15
15
|
dependencies: []
|
16
16
|
|
@@ -86,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
86
|
requirements: []
|
87
87
|
|
88
88
|
rubyforge_project:
|
89
|
-
rubygems_version: 1.5.
|
89
|
+
rubygems_version: 1.5.2
|
90
90
|
signing_key:
|
91
91
|
specification_version: 3
|
92
92
|
summary: Core generators for the Refinery CMS project.
|