express_settings 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/MIT-LICENSE +20 -0
- data/README.rdoc +3 -0
- data/Rakefile +37 -0
- data/app/assets/javascripts/express_settings/application.js +13 -0
- data/app/assets/stylesheets/express_settings/application.css +15 -0
- data/app/controllers/express_settings/application_controller.rb +4 -0
- data/app/helpers/express_settings/application_helper.rb +4 -0
- data/app/views/layouts/express_settings/application.html.erb +14 -0
- data/config/routes.rb +2 -0
- data/lib/express_settings.rb +4 -0
- data/lib/express_settings/engine.rb +7 -0
- data/lib/express_settings/version.rb +3 -0
- data/lib/generators/express_settings/install/USAGE +8 -0
- data/lib/generators/express_settings/install/install_generator.rb +35 -0
- data/lib/generators/express_settings/install/templates/controller/controller.rb +28 -0
- data/lib/generators/express_settings/install/templates/model/model.rb +14 -0
- data/lib/generators/express_settings/install/templates/show.html.et.erb +9 -0
- data/lib/tasks/express_settings_tasks.rake +4 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +29 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +26 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +41 -0
- data/test/dummy/config/environments/production.rb +79 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/initializers/assets.rb +11 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +4 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/db/schema.rb +16 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +1827 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/tmp/generators/app/controllers/generators/admin/settings_controller.rb +28 -0
- data/test/dummy/tmp/generators/app/models/generators/setting.rb +14 -0
- data/test/dummy/tmp/generators/app/views/generators/admin/settings/show.html.et +9 -0
- data/test/dummy/tmp/generators/config/routes.rb +4 -0
- data/test/dummy/tmp/generators/db/migrate/20150325071720_create_generators_settings.rb +7 -0
- data/test/dummy/tmp/generators/lib/generators/engine.rb +12 -0
- data/test/express_settings_test.rb +7 -0
- data/test/fixtures/engine.rb +5 -0
- data/test/fixtures/routes.rb +2 -0
- data/test/integration/navigation_test.rb +10 -0
- data/test/lib/generators/express_settings/install_generator_test.rb +65 -0
- data/test/support/generator_helper.rb +17 -0
- data/test/test_helper.rb +19 -0
- metadata +219 -0
@@ -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,28 @@
|
|
1
|
+
module Generators
|
2
|
+
module Admin
|
3
|
+
class SettingsController < ApplicationController
|
4
|
+
|
5
|
+
def show
|
6
|
+
@setting = Generators.settings
|
7
|
+
end
|
8
|
+
|
9
|
+
def update
|
10
|
+
@setting = Generators.settings
|
11
|
+
if @setting.update_attributes(setting_params)
|
12
|
+
flash[:notice] = 'Settings successfully updated.'
|
13
|
+
else
|
14
|
+
flash[:error] = 'There was a problem saving your settings.'
|
15
|
+
end
|
16
|
+
|
17
|
+
render :show
|
18
|
+
end
|
19
|
+
|
20
|
+
private
|
21
|
+
|
22
|
+
def setting_params
|
23
|
+
params.require(:setting).permit!
|
24
|
+
end
|
25
|
+
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
module Generators
|
2
|
+
class Setting < ActiveRecord::Base
|
3
|
+
store :data, coder: JSON
|
4
|
+
|
5
|
+
include Storext.model
|
6
|
+
|
7
|
+
# add your settings here:
|
8
|
+
# store_attributes :data do
|
9
|
+
# my_string_setting String, default: 'Hello World'
|
10
|
+
# my_int_setting Integer, default: 0
|
11
|
+
# my_bool_setting Boolean, default: false
|
12
|
+
# end
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,9 @@
|
|
1
|
+
h1 { "Generators Settings" }
|
2
|
+
|
3
|
+
form_for(:settings, method: :put, action: '{{admin_setting_path}}') do |f|
|
4
|
+
# add form elements for your settings here
|
5
|
+
# f.text_field :my_string_setting
|
6
|
+
# f.text_field :my_int_setting
|
7
|
+
# f.text_field :my_bool_setting
|
8
|
+
f.submit 'Save', class: 'button tiny right radius', wrapper_class: 'form-group widget-buttons'
|
9
|
+
end
|
@@ -0,0 +1,65 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
require 'generators/express_settings/install/install_generator'
|
3
|
+
|
4
|
+
module ExpressSettings
|
5
|
+
class InstallGeneratorTest < Rails::Generators::TestCase
|
6
|
+
include GeneratorHelper
|
7
|
+
tests InstallGenerator
|
8
|
+
destination Rails.root.join('tmp', 'generators')
|
9
|
+
setup :prepare_destination
|
10
|
+
setup :copy_engine
|
11
|
+
setup :copy_routes
|
12
|
+
|
13
|
+
test "generates a migration to create the settings table and the settings model" do
|
14
|
+
run_generator
|
15
|
+
|
16
|
+
# Model and Migration
|
17
|
+
assert_file 'app/models/generators/setting.rb'
|
18
|
+
assert_migration 'db/migrate/create_generators_settings.rb'
|
19
|
+
|
20
|
+
# Controller
|
21
|
+
assert_file 'app/controllers/generators/admin/settings_controller.rb' do |content|
|
22
|
+
assert_instance_method :show, content do |m|
|
23
|
+
assert_match /@setting = Generators\.settings/, m
|
24
|
+
end
|
25
|
+
|
26
|
+
assert_instance_method :update, content do |m|
|
27
|
+
assert_match /@setting = Generators\.settings/, m
|
28
|
+
assert_match /@setting\.update_attributes\(setting_params\)/, m
|
29
|
+
end
|
30
|
+
|
31
|
+
assert_instance_method :setting_params, content do |m|
|
32
|
+
assert_match /params\.require\(:setting\)\.permit!/, m
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
# View
|
37
|
+
assert_file 'app/views/generators/admin/settings/show.html.et' do |content|
|
38
|
+
assert_match /h1 { "Generators Settings" }/, content
|
39
|
+
end
|
40
|
+
|
41
|
+
# Engine
|
42
|
+
assert_file 'lib/generators/engine.rb' do |content|
|
43
|
+
assert_equal <<-RUBY.strip_heredoc, content
|
44
|
+
require 'express_settings'
|
45
|
+
|
46
|
+
module Generators
|
47
|
+
|
48
|
+
def self.settings
|
49
|
+
Generators::Setting.first_or_create
|
50
|
+
end
|
51
|
+
|
52
|
+
class Engine < ::Rails::Engine
|
53
|
+
isolate_namespace Generators
|
54
|
+
end
|
55
|
+
end
|
56
|
+
RUBY
|
57
|
+
end
|
58
|
+
|
59
|
+
# Routes
|
60
|
+
assert_file "config/routes.rb" do |content|
|
61
|
+
assert_match(/resource :setting, only: \[:show, :update\]/, content)
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
module GeneratorHelper
|
2
|
+
|
3
|
+
def copy_routes
|
4
|
+
routes = File.join('test', 'fixtures', 'routes.rb')
|
5
|
+
destination = File.join(destination_root, 'config')
|
6
|
+
FileUtils.mkdir_p(destination)
|
7
|
+
FileUtils.cp File.expand_path(routes), File.expand_path(destination)
|
8
|
+
end
|
9
|
+
|
10
|
+
def copy_engine
|
11
|
+
engine = File.join('test', 'fixtures', 'engine.rb')
|
12
|
+
destination = File.join(destination_root, 'lib', 'generators')
|
13
|
+
FileUtils.mkdir_p(destination)
|
14
|
+
FileUtils.cp File.expand_path(engine), File.expand_path(destination)
|
15
|
+
end
|
16
|
+
|
17
|
+
end
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# Configure Rails Environment
|
2
|
+
ENV["RAILS_ENV"] = "test"
|
3
|
+
|
4
|
+
require File.expand_path("../../test/dummy/config/environment.rb", __FILE__)
|
5
|
+
ActiveRecord::Migrator.migrations_paths = [File.expand_path("../../test/dummy/db/migrate", __FILE__)]
|
6
|
+
ActiveRecord::Migrator.migrations_paths << File.expand_path('../../db/migrate', __FILE__)
|
7
|
+
require "rails/test_help"
|
8
|
+
|
9
|
+
# Filter out Minitest backtrace while allowing backtrace from other libraries
|
10
|
+
# to be shown.
|
11
|
+
Minitest.backtrace_filter = Minitest::BacktraceFilter.new
|
12
|
+
|
13
|
+
# Load support files
|
14
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
15
|
+
|
16
|
+
# Load fixtures from the engine
|
17
|
+
if ActiveSupport::TestCase.respond_to?(:fixture_path=)
|
18
|
+
ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
|
19
|
+
end
|
metadata
ADDED
@@ -0,0 +1,219 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: express_settings
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Eumir Gaspar
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-04-01 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: '4.2'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '4.2'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: storext
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: express_templates
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0.3'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0.3'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: sqlite3
|
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
|
+
description: Add settings to an app express module
|
70
|
+
email:
|
71
|
+
- eumir+coron@aelogica.com
|
72
|
+
executables: []
|
73
|
+
extensions: []
|
74
|
+
extra_rdoc_files: []
|
75
|
+
files:
|
76
|
+
- MIT-LICENSE
|
77
|
+
- README.rdoc
|
78
|
+
- Rakefile
|
79
|
+
- app/assets/javascripts/express_settings/application.js
|
80
|
+
- app/assets/stylesheets/express_settings/application.css
|
81
|
+
- app/controllers/express_settings/application_controller.rb
|
82
|
+
- app/helpers/express_settings/application_helper.rb
|
83
|
+
- app/views/layouts/express_settings/application.html.erb
|
84
|
+
- config/routes.rb
|
85
|
+
- lib/express_settings.rb
|
86
|
+
- lib/express_settings/engine.rb
|
87
|
+
- lib/express_settings/version.rb
|
88
|
+
- lib/generators/express_settings/install/USAGE
|
89
|
+
- lib/generators/express_settings/install/install_generator.rb
|
90
|
+
- lib/generators/express_settings/install/templates/controller/controller.rb
|
91
|
+
- lib/generators/express_settings/install/templates/model/model.rb
|
92
|
+
- lib/generators/express_settings/install/templates/show.html.et.erb
|
93
|
+
- lib/tasks/express_settings_tasks.rake
|
94
|
+
- test/dummy/README.rdoc
|
95
|
+
- test/dummy/Rakefile
|
96
|
+
- test/dummy/app/assets/javascripts/application.js
|
97
|
+
- test/dummy/app/assets/stylesheets/application.css
|
98
|
+
- test/dummy/app/controllers/application_controller.rb
|
99
|
+
- test/dummy/app/helpers/application_helper.rb
|
100
|
+
- test/dummy/app/views/layouts/application.html.erb
|
101
|
+
- test/dummy/bin/bundle
|
102
|
+
- test/dummy/bin/rails
|
103
|
+
- test/dummy/bin/rake
|
104
|
+
- test/dummy/bin/setup
|
105
|
+
- test/dummy/config.ru
|
106
|
+
- test/dummy/config/application.rb
|
107
|
+
- test/dummy/config/boot.rb
|
108
|
+
- test/dummy/config/database.yml
|
109
|
+
- test/dummy/config/environment.rb
|
110
|
+
- test/dummy/config/environments/development.rb
|
111
|
+
- test/dummy/config/environments/production.rb
|
112
|
+
- test/dummy/config/environments/test.rb
|
113
|
+
- test/dummy/config/initializers/assets.rb
|
114
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
115
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
116
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
117
|
+
- test/dummy/config/initializers/inflections.rb
|
118
|
+
- test/dummy/config/initializers/mime_types.rb
|
119
|
+
- test/dummy/config/initializers/session_store.rb
|
120
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
121
|
+
- test/dummy/config/locales/en.yml
|
122
|
+
- test/dummy/config/routes.rb
|
123
|
+
- test/dummy/config/secrets.yml
|
124
|
+
- test/dummy/db/schema.rb
|
125
|
+
- test/dummy/db/test.sqlite3
|
126
|
+
- test/dummy/log/test.log
|
127
|
+
- test/dummy/public/404.html
|
128
|
+
- test/dummy/public/422.html
|
129
|
+
- test/dummy/public/500.html
|
130
|
+
- test/dummy/public/favicon.ico
|
131
|
+
- test/dummy/tmp/generators/app/controllers/generators/admin/settings_controller.rb
|
132
|
+
- test/dummy/tmp/generators/app/models/generators/setting.rb
|
133
|
+
- test/dummy/tmp/generators/app/views/generators/admin/settings/show.html.et
|
134
|
+
- test/dummy/tmp/generators/config/routes.rb
|
135
|
+
- test/dummy/tmp/generators/db/migrate/20150325071720_create_generators_settings.rb
|
136
|
+
- test/dummy/tmp/generators/lib/generators/engine.rb
|
137
|
+
- test/express_settings_test.rb
|
138
|
+
- test/fixtures/engine.rb
|
139
|
+
- test/fixtures/routes.rb
|
140
|
+
- test/integration/navigation_test.rb
|
141
|
+
- test/lib/generators/express_settings/install_generator_test.rb
|
142
|
+
- test/support/generator_helper.rb
|
143
|
+
- test/test_helper.rb
|
144
|
+
homepage: https://github.com/aelogica/express_settings
|
145
|
+
licenses:
|
146
|
+
- MIT
|
147
|
+
metadata: {}
|
148
|
+
post_install_message:
|
149
|
+
rdoc_options: []
|
150
|
+
require_paths:
|
151
|
+
- lib
|
152
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
153
|
+
requirements:
|
154
|
+
- - ">="
|
155
|
+
- !ruby/object:Gem::Version
|
156
|
+
version: '0'
|
157
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
158
|
+
requirements:
|
159
|
+
- - ">="
|
160
|
+
- !ruby/object:Gem::Version
|
161
|
+
version: '0'
|
162
|
+
requirements: []
|
163
|
+
rubyforge_project:
|
164
|
+
rubygems_version: 2.4.5
|
165
|
+
signing_key:
|
166
|
+
specification_version: 4
|
167
|
+
summary: Add settings to an app express module
|
168
|
+
test_files:
|
169
|
+
- test/dummy/app/assets/javascripts/application.js
|
170
|
+
- test/dummy/app/assets/stylesheets/application.css
|
171
|
+
- test/dummy/app/controllers/application_controller.rb
|
172
|
+
- test/dummy/app/helpers/application_helper.rb
|
173
|
+
- test/dummy/app/views/layouts/application.html.erb
|
174
|
+
- test/dummy/bin/bundle
|
175
|
+
- test/dummy/bin/rails
|
176
|
+
- test/dummy/bin/rake
|
177
|
+
- test/dummy/bin/setup
|
178
|
+
- test/dummy/config/application.rb
|
179
|
+
- test/dummy/config/boot.rb
|
180
|
+
- test/dummy/config/database.yml
|
181
|
+
- test/dummy/config/environment.rb
|
182
|
+
- test/dummy/config/environments/development.rb
|
183
|
+
- test/dummy/config/environments/production.rb
|
184
|
+
- test/dummy/config/environments/test.rb
|
185
|
+
- test/dummy/config/initializers/assets.rb
|
186
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
187
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
188
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
189
|
+
- test/dummy/config/initializers/inflections.rb
|
190
|
+
- test/dummy/config/initializers/mime_types.rb
|
191
|
+
- test/dummy/config/initializers/session_store.rb
|
192
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
193
|
+
- test/dummy/config/locales/en.yml
|
194
|
+
- test/dummy/config/routes.rb
|
195
|
+
- test/dummy/config/secrets.yml
|
196
|
+
- test/dummy/config.ru
|
197
|
+
- test/dummy/db/schema.rb
|
198
|
+
- test/dummy/db/test.sqlite3
|
199
|
+
- test/dummy/log/test.log
|
200
|
+
- test/dummy/public/404.html
|
201
|
+
- test/dummy/public/422.html
|
202
|
+
- test/dummy/public/500.html
|
203
|
+
- test/dummy/public/favicon.ico
|
204
|
+
- test/dummy/Rakefile
|
205
|
+
- test/dummy/README.rdoc
|
206
|
+
- test/dummy/tmp/generators/app/controllers/generators/admin/settings_controller.rb
|
207
|
+
- test/dummy/tmp/generators/app/models/generators/setting.rb
|
208
|
+
- test/dummy/tmp/generators/app/views/generators/admin/settings/show.html.et
|
209
|
+
- test/dummy/tmp/generators/config/routes.rb
|
210
|
+
- test/dummy/tmp/generators/db/migrate/20150325071720_create_generators_settings.rb
|
211
|
+
- test/dummy/tmp/generators/lib/generators/engine.rb
|
212
|
+
- test/express_settings_test.rb
|
213
|
+
- test/fixtures/engine.rb
|
214
|
+
- test/fixtures/routes.rb
|
215
|
+
- test/integration/navigation_test.rb
|
216
|
+
- test/lib/generators/express_settings/install_generator_test.rb
|
217
|
+
- test/support/generator_helper.rb
|
218
|
+
- test/test_helper.rb
|
219
|
+
has_rdoc:
|