refinerycms-forms 1.0.0
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.
- checksums.yaml +7 -0
- data/lib/generators/refinery/form/USAGE +20 -0
- data/lib/generators/refinery/form/form_generator.rb +34 -0
- data/lib/generators/refinery/form/templates/.gitignore +2 -0
- data/lib/generators/refinery/form/templates/.gitkeep +0 -0
- data/lib/generators/refinery/form/templates/Gemfile +44 -0
- data/lib/generators/refinery/form/templates/Rakefile +19 -0
- data/lib/generators/refinery/form/templates/app/controllers/refinery/namespace/admin/plural_name_controller.rb.erb +65 -0
- data/lib/generators/refinery/form/templates/app/controllers/refinery/namespace/admin/settings_controller.rb.erb +53 -0
- data/lib/generators/refinery/form/templates/app/controllers/refinery/namespace/plural_name_controller.rb.erb +63 -0
- data/lib/generators/refinery/form/templates/app/mailers/refinery/namespace/mailer.rb.erb +22 -0
- data/lib/generators/refinery/form/templates/app/models/refinery/namespace/setting.rb.erb +40 -0
- data/lib/generators/refinery/form/templates/app/models/refinery/namespace/singular_name.rb.erb +53 -0
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/_records.html.erb +23 -0
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/_singular_name.html.erb +25 -0
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/_submenu.html.erb +29 -0
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/index.html.erb +4 -0
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/show.html.erb +52 -0
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/spam.html.erb +27 -0
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/settings/_confirmation_email_form.html.erb +50 -0
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/settings/_notification_recipients_form.html.erb +21 -0
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/settings/edit.html.erb +5 -0
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/mailer/confirmation.html.erb +1 -0
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/mailer/notification.html.erb +17 -0
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/plural_name/new.html.erb +43 -0
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/plural_name/thank_you.html.erb +1 -0
- data/lib/generators/refinery/form/templates/config/locales/cs.yml +78 -0
- data/lib/generators/refinery/form/templates/config/locales/da.yml +60 -0
- data/lib/generators/refinery/form/templates/config/locales/de.yml +78 -0
- data/lib/generators/refinery/form/templates/config/locales/en.yml +78 -0
- data/lib/generators/refinery/form/templates/config/locales/es.yml +60 -0
- data/lib/generators/refinery/form/templates/config/locales/fr.yml +78 -0
- data/lib/generators/refinery/form/templates/config/locales/it.yml +60 -0
- data/lib/generators/refinery/form/templates/config/locales/lv.yml +77 -0
- data/lib/generators/refinery/form/templates/config/locales/nb.yml +69 -0
- data/lib/generators/refinery/form/templates/config/locales/nl.yml +78 -0
- data/lib/generators/refinery/form/templates/config/locales/pt-BR.yml +78 -0
- data/lib/generators/refinery/form/templates/config/locales/ru.yml +71 -0
- data/lib/generators/refinery/form/templates/config/locales/sk.yml +78 -0
- data/lib/generators/refinery/form/templates/config/locales/sl.yml +61 -0
- data/lib/generators/refinery/form/templates/config/locales/tr.yml +78 -0
- data/lib/generators/refinery/form/templates/config/locales/zh-CN.yml +78 -0
- data/lib/generators/refinery/form/templates/config/routes.rb.erb +30 -0
- data/lib/generators/refinery/form/templates/db/migrate/1_create_plural_name.rb.erb +29 -0
- data/lib/generators/refinery/form/templates/db/seeds.rb.erb +39 -0
- data/lib/generators/refinery/form/templates/lib/generators/refinery/plural_name_generator.rb.erb +20 -0
- data/lib/generators/refinery/form/templates/lib/refinery/plural_name/engine.rb.erb +23 -0
- data/lib/generators/refinery/form/templates/lib/refinery/plural_name.rb.erb +18 -0
- data/lib/generators/refinery/form/templates/lib/refinerycms-plural_name.rb.erb +1 -0
- data/lib/generators/refinery/form/templates/readme.md +10 -0
- data/lib/generators/refinery/form/templates/refinerycms-plural_name.gemspec +22 -0
- data/lib/generators/refinery/form/templates/script/rails +10 -0
- data/lib/generators/refinery/form/templates/spec/controllers/refinery/plural_name/plural_name_controller_spec.rb +75 -0
- data/lib/generators/refinery/form/templates/spec/features/refinery/namespace/admin/plural_name_spec.rb.erb +166 -0
- data/lib/generators/refinery/form/templates/spec/features/refinery/namespace/admin/settings_spec.rb.erb +54 -0
- data/lib/generators/refinery/form/templates/spec/features/refinery/namespace/singular_name_spec.rb.erb +34 -0
- data/lib/generators/refinery/form/templates/spec/models/refinery/namespace/setting_spec.rb +34 -0
- data/lib/generators/refinery/form/templates/spec/requests/refinery/plural_name/plural_name_requests_spec.rb +32 -0
- data/lib/generators/refinery/form/templates/spec/routing/refinery/plural_name/admin/plural_name_routing_spec.rb +51 -0
- data/lib/generators/refinery/form/templates/spec/routing/refinery/plural_name/plural_name_routing_spec.rb +63 -0
- data/lib/generators/refinery/form/templates/spec/spec_helper.rb +30 -0
- data/lib/generators/refinery/form/templates/spec/support/factories/refinery/plural_name.rb.erb +7 -0
- data/lib/generators/refinery/form/templates/tasks/rspec.rake +6 -0
- data/lib/generators/refinery/form/templates/tasks/testing.rake +8 -0
- data/lib/refinery/forms/engine.rb +22 -0
- data/lib/refinery/forms.rb +1 -0
- data/lib/refinerycms-forms.rb +1 -0
- metadata +137 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
require "spec_helper"
|
|
2
|
+
|
|
3
|
+
module Refinery
|
|
4
|
+
module <%= namespacing %>
|
|
5
|
+
|
|
6
|
+
describe "<%= namespacing %> request specs", type: :request do
|
|
7
|
+
|
|
8
|
+
before(:each) do
|
|
9
|
+
Refinery::<%= namespacing %>::Engine.load_seed
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
it "successfully gets the index path as redirection" do
|
|
13
|
+
get("/<%= plural_name %>")
|
|
14
|
+
expect(response).to be_redirect
|
|
15
|
+
expect(response).to redirect_to("/<%= plural_name %>/new")
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
it "successfully gets the new path" do
|
|
19
|
+
get("/<%= plural_name %>/new")
|
|
20
|
+
expect(response).to be_success
|
|
21
|
+
expect(response).to render_template(:new)
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
it "successfully gets the thank_you path" do
|
|
25
|
+
get("/<%= plural_name %>/thank_you")
|
|
26
|
+
expect(response).to be_success
|
|
27
|
+
expect(response).to render_template(:thank_you)
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
require "spec_helper"
|
|
2
|
+
|
|
3
|
+
describe "<%= plural_name %> admin routing", type: :routing do
|
|
4
|
+
|
|
5
|
+
routes { Refinery::Core::Engine.routes }
|
|
6
|
+
|
|
7
|
+
it "can route to new" do
|
|
8
|
+
expect( :get => "/refinery/<%= plural_name %>/new" ).to route_to(
|
|
9
|
+
:controller => "refinery/<%= plural_name %>/admin/<%= plural_name %>",
|
|
10
|
+
:action => "new",
|
|
11
|
+
:locale => :en
|
|
12
|
+
)
|
|
13
|
+
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
it "can route to create" do
|
|
17
|
+
expect( :post => "/refinery/<%= plural_name %>" ).to be_routable
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
it "can route to show" do
|
|
21
|
+
expect( :get => "/refinery/<%= plural_name %>/1" ).to route_to(
|
|
22
|
+
:controller => "refinery/<%= plural_name %>/admin/<%= plural_name %>",
|
|
23
|
+
:action => "show",
|
|
24
|
+
:id => '1',
|
|
25
|
+
:locale => :en
|
|
26
|
+
)
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
it "can route to edit" do
|
|
30
|
+
expect( :get => "/refinery/<%= plural_name %>/1/edit" ).to route_to(
|
|
31
|
+
:controller => "refinery/<%= plural_name %>/admin/<%= plural_name %>",
|
|
32
|
+
:action => "edit",
|
|
33
|
+
:id => "1",
|
|
34
|
+
:locale => :en
|
|
35
|
+
)
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
it "does not route to update" do
|
|
39
|
+
expect( :update => "/refinery/<%= plural_name %>/1" ).not_to be_routable
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
it "does route to delete" do
|
|
43
|
+
expect( :delete => "/refinery/<%= plural_name %>/1" ).to route_to(
|
|
44
|
+
:controller => "refinery/<%= plural_name %>/admin/<%= plural_name %>",
|
|
45
|
+
:action => "destroy",
|
|
46
|
+
:id => '1',
|
|
47
|
+
:locale => :en
|
|
48
|
+
)
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
end
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
require "spec_helper"
|
|
2
|
+
|
|
3
|
+
describe "<%= namespacing %> front-end routing", type: :routing do
|
|
4
|
+
|
|
5
|
+
routes { Refinery::Core::Engine.routes }
|
|
6
|
+
|
|
7
|
+
it "can route to index" do
|
|
8
|
+
expect( :get => "/<%= plural_name %>" ).to route_to(
|
|
9
|
+
:controller => "refinery/<%= plural_name %>/<%= plural_name %>",
|
|
10
|
+
:action => "index",
|
|
11
|
+
:locale => :en
|
|
12
|
+
)
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
it "can route to new" do
|
|
16
|
+
expect( :get => "/<%= plural_name %>/new" ).to route_to(
|
|
17
|
+
:controller => "refinery/<%= plural_name %>/<%= plural_name %>",
|
|
18
|
+
:action => "new",
|
|
19
|
+
:locale => :en
|
|
20
|
+
)
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
it "can route to create" do
|
|
24
|
+
expect( :post => "/<%= plural_name %>" ).to route_to(
|
|
25
|
+
:controller => "refinery/<%= plural_name %>/<%= plural_name %>",
|
|
26
|
+
:action => "create",
|
|
27
|
+
:locale => :en
|
|
28
|
+
)
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
it "routes to thank_you" do
|
|
32
|
+
expect( :get => "/<%= plural_name %>/thank_you" ).to route_to(
|
|
33
|
+
:controller => "refinery/<%= plural_name %>/<%= plural_name %>",
|
|
34
|
+
:action => "thank_you",
|
|
35
|
+
:locale => :en
|
|
36
|
+
)
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
it "does not route to show" do
|
|
40
|
+
expect( :get => "/<%= plural_name %>/1" ).not_to route_to(
|
|
41
|
+
:controller => "refinery/<%= plural_name %>/<%= plural_name %>",
|
|
42
|
+
:action => "show",
|
|
43
|
+
:locale => :en
|
|
44
|
+
)
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
it "does not route to edit" do
|
|
48
|
+
expect( :get => "/<%= plural_name %>/1/edit" ).not_to route_to(
|
|
49
|
+
:controller => "refinery/<%= plural_name %>/<%= plural_name %>",
|
|
50
|
+
:action => "edit",
|
|
51
|
+
:locale => :en
|
|
52
|
+
)
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
it "does not route to update" do
|
|
56
|
+
expect( :update => "/<%= plural_name %>/1" ).not_to be_routable
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
it "does not route to delete" do
|
|
60
|
+
expect( :delete => "/<%= plural_name %>/1" ).not_to be_routable
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Configure Rails Environment
|
|
2
|
+
ENV["RAILS_ENV"] ||= 'test'
|
|
3
|
+
|
|
4
|
+
if File.exist?(dummy_path = File.expand_path('../dummy/config/environment.rb', __FILE__))
|
|
5
|
+
require dummy_path
|
|
6
|
+
elsif File.dirname(__FILE__) =~ %r{vendor/extensions}
|
|
7
|
+
# Require the path to the refinerycms application this is vendored inside.
|
|
8
|
+
require File.expand_path('../../../../../config/environment', __FILE__)
|
|
9
|
+
else
|
|
10
|
+
puts "Could not find a config/environment.rb file to require. Please specify this in #{File.expand_path(__FILE__)}"
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
require 'rspec/rails'
|
|
14
|
+
require 'capybara/rspec'
|
|
15
|
+
|
|
16
|
+
Rails.backtrace_cleaner.remove_silencers!
|
|
17
|
+
|
|
18
|
+
RSpec.configure do |config|
|
|
19
|
+
config.mock_with :rspec
|
|
20
|
+
config.filter_run :focus => true
|
|
21
|
+
config.run_all_when_everything_filtered = true
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
# Requires supporting files with custom matchers and macros, etc,
|
|
25
|
+
# in ./support/ and its subdirectories including factories.
|
|
26
|
+
([Rails.root.to_s] | ::Refinery::Plugins.registered.pathnames).map{ |p|
|
|
27
|
+
Dir[File.join(p, 'spec', 'support', '**', '*.rb').to_s]
|
|
28
|
+
}.flatten.sort.each do |support_file|
|
|
29
|
+
require support_file
|
|
30
|
+
end
|
data/lib/generators/refinery/form/templates/spec/support/factories/refinery/plural_name.rb.erb
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<% if (title = attributes.detect { |a| a.type.to_s == "string" }).present? %>
|
|
2
|
+
FactoryGirl.define do
|
|
3
|
+
factory :<%= singular_name %>, :class => Refinery::<%= namespacing %>::<%= class_name %> do
|
|
4
|
+
sequence(:<%= title.name %>) { |n| "refinery#{n}" }
|
|
5
|
+
end
|
|
6
|
+
end
|
|
7
|
+
<% end %>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
module Refinery
|
|
2
|
+
module Forms
|
|
3
|
+
class Engine < Rails::Engine
|
|
4
|
+
include Refinery::Engine
|
|
5
|
+
|
|
6
|
+
isolate_namespace Refinery::Forms
|
|
7
|
+
|
|
8
|
+
before_inclusion do
|
|
9
|
+
Refinery::Plugin.register do |plugin|
|
|
10
|
+
plugin.pathname = root
|
|
11
|
+
plugin.name = "refinerycms_forms"
|
|
12
|
+
plugin.hide_from_menu = true
|
|
13
|
+
plugin.always_allow_access = true
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
config.after_initialize do
|
|
18
|
+
Refinery.register_engine(Refinery::Forms)
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require 'refinerycms-core'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require "refinery/forms"
|
metadata
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: refinerycms-forms
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Philip Arndt
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2015-09-19 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: refinerycms-core
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - "~>"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '3.0'
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - "~>"
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '3.0'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: refinerycms-testing
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - "~>"
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '3.0'
|
|
34
|
+
type: :development
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - "~>"
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '3.0'
|
|
41
|
+
description: Form generator for Refinery CMS v3.0 (rails generate refinery:form)
|
|
42
|
+
email: rubygems@p.arndt.io
|
|
43
|
+
executables: []
|
|
44
|
+
extensions: []
|
|
45
|
+
extra_rdoc_files: []
|
|
46
|
+
files:
|
|
47
|
+
- lib/generators/refinery/form/USAGE
|
|
48
|
+
- lib/generators/refinery/form/form_generator.rb
|
|
49
|
+
- lib/generators/refinery/form/templates/.gitignore
|
|
50
|
+
- lib/generators/refinery/form/templates/.gitkeep
|
|
51
|
+
- lib/generators/refinery/form/templates/Gemfile
|
|
52
|
+
- lib/generators/refinery/form/templates/Rakefile
|
|
53
|
+
- lib/generators/refinery/form/templates/app/controllers/refinery/namespace/admin/plural_name_controller.rb.erb
|
|
54
|
+
- lib/generators/refinery/form/templates/app/controllers/refinery/namespace/admin/settings_controller.rb.erb
|
|
55
|
+
- lib/generators/refinery/form/templates/app/controllers/refinery/namespace/plural_name_controller.rb.erb
|
|
56
|
+
- lib/generators/refinery/form/templates/app/mailers/refinery/namespace/mailer.rb.erb
|
|
57
|
+
- lib/generators/refinery/form/templates/app/models/refinery/namespace/setting.rb.erb
|
|
58
|
+
- lib/generators/refinery/form/templates/app/models/refinery/namespace/singular_name.rb.erb
|
|
59
|
+
- lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/_records.html.erb
|
|
60
|
+
- lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/_singular_name.html.erb
|
|
61
|
+
- lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/_submenu.html.erb
|
|
62
|
+
- lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/index.html.erb
|
|
63
|
+
- lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/show.html.erb
|
|
64
|
+
- lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/spam.html.erb
|
|
65
|
+
- lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/settings/_confirmation_email_form.html.erb
|
|
66
|
+
- lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/settings/_notification_recipients_form.html.erb
|
|
67
|
+
- lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/settings/edit.html.erb
|
|
68
|
+
- lib/generators/refinery/form/templates/app/views/refinery/namespace/mailer/confirmation.html.erb
|
|
69
|
+
- lib/generators/refinery/form/templates/app/views/refinery/namespace/mailer/notification.html.erb
|
|
70
|
+
- lib/generators/refinery/form/templates/app/views/refinery/namespace/plural_name/new.html.erb
|
|
71
|
+
- lib/generators/refinery/form/templates/app/views/refinery/namespace/plural_name/thank_you.html.erb
|
|
72
|
+
- lib/generators/refinery/form/templates/config/locales/cs.yml
|
|
73
|
+
- lib/generators/refinery/form/templates/config/locales/da.yml
|
|
74
|
+
- lib/generators/refinery/form/templates/config/locales/de.yml
|
|
75
|
+
- lib/generators/refinery/form/templates/config/locales/en.yml
|
|
76
|
+
- lib/generators/refinery/form/templates/config/locales/es.yml
|
|
77
|
+
- lib/generators/refinery/form/templates/config/locales/fr.yml
|
|
78
|
+
- lib/generators/refinery/form/templates/config/locales/it.yml
|
|
79
|
+
- lib/generators/refinery/form/templates/config/locales/lv.yml
|
|
80
|
+
- lib/generators/refinery/form/templates/config/locales/nb.yml
|
|
81
|
+
- lib/generators/refinery/form/templates/config/locales/nl.yml
|
|
82
|
+
- lib/generators/refinery/form/templates/config/locales/pt-BR.yml
|
|
83
|
+
- lib/generators/refinery/form/templates/config/locales/ru.yml
|
|
84
|
+
- lib/generators/refinery/form/templates/config/locales/sk.yml
|
|
85
|
+
- lib/generators/refinery/form/templates/config/locales/sl.yml
|
|
86
|
+
- lib/generators/refinery/form/templates/config/locales/tr.yml
|
|
87
|
+
- lib/generators/refinery/form/templates/config/locales/zh-CN.yml
|
|
88
|
+
- lib/generators/refinery/form/templates/config/routes.rb.erb
|
|
89
|
+
- lib/generators/refinery/form/templates/db/migrate/1_create_plural_name.rb.erb
|
|
90
|
+
- lib/generators/refinery/form/templates/db/seeds.rb.erb
|
|
91
|
+
- lib/generators/refinery/form/templates/lib/generators/refinery/plural_name_generator.rb.erb
|
|
92
|
+
- lib/generators/refinery/form/templates/lib/refinery/plural_name.rb.erb
|
|
93
|
+
- lib/generators/refinery/form/templates/lib/refinery/plural_name/engine.rb.erb
|
|
94
|
+
- lib/generators/refinery/form/templates/lib/refinerycms-plural_name.rb.erb
|
|
95
|
+
- lib/generators/refinery/form/templates/readme.md
|
|
96
|
+
- lib/generators/refinery/form/templates/refinerycms-plural_name.gemspec
|
|
97
|
+
- lib/generators/refinery/form/templates/script/rails
|
|
98
|
+
- lib/generators/refinery/form/templates/spec/controllers/refinery/plural_name/plural_name_controller_spec.rb
|
|
99
|
+
- lib/generators/refinery/form/templates/spec/features/refinery/namespace/admin/plural_name_spec.rb.erb
|
|
100
|
+
- lib/generators/refinery/form/templates/spec/features/refinery/namespace/admin/settings_spec.rb.erb
|
|
101
|
+
- lib/generators/refinery/form/templates/spec/features/refinery/namespace/singular_name_spec.rb.erb
|
|
102
|
+
- lib/generators/refinery/form/templates/spec/models/refinery/namespace/setting_spec.rb
|
|
103
|
+
- lib/generators/refinery/form/templates/spec/requests/refinery/plural_name/plural_name_requests_spec.rb
|
|
104
|
+
- lib/generators/refinery/form/templates/spec/routing/refinery/plural_name/admin/plural_name_routing_spec.rb
|
|
105
|
+
- lib/generators/refinery/form/templates/spec/routing/refinery/plural_name/plural_name_routing_spec.rb
|
|
106
|
+
- lib/generators/refinery/form/templates/spec/spec_helper.rb
|
|
107
|
+
- lib/generators/refinery/form/templates/spec/support/factories/refinery/plural_name.rb.erb
|
|
108
|
+
- lib/generators/refinery/form/templates/tasks/rspec.rake
|
|
109
|
+
- lib/generators/refinery/form/templates/tasks/testing.rake
|
|
110
|
+
- lib/refinery/forms.rb
|
|
111
|
+
- lib/refinery/forms/engine.rb
|
|
112
|
+
- lib/refinerycms-forms.rb
|
|
113
|
+
homepage: http://refinerycms.com
|
|
114
|
+
licenses:
|
|
115
|
+
- MIT
|
|
116
|
+
metadata: {}
|
|
117
|
+
post_install_message:
|
|
118
|
+
rdoc_options: []
|
|
119
|
+
require_paths:
|
|
120
|
+
- lib
|
|
121
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
122
|
+
requirements:
|
|
123
|
+
- - ">="
|
|
124
|
+
- !ruby/object:Gem::Version
|
|
125
|
+
version: '0'
|
|
126
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
127
|
+
requirements:
|
|
128
|
+
- - ">="
|
|
129
|
+
- !ruby/object:Gem::Version
|
|
130
|
+
version: '0'
|
|
131
|
+
requirements: []
|
|
132
|
+
rubyforge_project:
|
|
133
|
+
rubygems_version: 2.4.5.1
|
|
134
|
+
signing_key:
|
|
135
|
+
specification_version: 4
|
|
136
|
+
summary: Form generator for Refinery CMS v3.0
|
|
137
|
+
test_files: []
|