bootstrap-sass-extras 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +7 -0
  3. data/CHANGELOG.md +13 -0
  4. data/Gemfile +1 -1
  5. data/Gemfile.lock +115 -97
  6. data/README.md +39 -0
  7. data/Rakefile +11 -1
  8. data/app/helpers/nav_helper.rb +33 -0
  9. data/app/helpers/twitter_breadcrumbs_helper.rb +2 -2
  10. data/app/helpers/url_helper.rb +25 -0
  11. data/lib/bootstrap-sass-extras/engine.rb +2 -0
  12. data/lib/bootstrap-sass-extras/version.rb +1 -1
  13. data/lib/generators/bootstrap/layout/templates/layout.html.erb +6 -6
  14. data/lib/generators/bootstrap/layout/templates/layout.html.haml +6 -6
  15. data/lib/generators/bootstrap/layout/templates/layout.html.slim +6 -6
  16. data/lib/generators/bootstrap/partial/templates/_login.html.erb +6 -6
  17. data/lib/generators/bootstrap/themed/templates/_form.html.erb +6 -6
  18. data/lib/generators/bootstrap/themed/templates/_form.html.haml +5 -5
  19. data/lib/generators/bootstrap/themed/templates/_form.html.slim +5 -5
  20. data/lib/generators/bootstrap/themed/templates/edit.html.erb +2 -2
  21. data/lib/generators/bootstrap/themed/templates/edit.html.haml +2 -2
  22. data/lib/generators/bootstrap/themed/templates/edit.html.slim +2 -2
  23. data/lib/generators/bootstrap/themed/templates/index.html.erb +7 -7
  24. data/lib/generators/bootstrap/themed/templates/index.html.haml +6 -6
  25. data/lib/generators/bootstrap/themed/templates/index.html.slim +6 -6
  26. data/lib/generators/bootstrap/themed/templates/new.html.erb +2 -2
  27. data/lib/generators/bootstrap/themed/templates/new.html.haml +2 -2
  28. data/lib/generators/bootstrap/themed/templates/new.html.slim +2 -2
  29. data/lib/generators/bootstrap/themed/templates/show.html.erb +9 -9
  30. data/lib/generators/bootstrap/themed/templates/show.html.haml +9 -10
  31. data/lib/generators/bootstrap/themed/templates/show.html.slim +4 -4
  32. data/lib/generators/bootstrap/themed/templates/simple_form/_form.html.erb +5 -5
  33. data/lib/generators/bootstrap/themed/templates/simple_form/_form.html.haml +4 -4
  34. data/lib/generators/bootstrap/themed/templates/simple_form/_form.html.slim +4 -4
  35. data/spec/dummy/README.rdoc +15 -248
  36. data/spec/dummy/Rakefile +1 -2
  37. data/spec/dummy/app/{mailers/.gitkeep → assets/images/.keep} +0 -0
  38. data/spec/dummy/app/assets/javascripts/application.js +4 -6
  39. data/spec/dummy/app/assets/stylesheets/application.css +6 -4
  40. data/spec/dummy/app/controllers/application_controller.rb +3 -1
  41. data/spec/dummy/app/{models/.gitkeep → controllers/concerns/.keep} +0 -0
  42. data/spec/dummy/{lib/assets/.gitkeep → app/mailers/.keep} +0 -0
  43. data/spec/dummy/{log/.gitkeep → app/models/.keep} +0 -0
  44. data/spec/dummy/app/models/concerns/.keep +0 -0
  45. data/spec/dummy/app/views/application/_custom_breadcrumbs.html.erb +1 -0
  46. data/spec/dummy/app/views/layouts/application.html.erb +2 -2
  47. data/spec/dummy/bin/bundle +3 -0
  48. data/spec/dummy/bin/rails +4 -0
  49. data/spec/dummy/bin/rake +4 -0
  50. data/spec/dummy/bin/setup +29 -0
  51. data/spec/dummy/config.ru +2 -2
  52. data/spec/dummy/config/application.rb +3 -36
  53. data/spec/dummy/config/boot.rb +4 -9
  54. data/spec/dummy/config/database.yml +8 -8
  55. data/spec/dummy/config/environment.rb +3 -3
  56. data/spec/dummy/config/environments/development.rb +22 -18
  57. data/spec/dummy/config/environments/production.rb +46 -34
  58. data/spec/dummy/config/environments/test.rb +19 -14
  59. data/spec/dummy/config/initializers/assets.rb +11 -0
  60. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  61. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  62. data/spec/dummy/config/initializers/inflections.rb +6 -5
  63. data/spec/dummy/config/initializers/mime_types.rb +0 -1
  64. data/spec/dummy/config/initializers/session_store.rb +1 -6
  65. data/spec/dummy/config/initializers/wrap_parameters.rb +6 -6
  66. data/spec/dummy/config/locales/en.yml +20 -2
  67. data/spec/dummy/config/routes.rb +23 -25
  68. data/spec/dummy/config/secrets.yml +22 -0
  69. data/spec/dummy/lib/assets/.keep +0 -0
  70. data/spec/dummy/log/.keep +0 -0
  71. data/spec/dummy/public/404.html +54 -13
  72. data/spec/dummy/public/422.html +54 -13
  73. data/spec/dummy/public/500.html +53 -12
  74. data/spec/helpers/badge_helper_spec.rb +1 -1
  75. data/spec/helpers/bootstrap_flash_helper_spec.rb +5 -5
  76. data/spec/helpers/bootstrap_viewport_meta_helper_spec.rb +4 -4
  77. data/spec/helpers/button_to_helper_spec.rb +19 -0
  78. data/spec/helpers/glyph_helper_spec.rb +1 -1
  79. data/spec/helpers/nav_helper_spec.rb +56 -0
  80. data/spec/helpers/twitter_breadcrumbs_helper_spec.rb +18 -10
  81. data/spec/spec_helper.rb +1 -1
  82. metadata +52 -27
  83. data/spec/dummy/config/initializers/secret_token.rb +0 -7
  84. data/spec/dummy/db/schema.rb +0 -16
  85. data/spec/dummy/script/rails +0 -6
@@ -1,7 +1,7 @@
1
1
  ENV["RAILS_ENV"] ||= 'test'
2
2
  require File.expand_path("../dummy/config/environment", __FILE__)
3
3
  require 'rspec/rails'
4
- require 'rspec/autorun'
4
+ # require 'rspec/autorun'
5
5
 
6
6
  RSpec.configure do |config|
7
7
  config.fixture_path = "#{::Rails.root}/spec/fixtures"
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap-sass-extras
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - doabit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-12 00:00:00.000000000 Z
11
+ date: 2016-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 3.1.0
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
26
  version: 3.1.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec-rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: sqlite3
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  description: bootstrap-sass extras.
@@ -59,8 +59,9 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
- - .gitignore
63
- - .rspec
62
+ - ".gitignore"
63
+ - ".rspec"
64
+ - ".travis.yml"
64
65
  - CHANGELOG.md
65
66
  - Gemfile
66
67
  - Gemfile.lock
@@ -72,7 +73,9 @@ files:
72
73
  - app/helpers/bootstrap_viewport_meta_helper.rb
73
74
  - app/helpers/glyph_helper.rb
74
75
  - app/helpers/modal_helper.rb
76
+ - app/helpers/nav_helper.rb
75
77
  - app/helpers/twitter_breadcrumbs_helper.rb
78
+ - app/helpers/url_helper.rb
76
79
  - app/views/bootstrap_sass_extras/_breadcrumbs.html.erb
77
80
  - bootstrap-sass-extras.gemspec
78
81
  - lib/bootstrap-sass-extras.rb
@@ -110,13 +113,21 @@ files:
110
113
  - script/rails
111
114
  - spec/dummy/README.rdoc
112
115
  - spec/dummy/Rakefile
116
+ - spec/dummy/app/assets/images/.keep
113
117
  - spec/dummy/app/assets/javascripts/application.js
114
118
  - spec/dummy/app/assets/stylesheets/application.css
115
119
  - spec/dummy/app/controllers/application_controller.rb
120
+ - spec/dummy/app/controllers/concerns/.keep
116
121
  - spec/dummy/app/helpers/application_helper.rb
117
- - spec/dummy/app/mailers/.gitkeep
118
- - spec/dummy/app/models/.gitkeep
122
+ - spec/dummy/app/mailers/.keep
123
+ - spec/dummy/app/models/.keep
124
+ - spec/dummy/app/models/concerns/.keep
125
+ - spec/dummy/app/views/application/_custom_breadcrumbs.html.erb
119
126
  - spec/dummy/app/views/layouts/application.html.erb
127
+ - spec/dummy/bin/bundle
128
+ - spec/dummy/bin/rails
129
+ - spec/dummy/bin/rake
130
+ - spec/dummy/bin/setup
120
131
  - spec/dummy/config.ru
121
132
  - spec/dummy/config/application.rb
122
133
  - spec/dummy/config/boot.rb
@@ -125,26 +136,29 @@ files:
125
136
  - spec/dummy/config/environments/development.rb
126
137
  - spec/dummy/config/environments/production.rb
127
138
  - spec/dummy/config/environments/test.rb
139
+ - spec/dummy/config/initializers/assets.rb
128
140
  - spec/dummy/config/initializers/backtrace_silencers.rb
141
+ - spec/dummy/config/initializers/cookies_serializer.rb
142
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
129
143
  - spec/dummy/config/initializers/inflections.rb
130
144
  - spec/dummy/config/initializers/mime_types.rb
131
- - spec/dummy/config/initializers/secret_token.rb
132
145
  - spec/dummy/config/initializers/session_store.rb
133
146
  - spec/dummy/config/initializers/wrap_parameters.rb
134
147
  - spec/dummy/config/locales/en.yml
135
148
  - spec/dummy/config/routes.rb
136
- - spec/dummy/db/schema.rb
137
- - spec/dummy/lib/assets/.gitkeep
138
- - spec/dummy/log/.gitkeep
149
+ - spec/dummy/config/secrets.yml
150
+ - spec/dummy/lib/assets/.keep
151
+ - spec/dummy/log/.keep
139
152
  - spec/dummy/public/404.html
140
153
  - spec/dummy/public/422.html
141
154
  - spec/dummy/public/500.html
142
155
  - spec/dummy/public/favicon.ico
143
- - spec/dummy/script/rails
144
156
  - spec/helpers/badge_helper_spec.rb
145
157
  - spec/helpers/bootstrap_flash_helper_spec.rb
146
158
  - spec/helpers/bootstrap_viewport_meta_helper_spec.rb
159
+ - spec/helpers/button_to_helper_spec.rb
147
160
  - spec/helpers/glyph_helper_spec.rb
161
+ - spec/helpers/nav_helper_spec.rb
148
162
  - spec/helpers/twitter_breadcrumbs_helper_spec.rb
149
163
  - spec/spec_helper.rb
150
164
  homepage: https://github.com/doabit/bootstrap-sass-extras
@@ -156,30 +170,38 @@ require_paths:
156
170
  - lib
157
171
  required_ruby_version: !ruby/object:Gem::Requirement
158
172
  requirements:
159
- - - '>='
173
+ - - ">="
160
174
  - !ruby/object:Gem::Version
161
175
  version: '0'
162
176
  required_rubygems_version: !ruby/object:Gem::Requirement
163
177
  requirements:
164
- - - '>='
178
+ - - ">="
165
179
  - !ruby/object:Gem::Version
166
180
  version: '0'
167
181
  requirements: []
168
182
  rubyforge_project:
169
- rubygems_version: 2.1.11
183
+ rubygems_version: 2.4.5.1
170
184
  signing_key:
171
185
  specification_version: 4
172
186
  summary: bootstrap-sass extras.
173
187
  test_files:
174
188
  - spec/dummy/README.rdoc
175
189
  - spec/dummy/Rakefile
190
+ - spec/dummy/app/assets/images/.keep
176
191
  - spec/dummy/app/assets/javascripts/application.js
177
192
  - spec/dummy/app/assets/stylesheets/application.css
178
193
  - spec/dummy/app/controllers/application_controller.rb
194
+ - spec/dummy/app/controllers/concerns/.keep
179
195
  - spec/dummy/app/helpers/application_helper.rb
180
- - spec/dummy/app/mailers/.gitkeep
181
- - spec/dummy/app/models/.gitkeep
196
+ - spec/dummy/app/mailers/.keep
197
+ - spec/dummy/app/models/.keep
198
+ - spec/dummy/app/models/concerns/.keep
199
+ - spec/dummy/app/views/application/_custom_breadcrumbs.html.erb
182
200
  - spec/dummy/app/views/layouts/application.html.erb
201
+ - spec/dummy/bin/bundle
202
+ - spec/dummy/bin/rails
203
+ - spec/dummy/bin/rake
204
+ - spec/dummy/bin/setup
183
205
  - spec/dummy/config.ru
184
206
  - spec/dummy/config/application.rb
185
207
  - spec/dummy/config/boot.rb
@@ -188,25 +210,28 @@ test_files:
188
210
  - spec/dummy/config/environments/development.rb
189
211
  - spec/dummy/config/environments/production.rb
190
212
  - spec/dummy/config/environments/test.rb
213
+ - spec/dummy/config/initializers/assets.rb
191
214
  - spec/dummy/config/initializers/backtrace_silencers.rb
215
+ - spec/dummy/config/initializers/cookies_serializer.rb
216
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
192
217
  - spec/dummy/config/initializers/inflections.rb
193
218
  - spec/dummy/config/initializers/mime_types.rb
194
- - spec/dummy/config/initializers/secret_token.rb
195
219
  - spec/dummy/config/initializers/session_store.rb
196
220
  - spec/dummy/config/initializers/wrap_parameters.rb
197
221
  - spec/dummy/config/locales/en.yml
198
222
  - spec/dummy/config/routes.rb
199
- - spec/dummy/db/schema.rb
200
- - spec/dummy/lib/assets/.gitkeep
201
- - spec/dummy/log/.gitkeep
223
+ - spec/dummy/config/secrets.yml
224
+ - spec/dummy/lib/assets/.keep
225
+ - spec/dummy/log/.keep
202
226
  - spec/dummy/public/404.html
203
227
  - spec/dummy/public/422.html
204
228
  - spec/dummy/public/500.html
205
229
  - spec/dummy/public/favicon.ico
206
- - spec/dummy/script/rails
207
230
  - spec/helpers/badge_helper_spec.rb
208
231
  - spec/helpers/bootstrap_flash_helper_spec.rb
209
232
  - spec/helpers/bootstrap_viewport_meta_helper_spec.rb
233
+ - spec/helpers/button_to_helper_spec.rb
210
234
  - spec/helpers/glyph_helper_spec.rb
235
+ - spec/helpers/nav_helper_spec.rb
211
236
  - spec/helpers/twitter_breadcrumbs_helper_spec.rb
212
237
  - spec/spec_helper.rb
@@ -1,7 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Your secret key for verifying the integrity of signed cookies.
4
- # If you change this key, all old signed cookies will become invalid!
5
- # Make sure the secret is at least 30 characters and all random,
6
- # no regular words or you'll be exposed to dictionary attacks.
7
- Dummy::Application.config.secret_token = '62b78a6dc0aa83ce7490c97c04e06b2a600a10aaea9b9f26bce334a558dbc84577d3eafc281a66b96aa47a8217d98a7cff6a98109851ed4ea26aa9dba1f8f979'
@@ -1,16 +0,0 @@
1
- # encoding: UTF-8
2
- # This file is auto-generated from the current state of the database. Instead
3
- # of editing this file, please use the migrations feature of Active Record to
4
- # incrementally modify your database, and then regenerate this schema definition.
5
- #
6
- # Note that this schema.rb definition is the authoritative source for your
7
- # database schema. If you need to create the application database on another
8
- # system, you should be using db:schema:load, not running all the migrations
9
- # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
- # you'll amass, the slower it'll run and the greater likelihood for issues).
11
- #
12
- # It's strongly recommended to check this file into your version control system.
13
-
14
- ActiveRecord::Schema.define(:version => 0) do
15
-
16
- end
@@ -1,6 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
-
4
- APP_PATH = File.expand_path('../../config/application', __FILE__)
5
- require File.expand_path('../../config/boot', __FILE__)
6
- require 'rails/commands'