simple_exposure 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 +17 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +167 -0
- data/Rakefile +1 -0
- data/lib/simple_exposure.rb +8 -0
- data/lib/simple_exposure/before_render.rb +42 -0
- data/lib/simple_exposure/core.rb +94 -0
- data/lib/simple_exposure/extensions/decorate.rb +11 -0
- data/lib/simple_exposure/extensions/paginate.rb +11 -0
- data/lib/simple_exposure/version.rb +3 -0
- data/simple_exposure.gemspec +24 -0
- data/spec/dummy/.gitignore +16 -0
- data/spec/dummy/Gemfile +40 -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 +1 -0
- data/spec/dummy/app/assets/stylesheets/application.css +1 -0
- data/spec/dummy/app/controllers/application_controller.rb +22 -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/application/index.html.erb +5 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +8 -0
- data/spec/dummy/bin/rake +8 -0
- data/spec/dummy/bin/spring +18 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +27 -0
- data/spec/dummy/config/boot.rb +4 -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 +82 -0
- data/spec/dummy/config/environments/test.rb +39 -0
- data/spec/dummy/config/initializers/assets.rb +8 -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 +3 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/lib/assets/.keep +0 -0
- data/spec/dummy/lib/tasks/.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/dummy/public/robots.txt +5 -0
- data/spec/dummy/test/controllers/.keep +0 -0
- data/spec/dummy/test/fixtures/.keep +0 -0
- data/spec/dummy/test/helpers/.keep +0 -0
- data/spec/dummy/test/integration/.keep +0 -0
- data/spec/dummy/test/mailers/.keep +0 -0
- data/spec/dummy/test/models/.keep +0 -0
- data/spec/dummy/test/test_helper.rb +10 -0
- data/spec/dummy/vendor/assets/javascripts/.keep +0 -0
- data/spec/dummy/vendor/assets/stylesheets/.keep +0 -0
- data/spec/integration/simple_exposure_spec.rb +21 -0
- data/spec/simple_exposure/core_spec.rb +9 -0
- data/spec/spec_helper.rb +13 -0
- metadata +220 -0
@@ -0,0 +1,14 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
+
# is enabled by default.
|
5
|
+
|
6
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
+
ActiveSupport.on_load(:action_controller) do
|
8
|
+
wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
|
9
|
+
end
|
10
|
+
|
11
|
+
# To enable root element in JSON for ActiveRecord objects.
|
12
|
+
# ActiveSupport.on_load(:active_record) do
|
13
|
+
# self.include_root_in_json = true
|
14
|
+
# end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Files in the config/locales directory are used for internationalization
|
2
|
+
# and are automatically loaded by Rails. If you want to use locales other
|
3
|
+
# than English, add the necessary files in this directory.
|
4
|
+
#
|
5
|
+
# To use the locales, use `I18n.t`:
|
6
|
+
#
|
7
|
+
# I18n.t 'hello'
|
8
|
+
#
|
9
|
+
# In views, this is aliased to just `t`:
|
10
|
+
#
|
11
|
+
# <%= t('hello') %>
|
12
|
+
#
|
13
|
+
# To use a different locale, set it with `I18n.locale`:
|
14
|
+
#
|
15
|
+
# I18n.locale = :es
|
16
|
+
#
|
17
|
+
# This would use the information in config/locales/es.yml.
|
18
|
+
#
|
19
|
+
# To learn more, please read the Rails Internationalization guide
|
20
|
+
# available at http://guides.rubyonrails.org/i18n.html.
|
21
|
+
|
22
|
+
en:
|
23
|
+
hello: "Hello world"
|
@@ -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: eba82baa9c6755c6e782ecb59a88652231a11171e587be9ab967ea45d4e2c47b351ee6bf4d324da5c436434b0fb83657693379d183296d92151e162a4016baeb
|
15
|
+
|
16
|
+
test:
|
17
|
+
secret_key_base: 79cf4bad607aeb6a83897a7876a7a7498825fcc8bf2b1a13fed3f8965609d0603138f3fe8acfb4b18dcb705dba9a05c22ddb2f26da6a269a29abe105d81be34d
|
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
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,10 @@
|
|
1
|
+
ENV['RAILS_ENV'] ||= 'test'
|
2
|
+
require File.expand_path('../../config/environment', __FILE__)
|
3
|
+
require 'rails/test_help'
|
4
|
+
|
5
|
+
class ActiveSupport::TestCase
|
6
|
+
# Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
|
7
|
+
fixtures :all
|
8
|
+
|
9
|
+
# Add more helper methods to be used by all tests here...
|
10
|
+
end
|
File without changes
|
File without changes
|
@@ -0,0 +1,21 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe SimpleExposure, type: :integration do
|
4
|
+
it 'loads the modules' do
|
5
|
+
expect(ActionController::Base.ancestors).to include(SimpleExposure::Core)
|
6
|
+
end
|
7
|
+
|
8
|
+
let(:controller) { ApplicationController.new }
|
9
|
+
|
10
|
+
it 'can see the content' do
|
11
|
+
visit '/'
|
12
|
+
|
13
|
+
controller.index
|
14
|
+
|
15
|
+
expect(page).to have_content controller.send(:message)
|
16
|
+
expect(page).to have_content controller.send(:current_user)
|
17
|
+
expect(page).to have_content controller.send(:posts_count)
|
18
|
+
end
|
19
|
+
|
20
|
+
|
21
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
ENV['RAILS_ENV'] ||= 'test'
|
2
|
+
require File.expand_path('../dummy/config/environment', __FILE__)
|
3
|
+
|
4
|
+
require 'rspec/rails'
|
5
|
+
require 'capybara/rspec'
|
6
|
+
|
7
|
+
# Requires supporting ruby files with custom matchers and macros, etc,
|
8
|
+
# in spec/support/ and its subdirectories.
|
9
|
+
Dir[Rails.root.join('spec/support/**/*.rb')].each {|f| require f}
|
10
|
+
|
11
|
+
RSpec.configure do |config|
|
12
|
+
config.include Capybara::DSL, type: :integration
|
13
|
+
end
|
metadata
ADDED
@@ -0,0 +1,220 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: simple_exposure
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Michal Krejčí
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-07-13 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 3.2.3
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '5'
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 3.2.3
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '5'
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: rspec-rails
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: 3.0.0
|
40
|
+
type: :development
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 3.0.0
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: capybara
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0'
|
61
|
+
description: Cleanup your Rails controllers
|
62
|
+
email:
|
63
|
+
- work@mikekreeki.com
|
64
|
+
executables: []
|
65
|
+
extensions: []
|
66
|
+
extra_rdoc_files: []
|
67
|
+
files:
|
68
|
+
- ".gitignore"
|
69
|
+
- ".ruby-gemset"
|
70
|
+
- ".ruby-version"
|
71
|
+
- Gemfile
|
72
|
+
- LICENSE.txt
|
73
|
+
- README.md
|
74
|
+
- Rakefile
|
75
|
+
- lib/simple_exposure.rb
|
76
|
+
- lib/simple_exposure/before_render.rb
|
77
|
+
- lib/simple_exposure/core.rb
|
78
|
+
- lib/simple_exposure/extensions/decorate.rb
|
79
|
+
- lib/simple_exposure/extensions/paginate.rb
|
80
|
+
- lib/simple_exposure/version.rb
|
81
|
+
- simple_exposure.gemspec
|
82
|
+
- spec/dummy/.gitignore
|
83
|
+
- spec/dummy/Gemfile
|
84
|
+
- spec/dummy/README.rdoc
|
85
|
+
- spec/dummy/Rakefile
|
86
|
+
- spec/dummy/app/assets/images/.keep
|
87
|
+
- spec/dummy/app/assets/javascripts/application.js
|
88
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
89
|
+
- spec/dummy/app/controllers/application_controller.rb
|
90
|
+
- spec/dummy/app/controllers/concerns/.keep
|
91
|
+
- spec/dummy/app/helpers/application_helper.rb
|
92
|
+
- spec/dummy/app/mailers/.keep
|
93
|
+
- spec/dummy/app/models/.keep
|
94
|
+
- spec/dummy/app/models/concerns/.keep
|
95
|
+
- spec/dummy/app/views/application/index.html.erb
|
96
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
97
|
+
- spec/dummy/bin/bundle
|
98
|
+
- spec/dummy/bin/rails
|
99
|
+
- spec/dummy/bin/rake
|
100
|
+
- spec/dummy/bin/spring
|
101
|
+
- spec/dummy/config.ru
|
102
|
+
- spec/dummy/config/application.rb
|
103
|
+
- spec/dummy/config/boot.rb
|
104
|
+
- spec/dummy/config/environment.rb
|
105
|
+
- spec/dummy/config/environments/development.rb
|
106
|
+
- spec/dummy/config/environments/production.rb
|
107
|
+
- spec/dummy/config/environments/test.rb
|
108
|
+
- spec/dummy/config/initializers/assets.rb
|
109
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
110
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
111
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
112
|
+
- spec/dummy/config/initializers/inflections.rb
|
113
|
+
- spec/dummy/config/initializers/mime_types.rb
|
114
|
+
- spec/dummy/config/initializers/session_store.rb
|
115
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
116
|
+
- spec/dummy/config/locales/en.yml
|
117
|
+
- spec/dummy/config/routes.rb
|
118
|
+
- spec/dummy/config/secrets.yml
|
119
|
+
- spec/dummy/lib/assets/.keep
|
120
|
+
- spec/dummy/lib/tasks/.keep
|
121
|
+
- spec/dummy/log/.keep
|
122
|
+
- spec/dummy/public/404.html
|
123
|
+
- spec/dummy/public/422.html
|
124
|
+
- spec/dummy/public/500.html
|
125
|
+
- spec/dummy/public/favicon.ico
|
126
|
+
- spec/dummy/public/robots.txt
|
127
|
+
- spec/dummy/test/controllers/.keep
|
128
|
+
- spec/dummy/test/fixtures/.keep
|
129
|
+
- spec/dummy/test/helpers/.keep
|
130
|
+
- spec/dummy/test/integration/.keep
|
131
|
+
- spec/dummy/test/mailers/.keep
|
132
|
+
- spec/dummy/test/models/.keep
|
133
|
+
- spec/dummy/test/test_helper.rb
|
134
|
+
- spec/dummy/vendor/assets/javascripts/.keep
|
135
|
+
- spec/dummy/vendor/assets/stylesheets/.keep
|
136
|
+
- spec/integration/simple_exposure_spec.rb
|
137
|
+
- spec/simple_exposure/core_spec.rb
|
138
|
+
- spec/spec_helper.rb
|
139
|
+
homepage: https://github.com/mikekreeki/simple_exposure
|
140
|
+
licenses:
|
141
|
+
- MIT
|
142
|
+
metadata: {}
|
143
|
+
post_install_message:
|
144
|
+
rdoc_options: []
|
145
|
+
require_paths:
|
146
|
+
- lib
|
147
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
148
|
+
requirements:
|
149
|
+
- - ">="
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: '0'
|
152
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
153
|
+
requirements:
|
154
|
+
- - ">="
|
155
|
+
- !ruby/object:Gem::Version
|
156
|
+
version: '0'
|
157
|
+
requirements: []
|
158
|
+
rubyforge_project:
|
159
|
+
rubygems_version: 2.2.2
|
160
|
+
signing_key:
|
161
|
+
specification_version: 4
|
162
|
+
summary: Cleanup your Rails controllers
|
163
|
+
test_files:
|
164
|
+
- spec/dummy/.gitignore
|
165
|
+
- spec/dummy/Gemfile
|
166
|
+
- spec/dummy/README.rdoc
|
167
|
+
- spec/dummy/Rakefile
|
168
|
+
- spec/dummy/app/assets/images/.keep
|
169
|
+
- spec/dummy/app/assets/javascripts/application.js
|
170
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
171
|
+
- spec/dummy/app/controllers/application_controller.rb
|
172
|
+
- spec/dummy/app/controllers/concerns/.keep
|
173
|
+
- spec/dummy/app/helpers/application_helper.rb
|
174
|
+
- spec/dummy/app/mailers/.keep
|
175
|
+
- spec/dummy/app/models/.keep
|
176
|
+
- spec/dummy/app/models/concerns/.keep
|
177
|
+
- spec/dummy/app/views/application/index.html.erb
|
178
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
179
|
+
- spec/dummy/bin/bundle
|
180
|
+
- spec/dummy/bin/rails
|
181
|
+
- spec/dummy/bin/rake
|
182
|
+
- spec/dummy/bin/spring
|
183
|
+
- spec/dummy/config.ru
|
184
|
+
- spec/dummy/config/application.rb
|
185
|
+
- spec/dummy/config/boot.rb
|
186
|
+
- spec/dummy/config/environment.rb
|
187
|
+
- spec/dummy/config/environments/development.rb
|
188
|
+
- spec/dummy/config/environments/production.rb
|
189
|
+
- spec/dummy/config/environments/test.rb
|
190
|
+
- spec/dummy/config/initializers/assets.rb
|
191
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
192
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
193
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
194
|
+
- spec/dummy/config/initializers/inflections.rb
|
195
|
+
- spec/dummy/config/initializers/mime_types.rb
|
196
|
+
- spec/dummy/config/initializers/session_store.rb
|
197
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
198
|
+
- spec/dummy/config/locales/en.yml
|
199
|
+
- spec/dummy/config/routes.rb
|
200
|
+
- spec/dummy/config/secrets.yml
|
201
|
+
- spec/dummy/lib/assets/.keep
|
202
|
+
- spec/dummy/lib/tasks/.keep
|
203
|
+
- spec/dummy/log/.keep
|
204
|
+
- spec/dummy/public/404.html
|
205
|
+
- spec/dummy/public/422.html
|
206
|
+
- spec/dummy/public/500.html
|
207
|
+
- spec/dummy/public/favicon.ico
|
208
|
+
- spec/dummy/public/robots.txt
|
209
|
+
- spec/dummy/test/controllers/.keep
|
210
|
+
- spec/dummy/test/fixtures/.keep
|
211
|
+
- spec/dummy/test/helpers/.keep
|
212
|
+
- spec/dummy/test/integration/.keep
|
213
|
+
- spec/dummy/test/mailers/.keep
|
214
|
+
- spec/dummy/test/models/.keep
|
215
|
+
- spec/dummy/test/test_helper.rb
|
216
|
+
- spec/dummy/vendor/assets/javascripts/.keep
|
217
|
+
- spec/dummy/vendor/assets/stylesheets/.keep
|
218
|
+
- spec/integration/simple_exposure_spec.rb
|
219
|
+
- spec/simple_exposure/core_spec.rb
|
220
|
+
- spec/spec_helper.rb
|