css_splitter_opp_fork 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +99 -0
  4. data/Rakefile +40 -0
  5. data/app/helpers/css_splitter/application_helper.rb +20 -0
  6. data/config/routes.rb +2 -0
  7. data/lib/css_splitter/engine.rb +15 -0
  8. data/lib/css_splitter/splitter.rb +112 -0
  9. data/lib/css_splitter/sprockets_engine.rb +23 -0
  10. data/lib/css_splitter/version.rb +3 -0
  11. data/lib/css_splitter.rb +6 -0
  12. data/lib/tasks/css_splitter_tasks.rake +4 -0
  13. data/test/css_splitter_test.rb +41 -0
  14. data/test/dummy/README.rdoc +261 -0
  15. data/test/dummy/Rakefile +7 -0
  16. data/test/dummy/app/assets/stylesheets/application.css +16 -0
  17. data/test/dummy/app/assets/stylesheets/combined.css.scss +4 -0
  18. data/test/dummy/app/assets/stylesheets/combined_split2.css +3 -0
  19. data/test/dummy/app/assets/stylesheets/erb_stylesheet.css.scss.erb +7 -0
  20. data/test/dummy/app/assets/stylesheets/erb_stylesheet_split2.css +3 -0
  21. data/test/dummy/app/assets/stylesheets/erb_stylesheet_split3.css +3 -0
  22. data/test/dummy/app/assets/stylesheets/green_max.css.scss.erb +3 -0
  23. data/test/dummy/app/assets/stylesheets/red_100.css.scss.erb +3 -0
  24. data/test/dummy/app/assets/stylesheets/test_stylesheet_with_media_queries.css +19145 -0
  25. data/test/dummy/app/assets/stylesheets/test_stylesheet_with_media_queries_split2.css +3 -0
  26. data/test/dummy/app/assets/stylesheets/too_big_stylesheet.css.scss +4100 -0
  27. data/test/dummy/app/assets/stylesheets/too_big_stylesheet_split2.css +3 -0
  28. data/test/dummy/app/controllers/application_controller.rb +3 -0
  29. data/test/dummy/app/controllers/tests_controller.rb +4 -0
  30. data/test/dummy/app/views/layouts/application.html.erb +17 -0
  31. data/test/dummy/app/views/tests/test.html.erb +12 -0
  32. data/test/dummy/config/application.rb +64 -0
  33. data/test/dummy/config/boot.rb +10 -0
  34. data/test/dummy/config/database.yml +25 -0
  35. data/test/dummy/config/environment.rb +5 -0
  36. data/test/dummy/config/environments/development.rb +39 -0
  37. data/test/dummy/config/environments/production.rb +69 -0
  38. data/test/dummy/config/environments/test.rb +39 -0
  39. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  40. data/test/dummy/config/initializers/inflections.rb +15 -0
  41. data/test/dummy/config/initializers/mime_types.rb +5 -0
  42. data/test/dummy/config/initializers/secret_token.rb +7 -0
  43. data/test/dummy/config/initializers/session_store.rb +8 -0
  44. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  45. data/test/dummy/config/locales/en.yml +5 -0
  46. data/test/dummy/config/routes.rb +5 -0
  47. data/test/dummy/config.ru +4 -0
  48. data/test/dummy/public/404.html +26 -0
  49. data/test/dummy/public/422.html +26 -0
  50. data/test/dummy/public/500.html +25 -0
  51. data/test/dummy/public/favicon.ico +0 -0
  52. data/test/dummy/script/rails +6 -0
  53. data/test/integration/navigation_test.rb +10 -0
  54. data/test/test_helper.rb +15 -0
  55. data/test/unit/helpers/css_splitter/application_helper_test.rb +22 -0
  56. data/test/unit/splitter_test.rb +192 -0
  57. data/test/unit/too_many_selectors.css +12986 -0
  58. metadata +176 -0
metadata ADDED
@@ -0,0 +1,176 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: css_splitter_opp_fork
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.4.0
5
+ platform: ruby
6
+ authors:
7
+ - Bob Firestone
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-07-21 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: sprockets
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: 2.0.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: 2.0.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: rails
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '3.1'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '3.1'
41
+ description: '***This is a fork of the css_splitter gem. We needed the latest & greatest
42
+ before 0.4.0 was available through rubygems.*** Gem for splitting up stylesheets
43
+ that go beyond the IE limit of 4095 selectors, for Rails 3.1+ apps using the Asset
44
+ Pipeline.'
45
+ email:
46
+ - rbfirestone@me.com
47
+ executables: []
48
+ extensions: []
49
+ extra_rdoc_files: []
50
+ files:
51
+ - app/helpers/css_splitter/application_helper.rb
52
+ - config/routes.rb
53
+ - lib/css_splitter/engine.rb
54
+ - lib/css_splitter/splitter.rb
55
+ - lib/css_splitter/sprockets_engine.rb
56
+ - lib/css_splitter/version.rb
57
+ - lib/css_splitter.rb
58
+ - lib/tasks/css_splitter_tasks.rake
59
+ - MIT-LICENSE
60
+ - Rakefile
61
+ - README.md
62
+ - test/css_splitter_test.rb
63
+ - test/dummy/app/assets/stylesheets/application.css
64
+ - test/dummy/app/assets/stylesheets/combined.css.scss
65
+ - test/dummy/app/assets/stylesheets/combined_split2.css
66
+ - test/dummy/app/assets/stylesheets/erb_stylesheet.css.scss.erb
67
+ - test/dummy/app/assets/stylesheets/erb_stylesheet_split2.css
68
+ - test/dummy/app/assets/stylesheets/erb_stylesheet_split3.css
69
+ - test/dummy/app/assets/stylesheets/green_max.css.scss.erb
70
+ - test/dummy/app/assets/stylesheets/red_100.css.scss.erb
71
+ - test/dummy/app/assets/stylesheets/test_stylesheet_with_media_queries.css
72
+ - test/dummy/app/assets/stylesheets/test_stylesheet_with_media_queries_split2.css
73
+ - test/dummy/app/assets/stylesheets/too_big_stylesheet.css.scss
74
+ - test/dummy/app/assets/stylesheets/too_big_stylesheet_split2.css
75
+ - test/dummy/app/controllers/application_controller.rb
76
+ - test/dummy/app/controllers/tests_controller.rb
77
+ - test/dummy/app/views/layouts/application.html.erb
78
+ - test/dummy/app/views/tests/test.html.erb
79
+ - test/dummy/config/application.rb
80
+ - test/dummy/config/boot.rb
81
+ - test/dummy/config/database.yml
82
+ - test/dummy/config/environment.rb
83
+ - test/dummy/config/environments/development.rb
84
+ - test/dummy/config/environments/production.rb
85
+ - test/dummy/config/environments/test.rb
86
+ - test/dummy/config/initializers/backtrace_silencers.rb
87
+ - test/dummy/config/initializers/inflections.rb
88
+ - test/dummy/config/initializers/mime_types.rb
89
+ - test/dummy/config/initializers/secret_token.rb
90
+ - test/dummy/config/initializers/session_store.rb
91
+ - test/dummy/config/initializers/wrap_parameters.rb
92
+ - test/dummy/config/locales/en.yml
93
+ - test/dummy/config/routes.rb
94
+ - test/dummy/config.ru
95
+ - test/dummy/public/404.html
96
+ - test/dummy/public/422.html
97
+ - test/dummy/public/500.html
98
+ - test/dummy/public/favicon.ico
99
+ - test/dummy/Rakefile
100
+ - test/dummy/README.rdoc
101
+ - test/dummy/script/rails
102
+ - test/integration/navigation_test.rb
103
+ - test/test_helper.rb
104
+ - test/unit/helpers/css_splitter/application_helper_test.rb
105
+ - test/unit/splitter_test.rb
106
+ - test/unit/too_many_selectors.css
107
+ homepage: https://github.com/bobfirestone/css_splitter
108
+ licenses:
109
+ - MIT
110
+ metadata: {}
111
+ post_install_message:
112
+ rdoc_options: []
113
+ require_paths:
114
+ - lib
115
+ required_ruby_version: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - '>='
118
+ - !ruby/object:Gem::Version
119
+ version: '0'
120
+ required_rubygems_version: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - '>='
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ requirements: []
126
+ rubyforge_project:
127
+ rubygems_version: 2.0.14
128
+ signing_key:
129
+ specification_version: 4
130
+ summary: A fork of CSS stylesheet splitter for Rails
131
+ test_files:
132
+ - test/css_splitter_test.rb
133
+ - test/dummy/app/assets/stylesheets/application.css
134
+ - test/dummy/app/assets/stylesheets/combined.css.scss
135
+ - test/dummy/app/assets/stylesheets/combined_split2.css
136
+ - test/dummy/app/assets/stylesheets/erb_stylesheet.css.scss.erb
137
+ - test/dummy/app/assets/stylesheets/erb_stylesheet_split2.css
138
+ - test/dummy/app/assets/stylesheets/erb_stylesheet_split3.css
139
+ - test/dummy/app/assets/stylesheets/green_max.css.scss.erb
140
+ - test/dummy/app/assets/stylesheets/red_100.css.scss.erb
141
+ - test/dummy/app/assets/stylesheets/test_stylesheet_with_media_queries.css
142
+ - test/dummy/app/assets/stylesheets/test_stylesheet_with_media_queries_split2.css
143
+ - test/dummy/app/assets/stylesheets/too_big_stylesheet.css.scss
144
+ - test/dummy/app/assets/stylesheets/too_big_stylesheet_split2.css
145
+ - test/dummy/app/controllers/application_controller.rb
146
+ - test/dummy/app/controllers/tests_controller.rb
147
+ - test/dummy/app/views/layouts/application.html.erb
148
+ - test/dummy/app/views/tests/test.html.erb
149
+ - test/dummy/config/application.rb
150
+ - test/dummy/config/boot.rb
151
+ - test/dummy/config/database.yml
152
+ - test/dummy/config/environment.rb
153
+ - test/dummy/config/environments/development.rb
154
+ - test/dummy/config/environments/production.rb
155
+ - test/dummy/config/environments/test.rb
156
+ - test/dummy/config/initializers/backtrace_silencers.rb
157
+ - test/dummy/config/initializers/inflections.rb
158
+ - test/dummy/config/initializers/mime_types.rb
159
+ - test/dummy/config/initializers/secret_token.rb
160
+ - test/dummy/config/initializers/session_store.rb
161
+ - test/dummy/config/initializers/wrap_parameters.rb
162
+ - test/dummy/config/locales/en.yml
163
+ - test/dummy/config/routes.rb
164
+ - test/dummy/config.ru
165
+ - test/dummy/public/404.html
166
+ - test/dummy/public/422.html
167
+ - test/dummy/public/500.html
168
+ - test/dummy/public/favicon.ico
169
+ - test/dummy/Rakefile
170
+ - test/dummy/README.rdoc
171
+ - test/dummy/script/rails
172
+ - test/integration/navigation_test.rb
173
+ - test/test_helper.rb
174
+ - test/unit/helpers/css_splitter/application_helper_test.rb
175
+ - test/unit/splitter_test.rb
176
+ - test/unit/too_many_selectors.css