active_leonardo 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +44 -0
- data/LICENSE +19 -19
- data/README.md +173 -0
- data/active_template.rb +141 -137
- data/lib/generators/active_leonardo.rb +7 -1
- data/lib/generators/erb/leosca/leosca_generator.rb +122 -122
- data/lib/generators/leolay/USAGE +21 -21
- data/lib/generators/leolay/leolay_generator.rb +420 -400
- data/lib/generators/leolay/templates/app/admin/users.rb +87 -87
- data/lib/generators/leolay/templates/config/locales/it.yml +7 -0
- data/lib/generators/leolay/templates/spec/helpers/application_helpers.rb +13 -13
- data/lib/generators/leolay/templates/spec/support/devise.rb +4 -4
- data/lib/generators/leolay/templates/styles/active/stylesheets/app/custom_active_admin.css.scss +27 -27
- data/lib/generators/leosca/USAGE +23 -23
- data/lib/generators/rails/leosca/USAGE +39 -39
- data/lib/generators/rails/leosca/leosca_generator.rb +55 -55
- data/lib/generators/rails/leosca/templates/leosca.css +56 -56
- data/lib/generators/rails/leosca_controller/USAGE +23 -23
- data/lib/generators/rails/leosca_controller/leosca_controller_generator.rb +192 -188
- data/lib/generators/rails/leosca_controller/templates/controller.rb +3 -3
- data/lib/generators/rspec/leointegration/leointegration_generator.rb +35 -35
- data/lib/generators/rspec/leointegration/templates/admin/feature.rb +67 -67
- data/lib/generators/rspec/leointegration/templates/feature.rb +9 -9
- data/lib/generators/rspec/leosca/leosca_generator.rb +57 -57
- data/lib/generators/rspec/leosca/templates/admin/controller_spec.rb +181 -181
- data/lib/generators/rspec/leosca/templates/admin/edit_spec.rb +31 -31
- data/lib/generators/rspec/leosca/templates/admin/index_spec.rb +32 -32
- data/lib/generators/rspec/leosca/templates/admin/new_spec.rb +30 -30
- data/lib/generators/rspec/leosca/templates/admin/routing_spec.rb +39 -39
- data/lib/generators/rspec/leosca/templates/admin/show_spec.rb +28 -28
- data/lib/generators/rspec/leosca/templates/controller_spec.rb +168 -168
- data/lib/generators/rspec/leosca/templates/edit_spec.rb +31 -31
- data/lib/generators/rspec/leosca/templates/index_spec.rb +32 -32
- data/lib/generators/rspec/leosca/templates/new_spec.rb +30 -30
- data/lib/generators/rspec/leosca/templates/routing_spec.rb +39 -39
- data/lib/generators/rspec/leosca/templates/show_spec.rb +28 -28
- metadata +55 -124
- data/CHANGELOG +0 -28
- data/README.rdoc +0 -159
@@ -1,31 +1,31 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
<% output_attributes = attributes.reject{|attribute| [:datetime, :timestamp, :time, :date].index(attribute.type) } -%>
|
4
|
-
describe "<%= ns_table_name %>/edit" do
|
5
|
-
before(:each) do
|
6
|
-
@<%= ns_file_name %> = assign(:<%= ns_file_name %>, stub_model(<%= class_name %><%= output_attributes.empty? ? '))' : ',' %>
|
7
|
-
<% output_attributes.each_with_index do |attribute, attribute_index| -%>
|
8
|
-
:<%= attribute.name %> => <%= attribute.default.inspect %><%= attribute_index == output_attributes.length - 1 ? '' : ','%>
|
9
|
-
<% end -%>
|
10
|
-
<%= output_attributes.empty? ? "" : " ))\n" -%>
|
11
|
-
end
|
12
|
-
|
13
|
-
it "renders the edit <%= ns_file_name %> form" do
|
14
|
-
render
|
15
|
-
|
16
|
-
<% if webrat? -%>
|
17
|
-
rendered.should have_selector("form", :action => <%= ns_file_name %>_path(@<%= ns_file_name %>), :method => "post") do |form|
|
18
|
-
<% for attribute in output_attributes -%>
|
19
|
-
form.should have_selector("<%= attribute.input_type -%>#<%= ns_file_name %>_<%= attribute.name %>", :name => "<%= ns_file_name %>[<%= attribute.name %>]")
|
20
|
-
<% end -%>
|
21
|
-
end
|
22
|
-
<% else -%>
|
23
|
-
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
24
|
-
assert_select "form", :action => <%= index_helper %>_path(@<%= ns_file_name %>), :method => "post" do
|
25
|
-
<% for attribute in output_attributes -%>
|
26
|
-
assert_select "<%= attribute.input_type -%>#<%= ns_file_name %>_<%= attribute.name %>", :name => "<%= ns_file_name %>[<%= attribute.name %>]"
|
27
|
-
<% end -%>
|
28
|
-
end
|
29
|
-
<% end -%>
|
30
|
-
end
|
31
|
-
end
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
<% output_attributes = attributes.reject{|attribute| [:datetime, :timestamp, :time, :date].index(attribute.type) } -%>
|
4
|
+
describe "<%= ns_table_name %>/edit" do
|
5
|
+
before(:each) do
|
6
|
+
@<%= ns_file_name %> = assign(:<%= ns_file_name %>, stub_model(<%= class_name %><%= output_attributes.empty? ? '))' : ',' %>
|
7
|
+
<% output_attributes.each_with_index do |attribute, attribute_index| -%>
|
8
|
+
:<%= attribute.name %> => <%= attribute.default.inspect %><%= attribute_index == output_attributes.length - 1 ? '' : ','%>
|
9
|
+
<% end -%>
|
10
|
+
<%= output_attributes.empty? ? "" : " ))\n" -%>
|
11
|
+
end
|
12
|
+
|
13
|
+
it "renders the edit <%= ns_file_name %> form" do
|
14
|
+
render
|
15
|
+
|
16
|
+
<% if webrat? -%>
|
17
|
+
rendered.should have_selector("form", :action => <%= ns_file_name %>_path(@<%= ns_file_name %>), :method => "post") do |form|
|
18
|
+
<% for attribute in output_attributes -%>
|
19
|
+
form.should have_selector("<%= attribute.input_type -%>#<%= ns_file_name %>_<%= attribute.name %>", :name => "<%= ns_file_name %>[<%= attribute.name %>]")
|
20
|
+
<% end -%>
|
21
|
+
end
|
22
|
+
<% else -%>
|
23
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
24
|
+
assert_select "form", :action => <%= index_helper %>_path(@<%= ns_file_name %>), :method => "post" do
|
25
|
+
<% for attribute in output_attributes -%>
|
26
|
+
assert_select "<%= attribute.input_type -%>#<%= ns_file_name %>_<%= attribute.name %>", :name => "<%= ns_file_name %>[<%= attribute.name %>]"
|
27
|
+
<% end -%>
|
28
|
+
end
|
29
|
+
<% end -%>
|
30
|
+
end
|
31
|
+
end
|
@@ -1,32 +1,32 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
<% output_attributes = attributes.reject{|attribute| [:datetime, :timestamp, :time, :date].index(attribute.type) } -%>
|
4
|
-
describe "<%= ns_table_name %>/index" do
|
5
|
-
before(:each) do
|
6
|
-
assign(:<%= table_name %>, [
|
7
|
-
<% [1,2].each_with_index do |id, model_index| -%>
|
8
|
-
stub_model(<%= class_name %><%= output_attributes.empty? ? (model_index == 1 ? ')' : '),') : ',' %>
|
9
|
-
<% output_attributes.each_with_index do |attribute, attribute_index| -%>
|
10
|
-
:<%= attribute.name %> => <%= value_for(attribute) %><%= attribute_index == output_attributes.length - 1 ? '' : ','%>
|
11
|
-
<% end -%>
|
12
|
-
<% if !output_attributes.empty? -%>
|
13
|
-
<%= model_index == 1 ? ')' : '),' %>
|
14
|
-
<% end -%>
|
15
|
-
<% end -%>
|
16
|
-
])
|
17
|
-
end
|
18
|
-
|
19
|
-
it "renders a list of <%= ns_table_name %>" do
|
20
|
-
render
|
21
|
-
<% unless webrat? -%>
|
22
|
-
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
23
|
-
<% end -%>
|
24
|
-
<% for attribute in output_attributes -%>
|
25
|
-
<% if webrat? -%>
|
26
|
-
rendered.should have_selector("tr>td", :content => <%= value_for(attribute) %>.to_s, :count => 2)
|
27
|
-
<% else -%>
|
28
|
-
assert_select "tr>td", :text => <%= value_for(attribute) %>.to_s, :count => 2
|
29
|
-
<% end -%>
|
30
|
-
<% end -%>
|
31
|
-
end
|
32
|
-
end
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
<% output_attributes = attributes.reject{|attribute| [:datetime, :timestamp, :time, :date].index(attribute.type) } -%>
|
4
|
+
describe "<%= ns_table_name %>/index" do
|
5
|
+
before(:each) do
|
6
|
+
assign(:<%= table_name %>, [
|
7
|
+
<% [1,2].each_with_index do |id, model_index| -%>
|
8
|
+
stub_model(<%= class_name %><%= output_attributes.empty? ? (model_index == 1 ? ')' : '),') : ',' %>
|
9
|
+
<% output_attributes.each_with_index do |attribute, attribute_index| -%>
|
10
|
+
:<%= attribute.name %> => <%= value_for(attribute) %><%= attribute_index == output_attributes.length - 1 ? '' : ','%>
|
11
|
+
<% end -%>
|
12
|
+
<% if !output_attributes.empty? -%>
|
13
|
+
<%= model_index == 1 ? ')' : '),' %>
|
14
|
+
<% end -%>
|
15
|
+
<% end -%>
|
16
|
+
])
|
17
|
+
end
|
18
|
+
|
19
|
+
it "renders a list of <%= ns_table_name %>" do
|
20
|
+
render
|
21
|
+
<% unless webrat? -%>
|
22
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
23
|
+
<% end -%>
|
24
|
+
<% for attribute in output_attributes -%>
|
25
|
+
<% if webrat? -%>
|
26
|
+
rendered.should have_selector("tr>td", :content => <%= value_for(attribute) %>.to_s, :count => 2)
|
27
|
+
<% else -%>
|
28
|
+
assert_select "tr>td", :text => <%= value_for(attribute) %>.to_s, :count => 2
|
29
|
+
<% end -%>
|
30
|
+
<% end -%>
|
31
|
+
end
|
32
|
+
end
|
@@ -1,30 +1,30 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
<% output_attributes = attributes.reject{|attribute| [:datetime, :timestamp, :time, :date].index(attribute.type) } -%>
|
4
|
-
describe "<%= ns_table_name %>/new" do
|
5
|
-
before(:each) do
|
6
|
-
assign(:<%= ns_file_name %>, stub_model(<%= class_name %><%= output_attributes.empty? ? ').as_new_record)' : ',' %>
|
7
|
-
<% output_attributes.each_with_index do |attribute, attribute_index| -%>
|
8
|
-
:<%= attribute.name %> => <%= attribute.default.inspect %><%= attribute_index == output_attributes.length - 1 ? '' : ','%>
|
9
|
-
<% end -%>
|
10
|
-
<%= !output_attributes.empty? ? " ).as_new_record)\n end" : " end" %>
|
11
|
-
|
12
|
-
it "renders new <%= ns_file_name %> form" do
|
13
|
-
render
|
14
|
-
|
15
|
-
<% if webrat? -%>
|
16
|
-
rendered.should have_selector("form", :action => <%= table_name %>_path, :method => "post") do |form|
|
17
|
-
<% for attribute in output_attributes -%>
|
18
|
-
form.should have_selector("<%= attribute.input_type -%>#<%= ns_file_name %>_<%= attribute.name %>", :name => "<%= ns_file_name %>[<%= attribute.name %>]")
|
19
|
-
<% end -%>
|
20
|
-
end
|
21
|
-
<% else -%>
|
22
|
-
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
23
|
-
assert_select "form", :action => <%= index_helper %>_path, :method => "post" do
|
24
|
-
<% for attribute in output_attributes -%>
|
25
|
-
assert_select "<%= attribute.input_type -%>#<%= ns_file_name %>_<%= attribute.name %>", :name => "<%= ns_file_name %>[<%= attribute.name %>]"
|
26
|
-
<% end -%>
|
27
|
-
end
|
28
|
-
<% end -%>
|
29
|
-
end
|
30
|
-
end
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
<% output_attributes = attributes.reject{|attribute| [:datetime, :timestamp, :time, :date].index(attribute.type) } -%>
|
4
|
+
describe "<%= ns_table_name %>/new" do
|
5
|
+
before(:each) do
|
6
|
+
assign(:<%= ns_file_name %>, stub_model(<%= class_name %><%= output_attributes.empty? ? ').as_new_record)' : ',' %>
|
7
|
+
<% output_attributes.each_with_index do |attribute, attribute_index| -%>
|
8
|
+
:<%= attribute.name %> => <%= attribute.default.inspect %><%= attribute_index == output_attributes.length - 1 ? '' : ','%>
|
9
|
+
<% end -%>
|
10
|
+
<%= !output_attributes.empty? ? " ).as_new_record)\n end" : " end" %>
|
11
|
+
|
12
|
+
it "renders new <%= ns_file_name %> form" do
|
13
|
+
render
|
14
|
+
|
15
|
+
<% if webrat? -%>
|
16
|
+
rendered.should have_selector("form", :action => <%= table_name %>_path, :method => "post") do |form|
|
17
|
+
<% for attribute in output_attributes -%>
|
18
|
+
form.should have_selector("<%= attribute.input_type -%>#<%= ns_file_name %>_<%= attribute.name %>", :name => "<%= ns_file_name %>[<%= attribute.name %>]")
|
19
|
+
<% end -%>
|
20
|
+
end
|
21
|
+
<% else -%>
|
22
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
23
|
+
assert_select "form", :action => <%= index_helper %>_path, :method => "post" do
|
24
|
+
<% for attribute in output_attributes -%>
|
25
|
+
assert_select "<%= attribute.input_type -%>#<%= ns_file_name %>_<%= attribute.name %>", :name => "<%= ns_file_name %>[<%= attribute.name %>]"
|
26
|
+
<% end -%>
|
27
|
+
end
|
28
|
+
<% end -%>
|
29
|
+
end
|
30
|
+
end
|
@@ -1,39 +1,39 @@
|
|
1
|
-
require "spec_helper"
|
2
|
-
|
3
|
-
<% module_namespacing do -%>
|
4
|
-
describe <%= controller_class_name %>Controller do
|
5
|
-
describe "routing" do
|
6
|
-
|
7
|
-
<% unless options[:singleton] -%>
|
8
|
-
it "routes to #index" do
|
9
|
-
get("/<%= ns_table_name %>").should route_to("<%= ns_table_name %>#index")
|
10
|
-
end
|
11
|
-
|
12
|
-
<% end -%>
|
13
|
-
it "routes to #new" do
|
14
|
-
get("/<%= ns_table_name %>/new").should route_to("<%= ns_table_name %>#new")
|
15
|
-
end
|
16
|
-
|
17
|
-
it "routes to #show" do
|
18
|
-
get("/<%= ns_table_name %>/1").should route_to("<%= ns_table_name %>#show", :id => "1")
|
19
|
-
end
|
20
|
-
|
21
|
-
it "routes to #edit" do
|
22
|
-
get("/<%= ns_table_name %>/1/edit").should route_to("<%= ns_table_name %>#edit", :id => "1")
|
23
|
-
end
|
24
|
-
|
25
|
-
it "routes to #create" do
|
26
|
-
post("/<%= ns_table_name %>").should route_to("<%= ns_table_name %>#create")
|
27
|
-
end
|
28
|
-
|
29
|
-
it "routes to #update" do
|
30
|
-
put("/<%= ns_table_name %>/1").should route_to("<%= ns_table_name %>#update", :id => "1")
|
31
|
-
end
|
32
|
-
|
33
|
-
it "routes to #destroy" do
|
34
|
-
delete("/<%= ns_table_name %>/1").should route_to("<%= ns_table_name %>#destroy", :id => "1")
|
35
|
-
end
|
36
|
-
|
37
|
-
end
|
38
|
-
end
|
39
|
-
<% end -%>
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
<% module_namespacing do -%>
|
4
|
+
describe <%= controller_class_name %>Controller do
|
5
|
+
describe "routing" do
|
6
|
+
|
7
|
+
<% unless options[:singleton] -%>
|
8
|
+
it "routes to #index" do
|
9
|
+
get("/<%= ns_table_name %>").should route_to("<%= ns_table_name %>#index")
|
10
|
+
end
|
11
|
+
|
12
|
+
<% end -%>
|
13
|
+
it "routes to #new" do
|
14
|
+
get("/<%= ns_table_name %>/new").should route_to("<%= ns_table_name %>#new")
|
15
|
+
end
|
16
|
+
|
17
|
+
it "routes to #show" do
|
18
|
+
get("/<%= ns_table_name %>/1").should route_to("<%= ns_table_name %>#show", :id => "1")
|
19
|
+
end
|
20
|
+
|
21
|
+
it "routes to #edit" do
|
22
|
+
get("/<%= ns_table_name %>/1/edit").should route_to("<%= ns_table_name %>#edit", :id => "1")
|
23
|
+
end
|
24
|
+
|
25
|
+
it "routes to #create" do
|
26
|
+
post("/<%= ns_table_name %>").should route_to("<%= ns_table_name %>#create")
|
27
|
+
end
|
28
|
+
|
29
|
+
it "routes to #update" do
|
30
|
+
put("/<%= ns_table_name %>/1").should route_to("<%= ns_table_name %>#update", :id => "1")
|
31
|
+
end
|
32
|
+
|
33
|
+
it "routes to #destroy" do
|
34
|
+
delete("/<%= ns_table_name %>/1").should route_to("<%= ns_table_name %>#destroy", :id => "1")
|
35
|
+
end
|
36
|
+
|
37
|
+
end
|
38
|
+
end
|
39
|
+
<% end -%>
|
@@ -1,28 +1,28 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
<% output_attributes = attributes.reject{|attribute| [:datetime, :timestamp, :time, :date].index(attribute.type) } -%>
|
4
|
-
describe "<%= ns_table_name %>/show" do
|
5
|
-
before(:each) do
|
6
|
-
@<%= ns_file_name %> = assign(:<%= ns_file_name %>, stub_model(<%= class_name %><%= output_attributes.empty? ? '))' : ',' %>
|
7
|
-
<% output_attributes.each_with_index do |attribute, attribute_index| -%>
|
8
|
-
:<%= attribute.name %> => <%= value_for(attribute) %><%= attribute_index == output_attributes.length - 1 ? '' : ','%>
|
9
|
-
<% end -%>
|
10
|
-
<% if !output_attributes.empty? -%>
|
11
|
-
))
|
12
|
-
<% end -%>
|
13
|
-
end
|
14
|
-
|
15
|
-
it "renders attributes in <p>" do
|
16
|
-
render
|
17
|
-
<% unless webrat? -%>
|
18
|
-
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
19
|
-
<% end -%>
|
20
|
-
<% for attribute in output_attributes -%>
|
21
|
-
<% if webrat? -%>
|
22
|
-
rendered.should contain(<%= value_for(attribute) %>.to_s)
|
23
|
-
<% else -%>
|
24
|
-
rendered.should match(/<%= eval(value_for(attribute)) %>/)
|
25
|
-
<% end -%>
|
26
|
-
<% end -%>
|
27
|
-
end
|
28
|
-
end
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
<% output_attributes = attributes.reject{|attribute| [:datetime, :timestamp, :time, :date].index(attribute.type) } -%>
|
4
|
+
describe "<%= ns_table_name %>/show" do
|
5
|
+
before(:each) do
|
6
|
+
@<%= ns_file_name %> = assign(:<%= ns_file_name %>, stub_model(<%= class_name %><%= output_attributes.empty? ? '))' : ',' %>
|
7
|
+
<% output_attributes.each_with_index do |attribute, attribute_index| -%>
|
8
|
+
:<%= attribute.name %> => <%= value_for(attribute) %><%= attribute_index == output_attributes.length - 1 ? '' : ','%>
|
9
|
+
<% end -%>
|
10
|
+
<% if !output_attributes.empty? -%>
|
11
|
+
))
|
12
|
+
<% end -%>
|
13
|
+
end
|
14
|
+
|
15
|
+
it "renders attributes in <p>" do
|
16
|
+
render
|
17
|
+
<% unless webrat? -%>
|
18
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
19
|
+
<% end -%>
|
20
|
+
<% for attribute in output_attributes -%>
|
21
|
+
<% if webrat? -%>
|
22
|
+
rendered.should contain(<%= value_for(attribute) %>.to_s)
|
23
|
+
<% else -%>
|
24
|
+
rendered.should match(/<%= eval(value_for(attribute)) %>/)
|
25
|
+
<% end -%>
|
26
|
+
<% end -%>
|
27
|
+
end
|
28
|
+
end
|
metadata
CHANGED
@@ -1,112 +1,52 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_leonardo
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 1
|
9
|
-
- 0
|
10
|
-
version: 0.1.0
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
13
|
-
- Marco Mastrodonato
|
6
|
+
authors:
|
7
|
+
- Marco Mastrodonato, Marco Longhitano
|
14
8
|
autorequire:
|
15
9
|
bindir: bin
|
16
10
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2014-03-06 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
21
14
|
name: rails
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 3
|
29
|
-
segments:
|
30
|
-
- 3
|
31
|
-
- 1
|
32
|
-
- 0
|
33
|
-
version: 3.1.0
|
34
|
-
- - <
|
35
|
-
- !ruby/object:Gem::Version
|
36
|
-
hash: 63
|
37
|
-
segments:
|
38
|
-
- 4
|
39
|
-
- 0
|
40
|
-
- 0
|
41
|
-
version: 4.0.0
|
42
|
-
type: :runtime
|
43
|
-
version_requirements: *id001
|
44
|
-
- !ruby/object:Gem::Dependency
|
45
|
-
name: activeadmin
|
46
|
-
prerelease: false
|
47
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
48
|
-
none: false
|
49
|
-
requirements:
|
50
|
-
- - ">="
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
hash: 11
|
53
|
-
segments:
|
54
|
-
- 0
|
55
|
-
- 5
|
56
|
-
- 0
|
57
|
-
version: 0.5.0
|
58
|
-
- - <
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
hash: 7
|
61
|
-
segments:
|
62
|
-
- 0
|
63
|
-
- 6
|
64
|
-
- 0
|
65
|
-
version: 0.6.0
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 3.2.0
|
66
20
|
type: :runtime
|
67
|
-
version_requirements: *id002
|
68
|
-
- !ruby/object:Gem::Dependency
|
69
|
-
name: cancan
|
70
21
|
prerelease: false
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 3.2.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: activeadmin
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.6.3
|
82
34
|
type: :runtime
|
83
|
-
version_requirements: *id003
|
84
|
-
- !ruby/object:Gem::Dependency
|
85
|
-
name: activeadmin-cancan
|
86
35
|
prerelease: false
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
version: 0.1.4
|
98
|
-
type: :runtime
|
99
|
-
version_requirements: *id004
|
100
|
-
description: This generator help you to create new Rails applications to combine with active admin gem. It generates application structure to easily get the internationalization and authorization.
|
101
|
-
email:
|
102
|
-
- m.mastrodonato@gmail.com
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.6.3
|
41
|
+
description: This generator help you to create new Rails applications to combine with
|
42
|
+
active admin gem. It generates application structure to easily get the internationalization
|
43
|
+
and authorization.
|
44
|
+
email:
|
45
|
+
- m.mastrodonato@gmail.com, marcovlonghitano@gmail.com
|
103
46
|
executables: []
|
104
|
-
|
105
47
|
extensions: []
|
106
|
-
|
107
48
|
extra_rdoc_files: []
|
108
|
-
|
109
|
-
files:
|
49
|
+
files:
|
110
50
|
- lib/generators/active_leonardo.rb
|
111
51
|
- lib/generators/erb/leosca/leosca_generator.rb
|
112
52
|
- lib/generators/leolay/install_generator.rb
|
@@ -161,41 +101,32 @@ files:
|
|
161
101
|
- lib/generators/rspec/leosca/templates/routing_spec.rb
|
162
102
|
- lib/generators/rspec/leosca/templates/show_spec.rb
|
163
103
|
- LICENSE
|
164
|
-
- README.
|
165
|
-
- CHANGELOG
|
104
|
+
- README.md
|
105
|
+
- CHANGELOG.md
|
166
106
|
- active_template.rb
|
167
107
|
homepage: https://github.com/marcomd/Active_Leonardo
|
168
108
|
licenses: []
|
169
|
-
|
109
|
+
metadata: {}
|
170
110
|
post_install_message:
|
171
111
|
rdoc_options: []
|
172
|
-
|
173
|
-
require_paths:
|
112
|
+
require_paths:
|
174
113
|
- lib
|
175
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
requirements:
|
187
|
-
- - ">="
|
188
|
-
- !ruby/object:Gem::Version
|
189
|
-
hash: 3
|
190
|
-
segments:
|
191
|
-
- 0
|
192
|
-
version: "0"
|
193
|
-
requirements:
|
114
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - '>='
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '0'
|
119
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - '>='
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '0'
|
124
|
+
requirements:
|
194
125
|
- Start a new app with the active_template.rb inside root folder
|
195
126
|
rubyforge_project:
|
196
|
-
rubygems_version: 1.
|
127
|
+
rubygems_version: 2.1.9
|
197
128
|
signing_key:
|
198
|
-
specification_version:
|
199
|
-
summary: This gem provides a new customized scaffold generator to combine with active
|
129
|
+
specification_version: 4
|
130
|
+
summary: This gem provides a new customized scaffold generator to combine with active
|
131
|
+
admin
|
200
132
|
test_files: []
|
201
|
-
|