bootstrap_leather 0.4.9 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Rakefile +0 -6
- data/VERSION +1 -1
- data/app/views/bootstrap_leather/_icon_button_to.html.haml +1 -1
- data/bootstrap_leather.gemspec +6 -66
- metadata +5 -120
- data/spec/bootstrap_leather_spec.rb +0 -7
- data/spec/dummy/README.rdoc +0 -28
- data/spec/dummy/Rakefile +0 -6
- data/spec/dummy/app/assets/images/.keep +0 -0
- data/spec/dummy/app/assets/javascripts/application.js +0 -15
- data/spec/dummy/app/assets/javascripts/customizable_bootstrap/index.js +0 -15
- data/spec/dummy/app/assets/stylesheets/application.css.scss +0 -15
- data/spec/dummy/app/assets/stylesheets/customizable_bootstrap/colors.css.scss +0 -100
- data/spec/dummy/app/assets/stylesheets/customizable_bootstrap/font.css.scss +0 -9
- data/spec/dummy/app/assets/stylesheets/customizable_bootstrap/grid.css.scss +0 -7
- data/spec/dummy/app/assets/stylesheets/customizable_bootstrap/index.css.scss +0 -13
- data/spec/dummy/app/assets/stylesheets/customizable_bootstrap/layers.css.scss +0 -7
- data/spec/dummy/app/assets/stylesheets/customizable_bootstrap/overrides.css.scss +0 -23
- data/spec/dummy/app/controllers/application_controller.rb +0 -5
- data/spec/dummy/app/controllers/concerns/.keep +0 -0
- data/spec/dummy/app/controllers/welcome_controller.rb +0 -9
- data/spec/dummy/app/helpers/application_helper.rb +0 -2
- 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.haml +0 -68
- data/spec/dummy/app/views/welcome/index.html.haml +0 -14
- data/spec/dummy/bin/bundle +0 -3
- data/spec/dummy/bin/rails +0 -4
- data/spec/dummy/bin/rake +0 -4
- data/spec/dummy/config.ru +0 -4
- data/spec/dummy/config/application.rb +0 -28
- data/spec/dummy/config/boot.rb +0 -5
- data/spec/dummy/config/environment.rb +0 -5
- data/spec/dummy/config/environments/development.rb +0 -23
- data/spec/dummy/config/environments/production.rb +0 -80
- data/spec/dummy/config/environments/test.rb +0 -31
- data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/dummy/config/initializers/bootstrap_leather.rb +0 -6
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +0 -4
- data/spec/dummy/config/initializers/inflections.rb +0 -16
- data/spec/dummy/config/initializers/mime_types.rb +0 -5
- data/spec/dummy/config/initializers/secret_token.rb +0 -12
- data/spec/dummy/config/initializers/session_store.rb +0 -3
- data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/spec/dummy/config/locales/en.yml +0 -23
- data/spec/dummy/config/routes.rb +0 -56
- data/spec/dummy/lib/assets/.keep +0 -0
- data/spec/dummy/log/.keep +0 -0
- data/spec/spec_helper.rb +0 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3fa30ace7cc43a8bc7c95d69fd0d843a6cbb425
|
4
|
+
data.tar.gz: 32a44e2f07dbc29a4080b8faee6f0a2f984f7729
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa200c61c8f8441fc9d0f908110b2d9003e1582ef596701dd0bc61eb45a75dfe829664675b90d52c99b0f68aef863fcc58055ea59513e9d84e3911d0ad009383
|
7
|
+
data.tar.gz: fd47b7ad1836d02661d5d81f5367a7f7819709d3465e5c1abcff07fa3d358588f1fc8d5fcf67a249f6120793f143acbd0e1300979d01447ece06f19baf9466d3
|
data/Gemfile
CHANGED
data/Rakefile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.5.0
|
data/bootstrap_leather.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: bootstrap_leather 0.
|
5
|
+
# stub: bootstrap_leather 0.5.0 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "bootstrap_leather"
|
9
|
-
s.version = "0.
|
9
|
+
s.version = "0.5.0"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
@@ -56,52 +56,7 @@ Gem::Specification.new do |s|
|
|
56
56
|
"lib/bootstrap_leather/version.rb",
|
57
57
|
"lib/generators/bootstrap_leather/install/install_generator.rb",
|
58
58
|
"lib/generators/bootstrap_leather/install/templates/initializer.rb",
|
59
|
-
"lib/generators/bootstrap_leather/utils.rb"
|
60
|
-
"spec/bootstrap_leather_spec.rb",
|
61
|
-
"spec/dummy/README.rdoc",
|
62
|
-
"spec/dummy/Rakefile",
|
63
|
-
"spec/dummy/app/assets/images/.keep",
|
64
|
-
"spec/dummy/app/assets/javascripts/application.js",
|
65
|
-
"spec/dummy/app/assets/javascripts/customizable_bootstrap/index.js",
|
66
|
-
"spec/dummy/app/assets/stylesheets/application.css.scss",
|
67
|
-
"spec/dummy/app/assets/stylesheets/customizable_bootstrap/colors.css.scss",
|
68
|
-
"spec/dummy/app/assets/stylesheets/customizable_bootstrap/font.css.scss",
|
69
|
-
"spec/dummy/app/assets/stylesheets/customizable_bootstrap/grid.css.scss",
|
70
|
-
"spec/dummy/app/assets/stylesheets/customizable_bootstrap/index.css.scss",
|
71
|
-
"spec/dummy/app/assets/stylesheets/customizable_bootstrap/layers.css.scss",
|
72
|
-
"spec/dummy/app/assets/stylesheets/customizable_bootstrap/overrides.css.scss",
|
73
|
-
"spec/dummy/app/controllers/application_controller.rb",
|
74
|
-
"spec/dummy/app/controllers/concerns/.keep",
|
75
|
-
"spec/dummy/app/controllers/welcome_controller.rb",
|
76
|
-
"spec/dummy/app/helpers/application_helper.rb",
|
77
|
-
"spec/dummy/app/mailers/.keep",
|
78
|
-
"spec/dummy/app/models/.keep",
|
79
|
-
"spec/dummy/app/models/concerns/.keep",
|
80
|
-
"spec/dummy/app/views/layouts/application.html.haml",
|
81
|
-
"spec/dummy/app/views/welcome/index.html.haml",
|
82
|
-
"spec/dummy/bin/bundle",
|
83
|
-
"spec/dummy/bin/rails",
|
84
|
-
"spec/dummy/bin/rake",
|
85
|
-
"spec/dummy/config.ru",
|
86
|
-
"spec/dummy/config/application.rb",
|
87
|
-
"spec/dummy/config/boot.rb",
|
88
|
-
"spec/dummy/config/environment.rb",
|
89
|
-
"spec/dummy/config/environments/development.rb",
|
90
|
-
"spec/dummy/config/environments/production.rb",
|
91
|
-
"spec/dummy/config/environments/test.rb",
|
92
|
-
"spec/dummy/config/initializers/backtrace_silencers.rb",
|
93
|
-
"spec/dummy/config/initializers/bootstrap_leather.rb",
|
94
|
-
"spec/dummy/config/initializers/filter_parameter_logging.rb",
|
95
|
-
"spec/dummy/config/initializers/inflections.rb",
|
96
|
-
"spec/dummy/config/initializers/mime_types.rb",
|
97
|
-
"spec/dummy/config/initializers/secret_token.rb",
|
98
|
-
"spec/dummy/config/initializers/session_store.rb",
|
99
|
-
"spec/dummy/config/initializers/wrap_parameters.rb",
|
100
|
-
"spec/dummy/config/locales/en.yml",
|
101
|
-
"spec/dummy/config/routes.rb",
|
102
|
-
"spec/dummy/lib/assets/.keep",
|
103
|
-
"spec/dummy/log/.keep",
|
104
|
-
"spec/spec_helper.rb"
|
59
|
+
"lib/generators/bootstrap_leather/utils.rb"
|
105
60
|
]
|
106
61
|
s.homepage = "http://www.gemvein.com/museum/cases/bootstrap_leather"
|
107
62
|
s.licenses = ["MIT"]
|
@@ -112,39 +67,24 @@ Gem::Specification.new do |s|
|
|
112
67
|
s.specification_version = 4
|
113
68
|
|
114
69
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
115
|
-
s.add_runtime_dependency(%q<bootstrap-sass>, ["
|
70
|
+
s.add_runtime_dependency(%q<bootstrap-sass>, ["~> 3.3"])
|
116
71
|
s.add_runtime_dependency(%q<rails>, [">= 4.1"])
|
117
72
|
s.add_runtime_dependency(%q<haml>, [">= 0"])
|
118
73
|
s.add_runtime_dependency(%q<bootstrap_leather>, [">= 0"])
|
119
74
|
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
120
|
-
s.add_development_dependency(%q<rspec>, [">= 0"])
|
121
|
-
s.add_development_dependency(%q<rspec-rails>, [">= 0"])
|
122
|
-
s.add_development_dependency(%q<shoulda-matchers>, [">= 0"])
|
123
|
-
s.add_development_dependency(%q<capybara>, [">= 0"])
|
124
|
-
s.add_development_dependency(%q<coveralls>, [">= 0"])
|
125
75
|
else
|
126
|
-
s.add_dependency(%q<bootstrap-sass>, ["
|
76
|
+
s.add_dependency(%q<bootstrap-sass>, ["~> 3.3"])
|
127
77
|
s.add_dependency(%q<rails>, [">= 4.1"])
|
128
78
|
s.add_dependency(%q<haml>, [">= 0"])
|
129
79
|
s.add_dependency(%q<bootstrap_leather>, [">= 0"])
|
130
80
|
s.add_dependency(%q<jeweler>, [">= 0"])
|
131
|
-
s.add_dependency(%q<rspec>, [">= 0"])
|
132
|
-
s.add_dependency(%q<rspec-rails>, [">= 0"])
|
133
|
-
s.add_dependency(%q<shoulda-matchers>, [">= 0"])
|
134
|
-
s.add_dependency(%q<capybara>, [">= 0"])
|
135
|
-
s.add_dependency(%q<coveralls>, [">= 0"])
|
136
81
|
end
|
137
82
|
else
|
138
|
-
s.add_dependency(%q<bootstrap-sass>, ["
|
83
|
+
s.add_dependency(%q<bootstrap-sass>, ["~> 3.3"])
|
139
84
|
s.add_dependency(%q<rails>, [">= 4.1"])
|
140
85
|
s.add_dependency(%q<haml>, [">= 0"])
|
141
86
|
s.add_dependency(%q<bootstrap_leather>, [">= 0"])
|
142
87
|
s.add_dependency(%q<jeweler>, [">= 0"])
|
143
|
-
s.add_dependency(%q<rspec>, [">= 0"])
|
144
|
-
s.add_dependency(%q<rspec-rails>, [">= 0"])
|
145
|
-
s.add_dependency(%q<shoulda-matchers>, [">= 0"])
|
146
|
-
s.add_dependency(%q<capybara>, [">= 0"])
|
147
|
-
s.add_dependency(%q<coveralls>, [">= 0"])
|
148
88
|
end
|
149
89
|
end
|
150
90
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootstrap_leather
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karen Lundgren
|
@@ -14,16 +14,16 @@ dependencies:
|
|
14
14
|
name: bootstrap-sass
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '3.3'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '3.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,76 +80,6 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: rspec
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: rspec-rails
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :development
|
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: shoulda-matchers
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - ">="
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - ">="
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: capybara
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - ">="
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '0'
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - ">="
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '0'
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: coveralls
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - ">="
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: '0'
|
146
|
-
type: :development
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - ">="
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '0'
|
153
83
|
description: BootstrapLeather is a collection of view helpers that makes it easier
|
154
84
|
to create apps using Twitter Bootstrap
|
155
85
|
email: karen.e.lundgren@gmail.com
|
@@ -197,51 +127,6 @@ files:
|
|
197
127
|
- lib/generators/bootstrap_leather/install/install_generator.rb
|
198
128
|
- lib/generators/bootstrap_leather/install/templates/initializer.rb
|
199
129
|
- lib/generators/bootstrap_leather/utils.rb
|
200
|
-
- spec/bootstrap_leather_spec.rb
|
201
|
-
- spec/dummy/README.rdoc
|
202
|
-
- spec/dummy/Rakefile
|
203
|
-
- spec/dummy/app/assets/images/.keep
|
204
|
-
- spec/dummy/app/assets/javascripts/application.js
|
205
|
-
- spec/dummy/app/assets/javascripts/customizable_bootstrap/index.js
|
206
|
-
- spec/dummy/app/assets/stylesheets/application.css.scss
|
207
|
-
- spec/dummy/app/assets/stylesheets/customizable_bootstrap/colors.css.scss
|
208
|
-
- spec/dummy/app/assets/stylesheets/customizable_bootstrap/font.css.scss
|
209
|
-
- spec/dummy/app/assets/stylesheets/customizable_bootstrap/grid.css.scss
|
210
|
-
- spec/dummy/app/assets/stylesheets/customizable_bootstrap/index.css.scss
|
211
|
-
- spec/dummy/app/assets/stylesheets/customizable_bootstrap/layers.css.scss
|
212
|
-
- spec/dummy/app/assets/stylesheets/customizable_bootstrap/overrides.css.scss
|
213
|
-
- spec/dummy/app/controllers/application_controller.rb
|
214
|
-
- spec/dummy/app/controllers/concerns/.keep
|
215
|
-
- spec/dummy/app/controllers/welcome_controller.rb
|
216
|
-
- spec/dummy/app/helpers/application_helper.rb
|
217
|
-
- spec/dummy/app/mailers/.keep
|
218
|
-
- spec/dummy/app/models/.keep
|
219
|
-
- spec/dummy/app/models/concerns/.keep
|
220
|
-
- spec/dummy/app/views/layouts/application.html.haml
|
221
|
-
- spec/dummy/app/views/welcome/index.html.haml
|
222
|
-
- spec/dummy/bin/bundle
|
223
|
-
- spec/dummy/bin/rails
|
224
|
-
- spec/dummy/bin/rake
|
225
|
-
- spec/dummy/config.ru
|
226
|
-
- spec/dummy/config/application.rb
|
227
|
-
- spec/dummy/config/boot.rb
|
228
|
-
- spec/dummy/config/environment.rb
|
229
|
-
- spec/dummy/config/environments/development.rb
|
230
|
-
- spec/dummy/config/environments/production.rb
|
231
|
-
- spec/dummy/config/environments/test.rb
|
232
|
-
- spec/dummy/config/initializers/backtrace_silencers.rb
|
233
|
-
- spec/dummy/config/initializers/bootstrap_leather.rb
|
234
|
-
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
235
|
-
- spec/dummy/config/initializers/inflections.rb
|
236
|
-
- spec/dummy/config/initializers/mime_types.rb
|
237
|
-
- spec/dummy/config/initializers/secret_token.rb
|
238
|
-
- spec/dummy/config/initializers/session_store.rb
|
239
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
240
|
-
- spec/dummy/config/locales/en.yml
|
241
|
-
- spec/dummy/config/routes.rb
|
242
|
-
- spec/dummy/lib/assets/.keep
|
243
|
-
- spec/dummy/log/.keep
|
244
|
-
- spec/spec_helper.rb
|
245
130
|
homepage: http://www.gemvein.com/museum/cases/bootstrap_leather
|
246
131
|
licenses:
|
247
132
|
- MIT
|
data/spec/dummy/README.rdoc
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
== README
|
2
|
-
|
3
|
-
This README would normally document whatever steps are necessary to get the
|
4
|
-
application up and running.
|
5
|
-
|
6
|
-
Things you may want to cover:
|
7
|
-
|
8
|
-
* Ruby version
|
9
|
-
|
10
|
-
* System dependencies
|
11
|
-
|
12
|
-
* Configuration
|
13
|
-
|
14
|
-
* Database creation
|
15
|
-
|
16
|
-
* Database initialization
|
17
|
-
|
18
|
-
* How to run the test suite
|
19
|
-
|
20
|
-
* Services (job queues, cache servers, search engines, etc.)
|
21
|
-
|
22
|
-
* Deployment instructions
|
23
|
-
|
24
|
-
* ...
|
25
|
-
|
26
|
-
|
27
|
-
Please feel free to use a different markup language if you do not plan to run
|
28
|
-
<tt>rake doc:app</tt>.
|
data/spec/dummy/Rakefile
DELETED
File without changes
|
@@ -1,15 +0,0 @@
|
|
1
|
-
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
-
// listed below.
|
3
|
-
//
|
4
|
-
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
-
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
|
6
|
-
//
|
7
|
-
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
-
// compiled file.
|
9
|
-
//
|
10
|
-
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
|
11
|
-
// about supported directives.
|
12
|
-
//
|
13
|
-
//= require jquery
|
14
|
-
//= require customizable_bootstrap
|
15
|
-
//= require_tree .
|
@@ -1,15 +0,0 @@
|
|
1
|
-
// This is a manifest file that'll be compiled into customizable_bootstrap.js, which will include all the files
|
2
|
-
// listed below.
|
3
|
-
//
|
4
|
-
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
-
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
|
6
|
-
//
|
7
|
-
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
-
// the compiled file.
|
9
|
-
//
|
10
|
-
// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
|
11
|
-
// GO AFTER THE REQUIRES BELOW.
|
12
|
-
//
|
13
|
-
//= require bootstrap
|
14
|
-
//= require_tree .
|
15
|
-
|
@@ -1,15 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
-
* listed below.
|
4
|
-
*
|
5
|
-
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
-
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
|
7
|
-
*
|
8
|
-
* You're free to add application-wide styles to this file and they'll appear at the top of the
|
9
|
-
* compiled file, but it's generally better to create a new file per style scope.
|
10
|
-
*
|
11
|
-
*= require_self
|
12
|
-
*= require_tree .
|
13
|
-
*/
|
14
|
-
|
15
|
-
@import './customizable_bootstrap/index';
|
@@ -1,100 +0,0 @@
|
|
1
|
-
|
2
|
-
/* Colors to be used in the rest of the file */
|
3
|
-
$black: #000;
|
4
|
-
$gray: #555;
|
5
|
-
$grayDark: #333;
|
6
|
-
$grayDarker: #222;
|
7
|
-
$grayLight: #999;
|
8
|
-
$grayLighter: #ccc;
|
9
|
-
$grayLightness: #ddd;
|
10
|
-
$grayLightest: #eee;
|
11
|
-
$grayLightVery: #f5f5f5;
|
12
|
-
$grayLightExtremely: #f9f9f9;
|
13
|
-
$white: #fff;
|
14
|
-
$blue: #049cdb;
|
15
|
-
$blueDark: #0064cd;
|
16
|
-
$green: #46a546;
|
17
|
-
$red: #9d261d;
|
18
|
-
$yellow: #ffc40d;
|
19
|
-
$orange: #f89406;
|
20
|
-
$pink: #c3325f;
|
21
|
-
$purple: #7a43b6;
|
22
|
-
|
23
|
-
|
24
|
-
/* Assignments of colors to useful variable names */
|
25
|
-
$bodyBackground: $white;
|
26
|
-
$textColor: $grayDark;
|
27
|
-
$linkColor: $blue;
|
28
|
-
$linkColorHover: darken($linkColor, 15%);
|
29
|
-
|
30
|
-
$tableBackground: transparent;
|
31
|
-
$tableBackgroundAccent: $grayLightExtremely;
|
32
|
-
$tableBackgroundHover: $grayLightVery;
|
33
|
-
$tableBorder: $grayLightness;
|
34
|
-
$hrBorder: $grayLightest;
|
35
|
-
|
36
|
-
$btnBackground: $white;
|
37
|
-
$btnBackgroundHighlight: darken($btnBackground, 10%);
|
38
|
-
$btnBorder: $grayLighter;
|
39
|
-
$btnDangerBackground: $red;
|
40
|
-
$btnDangerBackgroundHighlight: darken($btnDangerBackground, 10%);
|
41
|
-
$btnInfoBackground: $blue;
|
42
|
-
$btnInfoBackgroundHighlight: darken($btnInfoBackground, 10%);
|
43
|
-
$btnInverseBackground: $gray;
|
44
|
-
$btnInverseBackgroundHighlight: darken($gray, 10%);
|
45
|
-
$btnPrimaryBackground: $blueDark;
|
46
|
-
$btnPrimaryBackgroundHighlight: darken($btnPrimaryBackground, 10%);
|
47
|
-
$btnSuccessBackground: $green;
|
48
|
-
$btnSuccessBackgroundHighlight: darken($btnSuccessBackground, 10%);
|
49
|
-
$btnWarningBackground: $orange;
|
50
|
-
$btnWarningBackgroundHighlight: darken($btnWarningBackground, 10%);
|
51
|
-
|
52
|
-
$inputBackground: $white;
|
53
|
-
$inputBorder: $grayLighter;
|
54
|
-
$inputBorderRadius: 3px;
|
55
|
-
$inputDisabledBackground: $grayLightest;
|
56
|
-
$formActionsBackground: $grayLightVery;
|
57
|
-
$placeholderText: $grayLight;
|
58
|
-
|
59
|
-
$dropdownBackground: $white;
|
60
|
-
$dropdownBorder: fadeout($black, .2);
|
61
|
-
$dropdownDividerBottom: $white;
|
62
|
-
$dropdownDividerTop: $grayLightest;
|
63
|
-
$dropdownLinkBackgroundHover: $linkColor;
|
64
|
-
$dropdownLinkColor: $grayDark;
|
65
|
-
$dropdownLinkColorHover: $white;
|
66
|
-
|
67
|
-
$iconSpritePath: '../../img/glyphicons-halflings.png';
|
68
|
-
$iconWhiteSpritePath: '../../img/glyphicons-halflings-white.png';
|
69
|
-
|
70
|
-
$navbarBackground: $grayDarker;
|
71
|
-
$navbarBackgroundHighlight: $grayDark;
|
72
|
-
$navbarLinkColor: $grayLight;
|
73
|
-
$navbarLinkColorHover: $white;
|
74
|
-
$navbarBrandColor: $navbarLinkColor;
|
75
|
-
$navbarHeight: 40px;
|
76
|
-
$navbarLinkBackgroundActive: $navbarBackground;
|
77
|
-
$navbarLinkBackgroundHover: transparent;
|
78
|
-
$navbarLinkColorActive: $navbarLinkColorHover;
|
79
|
-
$navbarSearchBackground: lighten($navbarBackground, 25%);
|
80
|
-
$navbarSearchBackgroundFocus: $white;
|
81
|
-
$navbarSearchBorder: darken($navbarSearchBackground, 30%);
|
82
|
-
$navbarSearchPlaceholderColor: $grayLighter;
|
83
|
-
$navbarText: $grayLight;
|
84
|
-
|
85
|
-
$heroUnitBackground: $grayLightest;
|
86
|
-
$heroUnitHeadingColor: inherit;
|
87
|
-
$heroUnitLeadColor: inherit;
|
88
|
-
|
89
|
-
$warningBackground: lighten($orange, 50%);
|
90
|
-
$warningBorder: darken($warningBackground, 3%);
|
91
|
-
$warningText: $orange;
|
92
|
-
$errorBackground: lighten($red, 50%);
|
93
|
-
$errorBorder: darken($errorBackground, 3%);
|
94
|
-
$errorText: $red;
|
95
|
-
$successBackground: lighten($green, 50%);
|
96
|
-
$successBorder: darken($successBackground, 3%);
|
97
|
-
$successText: $green;
|
98
|
-
$infoBackground: lighten($blue, 50%);
|
99
|
-
$infoBorder: darken($infoBackground, 3%);
|
100
|
-
$infoText: $blue;
|
@@ -1,9 +0,0 @@
|
|
1
|
-
$sansFontFamily: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
2
|
-
$serifFontFamily: Georgia, 'Times New Roman', Times, serif;
|
3
|
-
$monoFontFamily: Menlo, Monaco, Consolas, 'Courier New', monospace;
|
4
|
-
$baseFontSize: 13px;
|
5
|
-
$baseFontFamily: $sansFontFamily;
|
6
|
-
$baseLineHeight: 18px;
|
7
|
-
$altFontFamily: $serifFontFamily;
|
8
|
-
$headingsFontFamily: $sansFontFamily;
|
9
|
-
$headingsFontWeight: bold;
|
@@ -1,13 +0,0 @@
|
|
1
|
-
// DON'T TOUCH IT
|
2
|
-
// You'll break it.
|
3
|
-
//
|
4
|
-
// Actually, you can customize it at will.
|
5
|
-
|
6
|
-
@import './font';
|
7
|
-
@import './colors';
|
8
|
-
@import './grid';
|
9
|
-
@import './layers';
|
10
|
-
@import 'bootstrap';
|
11
|
-
@import 'bootstrap-responsive';
|
12
|
-
// @import 'font-awesome';
|
13
|
-
@import './overrides';
|
@@ -1,23 +0,0 @@
|
|
1
|
-
// These rules override those given within bootstrap. They can use
|
2
|
-
// mixins and variables.
|
3
|
-
|
4
|
-
.clear-right {
|
5
|
-
clear: right;
|
6
|
-
}
|
7
|
-
|
8
|
-
.clear-left {
|
9
|
-
clear: left;
|
10
|
-
}
|
11
|
-
|
12
|
-
.clear-all, .clear-both {
|
13
|
-
clear: both;
|
14
|
-
}
|
15
|
-
|
16
|
-
.relative {
|
17
|
-
position: relative;
|
18
|
-
}
|
19
|
-
|
20
|
-
object, embed, video {
|
21
|
-
max-width: 100%;
|
22
|
-
height: auto;
|
23
|
-
}
|
File without changes
|
File without changes
|
data/spec/dummy/app/models/.keep
DELETED
File without changes
|
File without changes
|
@@ -1,68 +0,0 @@
|
|
1
|
-
!!!
|
2
|
-
%html
|
3
|
-
%head
|
4
|
-
%link{:rel=>"shortcut icon", :href=>"/favicon.ico"}
|
5
|
-
%meta{"http-equiv"=>"Content-Type", :content=>"text/html;charset=utf-8"}
|
6
|
-
%meta{"name"=>"description", :content=>@description || BootstrapLeather.configuration.application_description || ''}
|
7
|
-
|
8
|
-
= csrf_meta_tag
|
9
|
-
|
10
|
-
= render_title
|
11
|
-
= render_keywords
|
12
|
-
= render_description
|
13
|
-
= responsive_meta_tag
|
14
|
-
|
15
|
-
-if @meta
|
16
|
-
-@meta.each do |key|
|
17
|
-
%meta{:name=>key[0], :content=>key[1]}
|
18
|
-
|
19
|
-
- if @rss_title && @rss_url
|
20
|
-
= auto_discovery_link_tag(:rss, @rss_url, {:title => @rss_title})
|
21
|
-
|
22
|
-
= stylesheet_link_tag 'application'
|
23
|
-
= render_css
|
24
|
-
|
25
|
-
%body{:class => controller.controller_name}
|
26
|
-
= nav_bar_with_container :class => 'navbar-static-top navbar-inverse' do
|
27
|
-
= nav_list do
|
28
|
-
= dropdown_nav_item 'Lorem', '#' do
|
29
|
-
= nav_item 'Ipsum', '#'
|
30
|
-
= nav_item 'Dolor', '#'
|
31
|
-
= nav_item 'Sit', '#'
|
32
|
-
= nav_item 'Ipsum', '#'
|
33
|
-
= nav_item 'Dolor', '#'
|
34
|
-
= nav_item 'Sit', '#'
|
35
|
-
= nav_list :class => 'pull-right' do
|
36
|
-
= nav_item 'Amet', '#', :data => {:toggle => 'modal', :target => '#modal'}
|
37
|
-
|
38
|
-
= nav_bar_in_container :class => 'navbar-static-top navbar-inverse' do
|
39
|
-
= nav_list do
|
40
|
-
= dropdown_nav_item 'Lorem', '#' do
|
41
|
-
= nav_item 'Ipsum', '#'
|
42
|
-
= nav_item 'Dolor', '#'
|
43
|
-
= nav_item 'Sit', '#'
|
44
|
-
= nav_item 'Ipsum', '#'
|
45
|
-
= nav_item 'Dolor', '#'
|
46
|
-
= nav_item 'Sit', '#'
|
47
|
-
= nav_list :class => 'pull-right' do
|
48
|
-
= nav_item 'Amet', '#'
|
49
|
-
|
50
|
-
.container
|
51
|
-
.row
|
52
|
-
= render_hero_unit
|
53
|
-
.row
|
54
|
-
.span8
|
55
|
-
= breadcrumb do
|
56
|
-
= nav_item 'Ipsum', '#'
|
57
|
-
= nav_item 'Dolor', '#'
|
58
|
-
= nav_item 'Sit', '#'
|
59
|
-
= render_h1
|
60
|
-
= alert_flash_messages
|
61
|
-
= yield
|
62
|
-
.span3.pull-right
|
63
|
-
= render_widgets
|
64
|
-
= modal 'test' do
|
65
|
-
%p Lorem ipsum, baby.
|
66
|
-
|
67
|
-
= javascript_include_tag 'application'
|
68
|
-
= render_javascript
|
@@ -1,14 +0,0 @@
|
|
1
|
-
- @title = 'Fugiat ennui four loko'
|
2
|
-
= add_widget do
|
3
|
-
= nav_list do
|
4
|
-
= nav_item 'Paleo', '#'
|
5
|
-
= nav_item 'Organic', '#'
|
6
|
-
= nav_item 'Scenester', '#'
|
7
|
-
|
8
|
-
Paleo organic ad scenester messenger bag. Fugiat ennui four loko kitsch Pitchfork paleo. Fap Cosby sweater cardigan eiusmod meggings, tofu ugh hashtag drinking vinegar tousled et YOLO voluptate banh mi dolore. Meh viral deep v lo-fi PBR cupidatat sapiente. Pour-over skateboard mlkshk High Life fashion axe, brunch selvage locavore. Letterpress Truffaut sed, mustache four loko voluptate polaroid Bushwick Carles Blue Bottle Terry Richardson nostrud ennui twee. Bushwick organic Brooklyn, Pitchfork ethnic et single-origin coffee cardigan keytar delectus Cosby sweater deep v.
|
9
|
-
|
10
|
-
Polaroid DIY assumenda typewriter sunt. Pug seitan messenger bag, ex you probably haven't heard of them fashion axe shabby chic selfies literally aesthetic Intelligentsia Blue Bottle fap. Nostrud Blue Bottle locavore, odio pariatur McSweeney's flannel brunch delectus four loko photo booth. Blue Bottle drinking vinegar paleo hella, cray anim Neutra deserunt esse culpa duis mumblecore excepteur. Kitsch aliqua fanny pack vinyl stumptown. Banksy gentrify eu, 3 wolf moon stumptown dolor irure four loko umami pug letterpress Intelligentsia placeat tofu Wes Anderson. Carles tempor next level bespoke tattooed McSweeney's tousled, American Apparel fanny pack.
|
11
|
-
|
12
|
-
Yr seitan mumblecore slow-carb squid, Carles minim magna laboris beard brunch sint salvia American Apparel. McSweeney's consectetur fap, put a bird on it ad consequat +1 cardigan aute dreamcatcher. Distillery non American Apparel, biodiesel YOLO kogi Echo Park beard cardigan. Squid gastropub mixtape, proident tempor jean shorts bitters consequat yr gluten-free voluptate enim aesthetic. Sriracha fanny pack tousled, skateboard blog ad small batch Terry Richardson Banksy cillum adipisicing flannel scenester irony synth. Art party commodo pickled readymade biodiesel. Yr id ethnic 90's.
|
13
|
-
|
14
|
-
Semiotics McSweeney's aesthetic ullamco cliche PBR. Readymade Tonx esse pop-up, ex banjo Truffaut Carles biodiesel accusamus selfies small batch velit flannel. Gastropub ennui Banksy Odd Future, tempor cliche pickled scenester Carles assumenda farm-to-table you probably haven't heard of them plaid freegan. Selfies pour-over you probably haven't heard of them, laborum nesciunt Marfa Portland banh mi pickled pork belly Godard four loko. 8-bit VHS kale chips stumptown Tonx. Deserunt VHS craft beer, umami retro drinking vinegar before they sold out accusamus 90's fugiat raw denim blog. Vegan craft beer officia selvage, before they sold out nulla hella velit synth.
|
data/spec/dummy/bin/bundle
DELETED
data/spec/dummy/bin/rails
DELETED
data/spec/dummy/bin/rake
DELETED
data/spec/dummy/config.ru
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
require File.expand_path('../boot', __FILE__)
|
2
|
-
|
3
|
-
# Pick the frameworks you want:
|
4
|
-
#require "active_record/railtie"
|
5
|
-
require "action_controller/railtie"
|
6
|
-
#require "action_mailer/railtie"
|
7
|
-
#require "sprockets/railtie"
|
8
|
-
# require "rails/test_unit/railtie"
|
9
|
-
|
10
|
-
Bundler.require(*Rails.groups)
|
11
|
-
require "bootstrap_leather"
|
12
|
-
|
13
|
-
module Dummy
|
14
|
-
class Application < Rails::Application
|
15
|
-
# Settings in config/environments/* take precedence over those specified here.
|
16
|
-
# Application configuration should go into files in config/initializers
|
17
|
-
# -- all .rb files in that directory are automatically loaded.
|
18
|
-
|
19
|
-
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
20
|
-
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
|
21
|
-
# config.time_zone = 'Central Time (US & Canada)'
|
22
|
-
|
23
|
-
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
24
|
-
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
25
|
-
# config.i18n.default_locale = :de
|
26
|
-
end
|
27
|
-
end
|
28
|
-
|
data/spec/dummy/config/boot.rb
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
Dummy::Application.configure do
|
2
|
-
# Settings specified here will take precedence over those in config/application.rb.
|
3
|
-
|
4
|
-
# In the development environment your application's code is reloaded on
|
5
|
-
# every request. This slows down response time but is perfect for development
|
6
|
-
# since you don't have to restart the web server when you make code changes.
|
7
|
-
config.cache_classes = false
|
8
|
-
|
9
|
-
# Do not eager load code on boot.
|
10
|
-
config.eager_load = false
|
11
|
-
|
12
|
-
# Show full error reports and disable caching.
|
13
|
-
config.consider_all_requests_local = true
|
14
|
-
config.action_controller.perform_caching = false
|
15
|
-
|
16
|
-
# Print deprecation notices to the Rails logger.
|
17
|
-
config.active_support.deprecation = :log
|
18
|
-
|
19
|
-
# Debug mode disables concatenation and preprocessing of assets.
|
20
|
-
# This option may cause significant delays in view rendering with a large
|
21
|
-
# number of complex assets.
|
22
|
-
config.assets.debug = true
|
23
|
-
end
|
@@ -1,80 +0,0 @@
|
|
1
|
-
Dummy::Application.configure do
|
2
|
-
# Settings specified here will take precedence over those in config/application.rb.
|
3
|
-
|
4
|
-
# Code is not reloaded between requests.
|
5
|
-
config.cache_classes = true
|
6
|
-
|
7
|
-
# Eager load code on boot. This eager loads most of Rails and
|
8
|
-
# your application in memory, allowing both thread web servers
|
9
|
-
# and those relying on copy on write to perform better.
|
10
|
-
# Rake tasks automatically ignore this option for performance.
|
11
|
-
config.eager_load = true
|
12
|
-
|
13
|
-
# Full error reports are disabled and caching is turned on.
|
14
|
-
config.consider_all_requests_local = false
|
15
|
-
config.action_controller.perform_caching = true
|
16
|
-
|
17
|
-
# Enable Rack::Cache to put a simple HTTP cache in front of your application
|
18
|
-
# Add `rack-cache` to your Gemfile before enabling this.
|
19
|
-
# For large-scale production use, consider using a caching reverse proxy like nginx, varnish or squid.
|
20
|
-
# config.action_dispatch.rack_cache = true
|
21
|
-
|
22
|
-
# Disable Rails's static asset server (Apache or nginx will already do this).
|
23
|
-
config.serve_static_assets = false
|
24
|
-
|
25
|
-
# Compress JavaScripts and CSS.
|
26
|
-
config.assets.js_compressor = :uglifier
|
27
|
-
# config.assets.css_compressor = :sass
|
28
|
-
|
29
|
-
# Do not fallback to assets pipeline if a precompiled asset is missed.
|
30
|
-
config.assets.compile = false
|
31
|
-
|
32
|
-
# Generate digests for assets URLs.
|
33
|
-
config.assets.digest = true
|
34
|
-
|
35
|
-
# Version of your assets, change this if you want to expire all your assets.
|
36
|
-
config.assets.version = '1.0'
|
37
|
-
|
38
|
-
# Specifies the header that your server uses for sending files.
|
39
|
-
# config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
|
40
|
-
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
|
41
|
-
|
42
|
-
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
43
|
-
# config.force_ssl = true
|
44
|
-
|
45
|
-
# Set to :debug to see everything in the log.
|
46
|
-
config.log_level = :info
|
47
|
-
|
48
|
-
# Prepend all log lines with the following tags.
|
49
|
-
# config.log_tags = [ :subdomain, :uuid ]
|
50
|
-
|
51
|
-
# Use a different logger for distributed setups.
|
52
|
-
# config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
|
53
|
-
|
54
|
-
# Use a different cache store in production.
|
55
|
-
# config.cache_store = :mem_cache_store
|
56
|
-
|
57
|
-
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
|
58
|
-
# config.action_controller.asset_host = "http://assets.example.com"
|
59
|
-
|
60
|
-
# Precompile additional assets.
|
61
|
-
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
62
|
-
# config.assets.precompile += %w( search.js )
|
63
|
-
|
64
|
-
# Ignore bad email addresses and do not raise email delivery errors.
|
65
|
-
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
|
66
|
-
# config.action_mailer.raise_delivery_errors = false
|
67
|
-
|
68
|
-
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
69
|
-
# the I18n.default_locale when a translation can not be found).
|
70
|
-
config.i18n.fallbacks = true
|
71
|
-
|
72
|
-
# Send deprecation notices to registered listeners.
|
73
|
-
config.active_support.deprecation = :notify
|
74
|
-
|
75
|
-
# Disable automatic flushing of the log to improve performance.
|
76
|
-
# config.autoflush_log = false
|
77
|
-
|
78
|
-
# Use default logging formatter so that PID and timestamp are not suppressed.
|
79
|
-
config.log_formatter = ::Logger::Formatter.new
|
80
|
-
end
|
@@ -1,31 +0,0 @@
|
|
1
|
-
Dummy::Application.configure do
|
2
|
-
# Settings specified here will take precedence over those in config/application.rb.
|
3
|
-
|
4
|
-
# The test environment is used exclusively to run your application's
|
5
|
-
# test suite. You never need to work with it otherwise. Remember that
|
6
|
-
# your test database is "scratch space" for the test suite and is wiped
|
7
|
-
# and recreated between test runs. Don't rely on the data there!
|
8
|
-
config.cache_classes = true
|
9
|
-
|
10
|
-
# Do not eager load code on boot. This avoids loading your whole application
|
11
|
-
# just for the purpose of running a single test. If you are using a tool that
|
12
|
-
# preloads Rails for running tests, you may have to set it to true.
|
13
|
-
config.eager_load = false
|
14
|
-
|
15
|
-
# Configure static asset server for tests with Cache-Control for performance.
|
16
|
-
config.serve_static_assets = true
|
17
|
-
config.static_cache_control = "public, max-age=3600"
|
18
|
-
|
19
|
-
# Show full error reports and disable caching.
|
20
|
-
config.consider_all_requests_local = true
|
21
|
-
config.action_controller.perform_caching = false
|
22
|
-
|
23
|
-
# Raise exceptions instead of rendering exception templates.
|
24
|
-
config.action_dispatch.show_exceptions = false
|
25
|
-
|
26
|
-
# Disable request forgery protection in test environment.
|
27
|
-
config.action_controller.allow_forgery_protection = false
|
28
|
-
|
29
|
-
# Print deprecation notices to the stderr.
|
30
|
-
config.active_support.deprecation = :stderr
|
31
|
-
end
|
@@ -1,7 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
4
|
-
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
5
|
-
|
6
|
-
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
|
7
|
-
# Rails.backtrace_cleaner.remove_silencers!
|
@@ -1,6 +0,0 @@
|
|
1
|
-
BootstrapLeather.configure do |config|
|
2
|
-
config.application_path = '/'
|
3
|
-
config.application_title = 'Dummy Application'
|
4
|
-
config.application_description = 'This is only a test. If it were a real site it would have some content.'
|
5
|
-
config.application_keywords = 'unfinished, incomplete, unready'
|
6
|
-
end
|
@@ -1,16 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# Add new inflection rules using the following format. Inflections
|
4
|
-
# are locale specific, and you may define rules for as many different
|
5
|
-
# locales as you wish. All of these examples are active by default:
|
6
|
-
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
7
|
-
# inflect.plural /^(ox)$/i, '\1en'
|
8
|
-
# inflect.singular /^(ox)en/i, '\1'
|
9
|
-
# inflect.irregular 'person', 'people'
|
10
|
-
# inflect.uncountable %w( fish sheep )
|
11
|
-
# end
|
12
|
-
|
13
|
-
# These inflection rules are supported but not enabled by default:
|
14
|
-
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
15
|
-
# inflect.acronym 'RESTful'
|
16
|
-
# end
|
@@ -1,12 +0,0 @@
|
|
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 your secret_key_base is kept private
|
11
|
-
# if you're sharing your code publicly.
|
12
|
-
Dummy::Application.config.secret_key_base = '9a44274e7bdc62567bc0588429c5ee3ea4475ac077e17049dd097249225e991553306d32a79c085e07b1b4a24dc4fa02fc455d89f577dcefff731d5b93aedb62'
|
@@ -1,14 +0,0 @@
|
|
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
|
@@ -1,23 +0,0 @@
|
|
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"
|
data/spec/dummy/config/routes.rb
DELETED
@@ -1,56 +0,0 @@
|
|
1
|
-
Dummy::Application.routes.draw do
|
2
|
-
# The priority is based upon order of creation: first created -> highest priority.
|
3
|
-
# See how all your routes lay out with "rake routes".
|
4
|
-
|
5
|
-
# You can have the root of your site routed with "root"
|
6
|
-
root 'welcome#index'
|
7
|
-
|
8
|
-
# Example of regular route:
|
9
|
-
# get 'products/:id' => 'catalog#view'
|
10
|
-
|
11
|
-
# Example of named route that can be invoked with purchase_url(id: product.id)
|
12
|
-
# get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
|
13
|
-
|
14
|
-
# Example resource route (maps HTTP verbs to controller actions automatically):
|
15
|
-
# resources :products
|
16
|
-
|
17
|
-
# Example resource route with options:
|
18
|
-
# resources :products do
|
19
|
-
# member do
|
20
|
-
# get 'short'
|
21
|
-
# post 'toggle'
|
22
|
-
# end
|
23
|
-
#
|
24
|
-
# collection do
|
25
|
-
# get 'sold'
|
26
|
-
# end
|
27
|
-
# end
|
28
|
-
|
29
|
-
# Example resource route with sub-resources:
|
30
|
-
# resources :products do
|
31
|
-
# resources :comments, :sales
|
32
|
-
# resource :seller
|
33
|
-
# end
|
34
|
-
|
35
|
-
# Example resource route with more complex sub-resources:
|
36
|
-
# resources :products do
|
37
|
-
# resources :comments
|
38
|
-
# resources :sales do
|
39
|
-
# get 'recent', on: :collection
|
40
|
-
# end
|
41
|
-
# end
|
42
|
-
|
43
|
-
# Example resource route with concerns:
|
44
|
-
# concern :toggleable do
|
45
|
-
# post 'toggle'
|
46
|
-
# end
|
47
|
-
# resources :posts, concerns: :toggleable
|
48
|
-
# resources :photos, concerns: :toggleable
|
49
|
-
|
50
|
-
# Example resource route within a namespace:
|
51
|
-
# namespace :admin do
|
52
|
-
# # Directs /admin/products/* to Admin::ProductsController
|
53
|
-
# # (app/controllers/admin/products_controller.rb)
|
54
|
-
# resources :products
|
55
|
-
# end
|
56
|
-
end
|
data/spec/dummy/lib/assets/.keep
DELETED
File without changes
|
data/spec/dummy/log/.keep
DELETED
File without changes
|
data/spec/spec_helper.rb
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
require 'coveralls'
|
2
|
-
Coveralls.wear!
|
3
|
-
|
4
|
-
ENV["RAILS_ENV"] ||= 'test'
|
5
|
-
require File.expand_path("../dummy/config/environment", __FILE__)
|
6
|
-
|
7
|
-
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
8
|
-
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
9
|
-
require 'rspec/rails'
|
10
|
-
# require 'rspec/autorun'
|
11
|
-
require 'shoulda-matchers'
|
12
|
-
require 'capybara/rspec'
|
13
|
-
require 'bootstrap_leather'
|
14
|
-
|
15
|
-
# Requires supporting files with custom matchers and macros, etc,
|
16
|
-
# in ./support/ and its subdirectories.
|
17
|
-
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
|
18
|
-
|
19
|
-
RSpec.configure do |config|
|
20
|
-
|
21
|
-
end
|