controller_resources 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +14 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/MIT-LICENSE +20 -0
- data/README.md +67 -0
- data/Rakefile +2 -0
- data/bin/rails +12 -0
- data/controller_resources.gemspec +30 -0
- data/lib/controller_resources.rb +7 -0
- data/lib/controller_resources/engine.rb +12 -0
- data/lib/controller_resources/extension.rb +94 -0
- data/lib/controller_resources/responder.rb +0 -0
- data/lib/controller_resources/version.rb +3 -0
- data/lib/generators/controller_resources/USAGE +8 -0
- data/lib/generators/controller_resources/install_generator.rb +16 -0
- data/lib/tasks/controller_resources_tasks.rake +4 -0
- data/spec/controller_resources/extension_spec.rb +32 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/images/.keep +0 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/controllers/concerns/.keep +0 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/mailers/.keep +0 -0
- data/spec/dummy/app/models/.keep +0 -0
- data/spec/dummy/app/models/concerns/.keep +0 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +23 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +85 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +37 -0
- data/spec/dummy/config/environments/production.rb +83 -0
- data/spec/dummy/config/environments/test.rb +39 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +4 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/lib/assets/.keep +0 -0
- data/spec/dummy/log/.keep +0 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/generators/controller_resources/install_generator_spec.rb +29 -0
- data/spec/integration/navigation_spec.rb +4 -0
- data/spec/spec_helper.rb +20 -0
- metadata +275 -0
@@ -0,0 +1,22 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Your secret key is used for verifying the integrity of signed cookies.
|
4
|
+
# If you change this key, all old signed cookies will become invalid!
|
5
|
+
|
6
|
+
# Make sure the secret is at least 30 characters and all random,
|
7
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
8
|
+
# You can use `rake secret` to generate a secure secret key.
|
9
|
+
|
10
|
+
# Make sure the secrets in this file are kept private
|
11
|
+
# if you're sharing your code publicly.
|
12
|
+
|
13
|
+
development:
|
14
|
+
secret_key_base: ee235ede341b4f697df9ef05ff28428e298b95d4fbad4c4959d792ca892f3af362cc2a5d53e8a688c892a6add3a7602685745053ab190ee3da153c3d6db51a71
|
15
|
+
|
16
|
+
test:
|
17
|
+
secret_key_base: 11c5667760a505977cd296c4c65511ab236dfdb03653184d5f5b9723a1d777807561c6ad5b66e6da9ee6a58ad81610e39e7f33db155de65e54b104f590810177
|
18
|
+
|
19
|
+
# Do not keep production secrets in the repository,
|
20
|
+
# instead read values from the environment.
|
21
|
+
production:
|
22
|
+
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
File without changes
|
File without changes
|
@@ -0,0 +1,67 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body>
|
58
|
+
<!-- This file lives in public/404.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
62
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
63
|
+
</div>
|
64
|
+
<p>If you are the application owner check the logs for more information.</p>
|
65
|
+
</div>
|
66
|
+
</body>
|
67
|
+
</html>
|
@@ -0,0 +1,67 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body>
|
58
|
+
<!-- This file lives in public/422.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>The change you wanted was rejected.</h1>
|
62
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
63
|
+
</div>
|
64
|
+
<p>If you are the application owner check the logs for more information.</p>
|
65
|
+
</div>
|
66
|
+
</body>
|
67
|
+
</html>
|
@@ -0,0 +1,66 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body>
|
58
|
+
<!-- This file lives in public/500.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>We're sorry, but something went wrong.</h1>
|
62
|
+
</div>
|
63
|
+
<p>If you are the application owner check the logs for more information.</p>
|
64
|
+
</div>
|
65
|
+
</body>
|
66
|
+
</html>
|
File without changes
|
@@ -0,0 +1,29 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'generators/controller_resources/install_generator'
|
3
|
+
|
4
|
+
module ControllerResources
|
5
|
+
RSpec.describe InstallGenerator, :type => :generator do
|
6
|
+
destination Rails.root.join('tmp/generators')
|
7
|
+
|
8
|
+
before do
|
9
|
+
prepare_destination and run_generator
|
10
|
+
end
|
11
|
+
|
12
|
+
it "creates the locale file" do
|
13
|
+
assert_file "config/locales/responders.en.yml", <<YAML
|
14
|
+
en:
|
15
|
+
flash:
|
16
|
+
actions:
|
17
|
+
create:
|
18
|
+
notice: '%{resource_name} was successfully created.'
|
19
|
+
# alert: '%{resource_name} could not be created.'
|
20
|
+
update:
|
21
|
+
notice: '%{resource_name} was successfully updated.'
|
22
|
+
# alert: '%{resource_name} could not be updated.'
|
23
|
+
destroy:
|
24
|
+
notice: '%{resource_name} was successfully destroyed.'
|
25
|
+
alert: '%{resource_name} could not be destroyed.'
|
26
|
+
YAML
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# Configure Rails Environment
|
2
|
+
ENV["RAILS_ENV"] = "test"
|
3
|
+
|
4
|
+
require "bundler/setup"
|
5
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
6
|
+
require "rails/test_help"
|
7
|
+
require "rspec"
|
8
|
+
|
9
|
+
Rails.backtrace_cleaner.remove_silencers!
|
10
|
+
|
11
|
+
# Load support files
|
12
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
13
|
+
|
14
|
+
# Load fixtures from the engine
|
15
|
+
if ActiveSupport::TestCase.method_defined?(:fixture_path=)
|
16
|
+
ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
|
17
|
+
end
|
18
|
+
|
19
|
+
RSpec.configure do |config|
|
20
|
+
end
|
metadata
ADDED
@@ -0,0 +1,275 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: controller_resources
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Tom Scott
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-12-08 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.7'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.7'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: pg
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: generator_spec
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rails
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ~>
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '4.1'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ~>
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '4.1'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: decent_exposure
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: responders
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - '>='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
description: A "glue" for decent_exposure, responders, draper and strong_params
|
126
|
+
email:
|
127
|
+
- tubbo@psychedeli.ca
|
128
|
+
executables:
|
129
|
+
- rails
|
130
|
+
extensions: []
|
131
|
+
extra_rdoc_files: []
|
132
|
+
files:
|
133
|
+
- .gitignore
|
134
|
+
- Gemfile
|
135
|
+
- LICENSE.txt
|
136
|
+
- MIT-LICENSE
|
137
|
+
- README.md
|
138
|
+
- Rakefile
|
139
|
+
- bin/rails
|
140
|
+
- controller_resources.gemspec
|
141
|
+
- lib/controller_resources.rb
|
142
|
+
- lib/controller_resources/engine.rb
|
143
|
+
- lib/controller_resources/extension.rb
|
144
|
+
- lib/controller_resources/responder.rb
|
145
|
+
- lib/controller_resources/version.rb
|
146
|
+
- lib/generators/controller_resources/USAGE
|
147
|
+
- lib/generators/controller_resources/install_generator.rb
|
148
|
+
- lib/tasks/controller_resources_tasks.rake
|
149
|
+
- spec/controller_resources/extension_spec.rb
|
150
|
+
- spec/dummy/README.rdoc
|
151
|
+
- spec/dummy/Rakefile
|
152
|
+
- spec/dummy/app/assets/images/.keep
|
153
|
+
- spec/dummy/app/assets/javascripts/application.js
|
154
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
155
|
+
- spec/dummy/app/controllers/application_controller.rb
|
156
|
+
- spec/dummy/app/controllers/concerns/.keep
|
157
|
+
- spec/dummy/app/helpers/application_helper.rb
|
158
|
+
- spec/dummy/app/mailers/.keep
|
159
|
+
- spec/dummy/app/models/.keep
|
160
|
+
- spec/dummy/app/models/concerns/.keep
|
161
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
162
|
+
- spec/dummy/bin/bundle
|
163
|
+
- spec/dummy/bin/rails
|
164
|
+
- spec/dummy/bin/rake
|
165
|
+
- spec/dummy/config.ru
|
166
|
+
- spec/dummy/config/application.rb
|
167
|
+
- spec/dummy/config/boot.rb
|
168
|
+
- spec/dummy/config/database.yml
|
169
|
+
- spec/dummy/config/environment.rb
|
170
|
+
- spec/dummy/config/environments/development.rb
|
171
|
+
- spec/dummy/config/environments/production.rb
|
172
|
+
- spec/dummy/config/environments/test.rb
|
173
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
174
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
175
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
176
|
+
- spec/dummy/config/initializers/inflections.rb
|
177
|
+
- spec/dummy/config/initializers/mime_types.rb
|
178
|
+
- spec/dummy/config/initializers/session_store.rb
|
179
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
180
|
+
- spec/dummy/config/locales/en.yml
|
181
|
+
- spec/dummy/config/routes.rb
|
182
|
+
- spec/dummy/config/secrets.yml
|
183
|
+
- spec/dummy/lib/assets/.keep
|
184
|
+
- spec/dummy/log/.keep
|
185
|
+
- spec/dummy/public/404.html
|
186
|
+
- spec/dummy/public/422.html
|
187
|
+
- spec/dummy/public/500.html
|
188
|
+
- spec/dummy/public/favicon.ico
|
189
|
+
- spec/generators/controller_resources/install_generator_spec.rb
|
190
|
+
- spec/integration/navigation_spec.rb
|
191
|
+
- spec/spec_helper.rb
|
192
|
+
homepage: https://github.com/tubbo/controller_resources
|
193
|
+
licenses:
|
194
|
+
- MIT
|
195
|
+
metadata: {}
|
196
|
+
post_install_message:
|
197
|
+
rdoc_options: []
|
198
|
+
require_paths:
|
199
|
+
- lib
|
200
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
201
|
+
requirements:
|
202
|
+
- - '>='
|
203
|
+
- !ruby/object:Gem::Version
|
204
|
+
version: '0'
|
205
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
206
|
+
requirements:
|
207
|
+
- - '>='
|
208
|
+
- !ruby/object:Gem::Version
|
209
|
+
version: '0'
|
210
|
+
requirements: []
|
211
|
+
rubyforge_project:
|
212
|
+
rubygems_version: 2.0.14
|
213
|
+
signing_key:
|
214
|
+
specification_version: 4
|
215
|
+
summary: A "glue" for decent_exposure, responders, draper and strong_params
|
216
|
+
test_files:
|
217
|
+
- .gitignore
|
218
|
+
- Gemfile
|
219
|
+
- LICENSE.txt
|
220
|
+
- MIT-LICENSE
|
221
|
+
- README.md
|
222
|
+
- Rakefile
|
223
|
+
- bin/rails
|
224
|
+
- controller_resources.gemspec
|
225
|
+
- lib/controller_resources.rb
|
226
|
+
- lib/controller_resources/engine.rb
|
227
|
+
- lib/controller_resources/extension.rb
|
228
|
+
- lib/controller_resources/responder.rb
|
229
|
+
- lib/controller_resources/version.rb
|
230
|
+
- lib/generators/controller_resources/USAGE
|
231
|
+
- lib/generators/controller_resources/install_generator.rb
|
232
|
+
- lib/tasks/controller_resources_tasks.rake
|
233
|
+
- spec/controller_resources/extension_spec.rb
|
234
|
+
- spec/dummy/README.rdoc
|
235
|
+
- spec/dummy/Rakefile
|
236
|
+
- spec/dummy/app/assets/images/.keep
|
237
|
+
- spec/dummy/app/assets/javascripts/application.js
|
238
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
239
|
+
- spec/dummy/app/controllers/application_controller.rb
|
240
|
+
- spec/dummy/app/controllers/concerns/.keep
|
241
|
+
- spec/dummy/app/helpers/application_helper.rb
|
242
|
+
- spec/dummy/app/mailers/.keep
|
243
|
+
- spec/dummy/app/models/.keep
|
244
|
+
- spec/dummy/app/models/concerns/.keep
|
245
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
246
|
+
- spec/dummy/bin/bundle
|
247
|
+
- spec/dummy/bin/rails
|
248
|
+
- spec/dummy/bin/rake
|
249
|
+
- spec/dummy/config.ru
|
250
|
+
- spec/dummy/config/application.rb
|
251
|
+
- spec/dummy/config/boot.rb
|
252
|
+
- spec/dummy/config/database.yml
|
253
|
+
- spec/dummy/config/environment.rb
|
254
|
+
- spec/dummy/config/environments/development.rb
|
255
|
+
- spec/dummy/config/environments/production.rb
|
256
|
+
- spec/dummy/config/environments/test.rb
|
257
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
258
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
259
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
260
|
+
- spec/dummy/config/initializers/inflections.rb
|
261
|
+
- spec/dummy/config/initializers/mime_types.rb
|
262
|
+
- spec/dummy/config/initializers/session_store.rb
|
263
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
264
|
+
- spec/dummy/config/locales/en.yml
|
265
|
+
- spec/dummy/config/routes.rb
|
266
|
+
- spec/dummy/config/secrets.yml
|
267
|
+
- spec/dummy/lib/assets/.keep
|
268
|
+
- spec/dummy/log/.keep
|
269
|
+
- spec/dummy/public/404.html
|
270
|
+
- spec/dummy/public/422.html
|
271
|
+
- spec/dummy/public/500.html
|
272
|
+
- spec/dummy/public/favicon.ico
|
273
|
+
- spec/generators/controller_resources/install_generator_spec.rb
|
274
|
+
- spec/integration/navigation_spec.rb
|
275
|
+
- spec/spec_helper.rb
|