zfben_rails_assets 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 (143) hide show
  1. data/.gitignore +1 -4
  2. data/Gemfile +11 -1
  3. data/README.rdoc +0 -8
  4. data/Rakefile +13 -0
  5. data/app/controllers/assets_controller.rb +32 -0
  6. data/app/helpers/assets_helper.rb +64 -0
  7. data/app/models/asset_format.rb +103 -0
  8. data/app/models/asset_format/css.rb +19 -0
  9. data/app/models/asset_format/js.rb +13 -0
  10. data/config/routes.rb +10 -0
  11. data/lib/{zfben_rails_assets/tasks.rb → tasks/tasks.rake} +0 -0
  12. data/lib/zfben_rails_assets.rb +3 -9
  13. data/test/assets_test.rb +145 -0
  14. data/{example → test/dummy}/Rakefile +2 -2
  15. data/test/dummy/app/assets/blank.css +1 -0
  16. data/test/dummy/app/assets/blank.js +1 -0
  17. data/test/dummy/app/assets/coffee.coffee +1 -0
  18. data/test/dummy/app/assets/import.css +1 -0
  19. data/test/dummy/app/assets/import.js +1 -0
  20. data/test/dummy/app/assets/import_404.css +1 -0
  21. data/test/dummy/app/assets/import_404.js +1 -0
  22. data/test/dummy/app/assets/import_iteration.css +1 -0
  23. data/test/dummy/app/assets/import_iteration.js +1 -0
  24. data/test/dummy/app/assets/import_twice.css +2 -0
  25. data/test/dummy/app/assets/import_twice.js +2 -0
  26. data/test/dummy/app/assets/sass.sass +2 -0
  27. data/test/dummy/app/assets/scss.scss +3 -0
  28. data/{example → test/dummy}/app/controllers/application_controller.rb +0 -0
  29. data/{example → test/dummy}/app/helpers/application_helper.rb +0 -0
  30. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  31. data/{example → test/dummy}/config.ru +1 -1
  32. data/test/dummy/config/application.rb +20 -0
  33. data/test/dummy/config/boot.rb +10 -0
  34. data/{example → test/dummy}/config/database.yml +0 -3
  35. data/{example → test/dummy}/config/environment.rb +1 -1
  36. data/{example → test/dummy}/config/environments/development.rb +4 -5
  37. data/{example → test/dummy}/config/environments/production.rb +13 -16
  38. data/{example → test/dummy}/config/environments/test.rb +2 -16
  39. data/{example → test/dummy}/config/initializers/backtrace_silencers.rb +0 -0
  40. data/{example → test/dummy}/config/initializers/inflections.rb +0 -0
  41. data/{example → test/dummy}/config/initializers/mime_types.rb +0 -0
  42. data/{example → test/dummy}/config/initializers/secret_token.rb +1 -1
  43. data/{example → test/dummy}/config/initializers/session_store.rb +2 -2
  44. data/{example → test/dummy}/config/locales/en.yml +1 -1
  45. data/test/dummy/config/routes.rb +58 -0
  46. data/{example → test/dummy}/public/404.html +0 -0
  47. data/{example → test/dummy}/public/422.html +0 -0
  48. data/{example → test/dummy}/public/500.html +0 -0
  49. data/{example → test/dummy}/public/favicon.ico +0 -0
  50. data/test/dummy/public/javascripts/application.js +2 -0
  51. data/test/dummy/public/javascripts/controls.js +965 -0
  52. data/test/dummy/public/javascripts/dragdrop.js +974 -0
  53. data/test/dummy/public/javascripts/effects.js +1123 -0
  54. data/test/dummy/public/javascripts/prototype.js +6001 -0
  55. data/test/dummy/public/javascripts/rails.js +202 -0
  56. data/{example/app/mailers → test/dummy/public/stylesheets}/.gitkeep +0 -0
  57. data/{example → test/dummy}/script/rails +0 -0
  58. data/test/dummy/tmp/assets/blank.css +1 -0
  59. data/test/dummy/tmp/assets/blank.js +1 -0
  60. data/test/dummy/tmp/assets/coffee.js +2 -0
  61. data/test/dummy/tmp/assets/import.css +4 -0
  62. data/test/dummy/tmp/assets/import.js +4 -0
  63. data/{example/app/models/.gitkeep → test/dummy/tmp/assets/import_404.css} +0 -0
  64. data/{example/db/development.sqlite3 → test/dummy/tmp/assets/import_404.js} +0 -0
  65. data/test/dummy/tmp/assets/import_iteration.css +11 -0
  66. data/test/dummy/tmp/assets/import_iteration.js +11 -0
  67. data/{example/lib/tasks/.gitkeep → test/dummy/tmp/assets/import_iteration.min.css} +0 -0
  68. data/{example/test/fixtures/.gitkeep → test/dummy/tmp/assets/import_iteration.min.js} +0 -0
  69. data/test/dummy/tmp/assets/import_twice.css +8 -0
  70. data/test/dummy/tmp/assets/import_twice.js +8 -0
  71. data/test/dummy/tmp/assets/sass.css +3 -0
  72. data/test/dummy/tmp/assets/scss.css +3 -0
  73. data/test/dummy/tmp/assets/simple.sass +3 -0
  74. data/test/test_helper.rb +10 -0
  75. data/zfben_rails_assets.gemspec +14 -4
  76. metadata +136 -133
  77. data/example/.gitignore +0 -7
  78. data/example/.sass-cache/686d48c4bb3405df08bdcc662a0722bb96d63df5/test.sassc +0 -0
  79. data/example/.sass-cache/7a5615116aa96cc45242210dec5b677975f46879/reset.sassc +0 -0
  80. data/example/Gemfile +0 -8
  81. data/example/README +0 -261
  82. data/example/app/assets/images/rails.png +0 -0
  83. data/example/app/assets/javascripts/application.js +0 -9
  84. data/example/app/assets/javascripts/test.js +0 -1
  85. data/example/app/assets/stylesheets/application.css +0 -7
  86. data/example/app/assets/stylesheets/test.css +0 -1
  87. data/example/app/controllers/test_controller.rb +0 -7
  88. data/example/app/views/test/index.haml +0 -12
  89. data/example/config/application.rb +0 -49
  90. data/example/config/boot.rb +0 -6
  91. data/example/config/initializers/wrap_parameters.rb +0 -12
  92. data/example/config/routes.rb +0 -3
  93. data/example/db/seeds.rb +0 -7
  94. data/example/doc/README_FOR_APP +0 -2
  95. data/example/public/robots.txt +0 -5
  96. data/example/test/functional/.gitkeep +0 -0
  97. data/example/test/integration/.gitkeep +0 -0
  98. data/example/test/performance/browsing_test.rb +0 -12
  99. data/example/test/test_helper.rb +0 -13
  100. data/example/test/unit/.gitkeep +0 -0
  101. data/example/vendor/assets/javascripts/zff.js +0 -0
  102. data/example/vendor/assets/javascripts/zff/core.js +0 -1
  103. data/example/vendor/assets/javascripts/zff/core/core.js +0 -57
  104. data/example/vendor/assets/javascripts/zff/lib/jquery/core.js +0 -8936
  105. data/example/vendor/assets/javascripts/zff/lib/jquery/grid.js +0 -467
  106. data/example/vendor/assets/javascripts/zff/lib/jquery/ui.js +0 -11631
  107. data/example/vendor/assets/javascripts/zff/lib/underscore/core.js +0 -807
  108. data/example/vendor/assets/javascripts/zff/spec.js +0 -2
  109. data/example/vendor/assets/javascripts/zff/spec/core.js +0 -38
  110. data/example/vendor/assets/javascripts/zff/spec/qunit.js +0 -1448
  111. data/example/vendor/assets/stylesheets/zff/lib/qunit.css +0 -225
  112. data/example/vendor/assets/stylesheets/zff/reset.sass +0 -1
  113. data/example/vendor/assets/stylesheets/zff/spec.css +0 -1
  114. data/example/vendor/plugins/.gitkeep +0 -0
  115. data/lib/zfben_rails_assets/Gemfile +0 -13
  116. data/lib/zfben_rails_assets/assets/javascripts/zff/core.js +0 -1
  117. data/lib/zfben_rails_assets/assets/javascripts/zff/core/0_config.js +0 -5
  118. data/lib/zfben_rails_assets/assets/javascripts/zff/core/1_jquery.js +0 -5
  119. data/lib/zfben_rails_assets/assets/javascripts/zff/core/2_load.js +0 -53
  120. data/lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/colorbox.js +0 -872
  121. data/lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/contextmenu.js +0 -144
  122. data/lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/core.js +0 -8936
  123. data/lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/grid.js +0 -2
  124. data/lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/grid/addons.js +0 -704
  125. data/lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/grid/core.js +0 -10913
  126. data/lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/grid/i18n/cn.js +0 -132
  127. data/lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/grid/i18n/en.js +0 -128
  128. data/lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/grid/postext.js +0 -64
  129. data/lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/grid/setcolumns.js +0 -126
  130. data/lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/qunit.js +0 -1448
  131. data/lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/searchFilter.js +0 -716
  132. data/lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/tablednd.js +0 -383
  133. data/lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/ui.js +0 -11631
  134. data/lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/ui/multiselect.js +0 -314
  135. data/lib/zfben_rails_assets/assets/javascripts/zff/lib/underscore/core.js +0 -807
  136. data/lib/zfben_rails_assets/assets/javascripts/zff/spec.js +0 -3
  137. data/lib/zfben_rails_assets/assets/javascripts/zff/spec/core.js +0 -38
  138. data/lib/zfben_rails_assets/assets/stylesheets/zff/lib/jquery/grid/grid.css +0 -140
  139. data/lib/zfben_rails_assets/assets/stylesheets/zff/lib/jquery/qunit/qunit.css +0 -225
  140. data/lib/zfben_rails_assets/assets/stylesheets/zff/lib/jquery/ui/multiselect.css +0 -30
  141. data/lib/zfben_rails_assets/assets/stylesheets/zff/reset.sass +0 -1
  142. data/lib/zfben_rails_assets/assets/stylesheets/zff/spec.css +0 -1
  143. data/lib/zfben_rails_assets/version.rb +0 -3
@@ -0,0 +1,202 @@
1
+ (function() {
2
+ Ajax.Responders.register({
3
+ onCreate: function(request) {
4
+ var token = $$('meta[name=csrf-token]')[0];
5
+ if (token) {
6
+ if (!request.options.requestHeaders) request.options.requestHeaders = {};
7
+ request.options.requestHeaders['X-CSRF-Token'] = token.readAttribute('content');
8
+ }
9
+ }
10
+ });
11
+
12
+ // Technique from Juriy Zaytsev
13
+ // http://thinkweb2.com/projects/prototype/detecting-event-support-without-browser-sniffing/
14
+ function isEventSupported(eventName) {
15
+ var el = document.createElement('div');
16
+ eventName = 'on' + eventName;
17
+ var isSupported = (eventName in el);
18
+ if (!isSupported) {
19
+ el.setAttribute(eventName, 'return;');
20
+ isSupported = typeof el[eventName] == 'function';
21
+ }
22
+ el = null;
23
+ return isSupported;
24
+ }
25
+
26
+ function isForm(element) {
27
+ return Object.isElement(element) && element.nodeName.toUpperCase() == 'FORM';
28
+ }
29
+
30
+ function isInput(element) {
31
+ if (Object.isElement(element)) {
32
+ var name = element.nodeName.toUpperCase();
33
+ return name == 'INPUT' || name == 'SELECT' || name == 'TEXTAREA';
34
+ }
35
+ else return false;
36
+ }
37
+
38
+ var submitBubbles = isEventSupported('submit'),
39
+ changeBubbles = isEventSupported('change');
40
+
41
+ if (!submitBubbles || !changeBubbles) {
42
+ // augment the Event.Handler class to observe custom events when needed
43
+ Event.Handler.prototype.initialize = Event.Handler.prototype.initialize.wrap(
44
+ function(init, element, eventName, selector, callback) {
45
+ init(element, eventName, selector, callback);
46
+ // is the handler being attached to an element that doesn't support this event?
47
+ if ( (!submitBubbles && this.eventName == 'submit' && !isForm(this.element)) ||
48
+ (!changeBubbles && this.eventName == 'change' && !isInput(this.element)) ) {
49
+ // "submit" => "emulated:submit"
50
+ this.eventName = 'emulated:' + this.eventName;
51
+ }
52
+ }
53
+ );
54
+ }
55
+
56
+ if (!submitBubbles) {
57
+ // discover forms on the page by observing focus events which always bubble
58
+ document.on('focusin', 'form', function(focusEvent, form) {
59
+ // special handler for the real "submit" event (one-time operation)
60
+ if (!form.retrieve('emulated:submit')) {
61
+ form.on('submit', function(submitEvent) {
62
+ var emulated = form.fire('emulated:submit', submitEvent, true);
63
+ // if custom event received preventDefault, cancel the real one too
64
+ if (emulated.returnValue === false) submitEvent.preventDefault();
65
+ });
66
+ form.store('emulated:submit', true);
67
+ }
68
+ });
69
+ }
70
+
71
+ if (!changeBubbles) {
72
+ // discover form inputs on the page
73
+ document.on('focusin', 'input, select, textarea', function(focusEvent, input) {
74
+ // special handler for real "change" events
75
+ if (!input.retrieve('emulated:change')) {
76
+ input.on('change', function(changeEvent) {
77
+ input.fire('emulated:change', changeEvent, true);
78
+ });
79
+ input.store('emulated:change', true);
80
+ }
81
+ });
82
+ }
83
+
84
+ function handleRemote(element) {
85
+ var method, url, params;
86
+
87
+ var event = element.fire("ajax:before");
88
+ if (event.stopped) return false;
89
+
90
+ if (element.tagName.toLowerCase() === 'form') {
91
+ method = element.readAttribute('method') || 'post';
92
+ url = element.readAttribute('action');
93
+ // serialize the form with respect to the submit button that was pressed
94
+ params = element.serialize({ submit: element.retrieve('rails:submit-button') });
95
+ // clear the pressed submit button information
96
+ element.store('rails:submit-button', null);
97
+ } else {
98
+ method = element.readAttribute('data-method') || 'get';
99
+ url = element.readAttribute('href');
100
+ params = {};
101
+ }
102
+
103
+ new Ajax.Request(url, {
104
+ method: method,
105
+ parameters: params,
106
+ evalScripts: true,
107
+
108
+ onCreate: function(response) { element.fire("ajax:create", response); },
109
+ onComplete: function(response) { element.fire("ajax:complete", response); },
110
+ onSuccess: function(response) { element.fire("ajax:success", response); },
111
+ onFailure: function(response) { element.fire("ajax:failure", response); }
112
+ });
113
+
114
+ element.fire("ajax:after");
115
+ }
116
+
117
+ function insertHiddenField(form, name, value) {
118
+ form.insert(new Element('input', { type: 'hidden', name: name, value: value }));
119
+ }
120
+
121
+ function handleMethod(element) {
122
+ var method = element.readAttribute('data-method'),
123
+ url = element.readAttribute('href'),
124
+ csrf_param = $$('meta[name=csrf-param]')[0],
125
+ csrf_token = $$('meta[name=csrf-token]')[0];
126
+
127
+ var form = new Element('form', { method: "POST", action: url, style: "display: none;" });
128
+ $(element.parentNode).insert(form);
129
+
130
+ if (method !== 'post') {
131
+ insertHiddenField(form, '_method', method);
132
+ }
133
+
134
+ if (csrf_param) {
135
+ insertHiddenField(form, csrf_param.readAttribute('content'), csrf_token.readAttribute('content'));
136
+ }
137
+
138
+ form.submit();
139
+ }
140
+
141
+ function disableFormElements(form) {
142
+ form.select('input[type=submit][data-disable-with]').each(function(input) {
143
+ input.store('rails:original-value', input.getValue());
144
+ input.setValue(input.readAttribute('data-disable-with')).disable();
145
+ });
146
+ }
147
+
148
+ function enableFormElements(form) {
149
+ form.select('input[type=submit][data-disable-with]').each(function(input) {
150
+ input.setValue(input.retrieve('rails:original-value')).enable();
151
+ });
152
+ }
153
+
154
+ function allowAction(element) {
155
+ var message = element.readAttribute('data-confirm');
156
+ return !message || confirm(message);
157
+ }
158
+
159
+ document.on('click', 'a[data-confirm], a[data-remote], a[data-method]', function(event, link) {
160
+ if (!allowAction(link)) {
161
+ event.stop();
162
+ return false;
163
+ }
164
+
165
+ if (link.readAttribute('data-remote')) {
166
+ handleRemote(link);
167
+ event.stop();
168
+ } else if (link.readAttribute('data-method')) {
169
+ handleMethod(link);
170
+ event.stop();
171
+ }
172
+ });
173
+
174
+ document.on("click", "form input[type=submit], form button[type=submit], form button:not([type])", function(event, button) {
175
+ // register the pressed submit button
176
+ event.findElement('form').store('rails:submit-button', button.name || false);
177
+ });
178
+
179
+ document.on("submit", function(event) {
180
+ var form = event.findElement();
181
+
182
+ if (!allowAction(form)) {
183
+ event.stop();
184
+ return false;
185
+ }
186
+
187
+ if (form.readAttribute('data-remote')) {
188
+ handleRemote(form);
189
+ event.stop();
190
+ } else {
191
+ disableFormElements(form);
192
+ }
193
+ });
194
+
195
+ document.on('ajax:create', 'form', function(event, form) {
196
+ if (form == event.findElement()) disableFormElements(form);
197
+ });
198
+
199
+ document.on('ajax:complete', 'form', function(event, form) {
200
+ if (form == event.findElement()) enableFormElements(form);
201
+ });
202
+ })();
File without changes
@@ -0,0 +1 @@
1
+ /* blank.css */
@@ -0,0 +1 @@
1
+ // blank.js
@@ -0,0 +1,2 @@
1
+
2
+ alert('hi');
@@ -0,0 +1,4 @@
1
+
2
+ /* /home/ben/dev/zfben_rails_assets/test/dummy/app/assets/blank.css */
3
+ /* blank.css */
4
+
@@ -0,0 +1,4 @@
1
+
2
+ /* /home/ben/dev/zfben_rails_assets/test/dummy/app/assets/blank.js */
3
+ // blank.js
4
+
@@ -0,0 +1,11 @@
1
+
2
+ /* /home/ben/dev/zfben_rails_assets/test/dummy/app/assets/import_twice.css */
3
+
4
+ /* /home/ben/dev/zfben_rails_assets/test/dummy/app/assets/blank.css */
5
+ /* blank.css */
6
+
7
+
8
+ /* /home/ben/dev/zfben_rails_assets/test/dummy/app/assets/blank.css */
9
+ /* blank.css */
10
+
11
+
@@ -0,0 +1,11 @@
1
+
2
+ /* /home/ben/dev/zfben_rails_assets/test/dummy/app/assets/import_twice.js */
3
+
4
+ /* /home/ben/dev/zfben_rails_assets/test/dummy/app/assets/blank.js */
5
+ // blank.js
6
+
7
+
8
+ /* /home/ben/dev/zfben_rails_assets/test/dummy/app/assets/blank.js */
9
+ // blank.js
10
+
11
+
@@ -0,0 +1,8 @@
1
+
2
+ /* /home/ben/dev/zfben_rails_assets/test/dummy/app/assets/blank.css */
3
+ /* blank.css */
4
+
5
+
6
+ /* /home/ben/dev/zfben_rails_assets/test/dummy/app/assets/blank.css */
7
+ /* blank.css */
8
+
@@ -0,0 +1,8 @@
1
+
2
+ /* /home/ben/dev/zfben_rails_assets/test/dummy/app/assets/blank.js */
3
+ // blank.js
4
+
5
+
6
+ /* /home/ben/dev/zfben_rails_assets/test/dummy/app/assets/blank.js */
7
+ // blank.js
8
+
@@ -0,0 +1,3 @@
1
+ #id {
2
+ color: white;
3
+ }
@@ -0,0 +1,3 @@
1
+ #id {
2
+ color: #fff;
3
+ }
@@ -0,0 +1,3 @@
1
+ #id {
2
+ color: white;
3
+ }
@@ -0,0 +1,10 @@
1
+ # Configure Rails Envinronment
2
+ ENV["RAILS_ENV"] = "test"
3
+
4
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
5
+ require "rails/test_help"
6
+
7
+ Rails.backtrace_cleaner.remove_silencers!
8
+
9
+ # Load support files
10
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
@@ -1,23 +1,33 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  $:.push File.expand_path("../lib", __FILE__)
3
- require "zfben_rails_assets/version"
4
3
 
5
4
  Gem::Specification.new do |s|
6
5
  s.name = "zfben_rails_assets"
7
- s.version = ZfbenRailsAssets::VERSION
6
+ s.version = '0.0.7'
8
7
  s.platform = Gem::Platform::RUBY
9
8
  s.authors = ["Ben"]
10
9
  s.email = ["ben@zfben.com"]
11
10
  s.homepage = "https://github.com/benz303/zfben_rails_assets"
12
11
  s.summary = %q{}
13
12
  s.description = %q{}
13
+ s.post_install_message =%q{********************************************************************************
14
+ Thank you for using zfben_rails_assets!
15
+
16
+ Please follow @zfben on Twitter for announcements, updates, and news.
17
+ https://twitter.com/zfben
14
18
 
15
- s.rubyforge_project = "zfben_rails_assets"
19
+ ********************************************************************************
20
+ }
16
21
 
17
22
  s.files = `git ls-files`.split("\n")
18
23
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
19
24
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
25
  s.require_paths = ["lib"]
21
26
 
22
- s.add_dependency 'rainbow'
27
+ s.required_ruby_version = '>= 1.9'
28
+
29
+ s.add_dependency 'rails', '>=3.1.0'
30
+ s.add_dependency 'compass'
31
+ s.add_dependency 'coffee-script'
32
+ s.add_dependency 'uglifier'
23
33
  end
metadata CHANGED
@@ -1,163 +1,166 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: zfben_rails_assets
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.7
4
5
  prerelease:
5
- version: 0.0.6
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Ben
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-06-11 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: rainbow
12
+ date: 2011-11-22 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: &20373060 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: 3.1.0
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *20373060
25
+ - !ruby/object:Gem::Dependency
26
+ name: compass
27
+ requirement: &20372280 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :runtime
17
34
  prerelease: false
18
- requirement: &id001 !ruby/object:Gem::Requirement
35
+ version_requirements: *20372280
36
+ - !ruby/object:Gem::Dependency
37
+ name: coffee-script
38
+ requirement: &20371520 !ruby/object:Gem::Requirement
19
39
  none: false
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
23
- version: "0"
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
24
44
  type: :runtime
25
- version_requirements: *id001
26
- description: ""
27
- email:
45
+ prerelease: false
46
+ version_requirements: *20371520
47
+ - !ruby/object:Gem::Dependency
48
+ name: uglifier
49
+ requirement: &20371080 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ type: :runtime
56
+ prerelease: false
57
+ version_requirements: *20371080
58
+ description: ''
59
+ email:
28
60
  - ben@zfben.com
29
61
  executables: []
30
-
31
62
  extensions: []
32
-
33
63
  extra_rdoc_files: []
34
-
35
- files:
64
+ files:
36
65
  - .gitignore
37
66
  - Gemfile
38
67
  - README.rdoc
39
68
  - Rakefile
40
- - example/.gitignore
41
- - example/.sass-cache/686d48c4bb3405df08bdcc662a0722bb96d63df5/test.sassc
42
- - example/.sass-cache/7a5615116aa96cc45242210dec5b677975f46879/reset.sassc
43
- - example/Gemfile
44
- - example/README
45
- - example/Rakefile
46
- - example/app/assets/images/rails.png
47
- - example/app/assets/javascripts/application.js
48
- - example/app/assets/javascripts/test.js
49
- - example/app/assets/stylesheets/application.css
50
- - example/app/assets/stylesheets/test.css
51
- - example/app/controllers/application_controller.rb
52
- - example/app/controllers/test_controller.rb
53
- - example/app/helpers/application_helper.rb
54
- - example/app/mailers/.gitkeep
55
- - example/app/models/.gitkeep
56
- - example/app/views/test/index.haml
57
- - example/config.ru
58
- - example/config/application.rb
59
- - example/config/boot.rb
60
- - example/config/database.yml
61
- - example/config/environment.rb
62
- - example/config/environments/development.rb
63
- - example/config/environments/production.rb
64
- - example/config/environments/test.rb
65
- - example/config/initializers/backtrace_silencers.rb
66
- - example/config/initializers/inflections.rb
67
- - example/config/initializers/mime_types.rb
68
- - example/config/initializers/secret_token.rb
69
- - example/config/initializers/session_store.rb
70
- - example/config/initializers/wrap_parameters.rb
71
- - example/config/locales/en.yml
72
- - example/config/routes.rb
73
- - example/db/development.sqlite3
74
- - example/db/seeds.rb
75
- - example/doc/README_FOR_APP
76
- - example/lib/tasks/.gitkeep
77
- - example/public/404.html
78
- - example/public/422.html
79
- - example/public/500.html
80
- - example/public/favicon.ico
81
- - example/public/robots.txt
82
- - example/script/rails
83
- - example/test/fixtures/.gitkeep
84
- - example/test/functional/.gitkeep
85
- - example/test/integration/.gitkeep
86
- - example/test/performance/browsing_test.rb
87
- - example/test/test_helper.rb
88
- - example/test/unit/.gitkeep
89
- - example/vendor/assets/javascripts/zff.js
90
- - example/vendor/assets/javascripts/zff/core.js
91
- - example/vendor/assets/javascripts/zff/core/core.js
92
- - example/vendor/assets/javascripts/zff/lib/jquery/core.js
93
- - example/vendor/assets/javascripts/zff/lib/jquery/grid.js
94
- - example/vendor/assets/javascripts/zff/lib/jquery/ui.js
95
- - example/vendor/assets/javascripts/zff/lib/underscore/core.js
96
- - example/vendor/assets/javascripts/zff/spec.js
97
- - example/vendor/assets/javascripts/zff/spec/core.js
98
- - example/vendor/assets/javascripts/zff/spec/qunit.js
99
- - example/vendor/assets/stylesheets/zff/lib/qunit.css
100
- - example/vendor/assets/stylesheets/zff/reset.sass
101
- - example/vendor/assets/stylesheets/zff/spec.css
102
- - example/vendor/plugins/.gitkeep
69
+ - app/controllers/assets_controller.rb
70
+ - app/helpers/assets_helper.rb
71
+ - app/models/asset_format.rb
72
+ - app/models/asset_format/css.rb
73
+ - app/models/asset_format/js.rb
74
+ - config/routes.rb
75
+ - lib/tasks/tasks.rake
103
76
  - lib/zfben_rails_assets.rb
104
- - lib/zfben_rails_assets/Gemfile
105
- - lib/zfben_rails_assets/assets/javascripts/zff/core.js
106
- - lib/zfben_rails_assets/assets/javascripts/zff/core/0_config.js
107
- - lib/zfben_rails_assets/assets/javascripts/zff/core/1_jquery.js
108
- - lib/zfben_rails_assets/assets/javascripts/zff/core/2_load.js
109
- - lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/colorbox.js
110
- - lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/contextmenu.js
111
- - lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/core.js
112
- - lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/grid.js
113
- - lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/grid/addons.js
114
- - lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/grid/core.js
115
- - lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/grid/i18n/cn.js
116
- - lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/grid/i18n/en.js
117
- - lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/grid/postext.js
118
- - lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/grid/setcolumns.js
119
- - lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/qunit.js
120
- - lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/searchFilter.js
121
- - lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/tablednd.js
122
- - lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/ui.js
123
- - lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/ui/multiselect.js
124
- - lib/zfben_rails_assets/assets/javascripts/zff/lib/underscore/core.js
125
- - lib/zfben_rails_assets/assets/javascripts/zff/spec.js
126
- - lib/zfben_rails_assets/assets/javascripts/zff/spec/core.js
127
- - lib/zfben_rails_assets/assets/stylesheets/zff/lib/jquery/grid/grid.css
128
- - lib/zfben_rails_assets/assets/stylesheets/zff/lib/jquery/qunit/qunit.css
129
- - lib/zfben_rails_assets/assets/stylesheets/zff/lib/jquery/ui/multiselect.css
130
- - lib/zfben_rails_assets/assets/stylesheets/zff/reset.sass
131
- - lib/zfben_rails_assets/assets/stylesheets/zff/spec.css
132
- - lib/zfben_rails_assets/tasks.rb
133
- - lib/zfben_rails_assets/version.rb
77
+ - test/assets_test.rb
78
+ - test/dummy/Rakefile
79
+ - test/dummy/app/assets/blank.css
80
+ - test/dummy/app/assets/blank.js
81
+ - test/dummy/app/assets/coffee.coffee
82
+ - test/dummy/app/assets/import.css
83
+ - test/dummy/app/assets/import.js
84
+ - test/dummy/app/assets/import_404.css
85
+ - test/dummy/app/assets/import_404.js
86
+ - test/dummy/app/assets/import_iteration.css
87
+ - test/dummy/app/assets/import_iteration.js
88
+ - test/dummy/app/assets/import_twice.css
89
+ - test/dummy/app/assets/import_twice.js
90
+ - test/dummy/app/assets/sass.sass
91
+ - test/dummy/app/assets/scss.scss
92
+ - test/dummy/app/controllers/application_controller.rb
93
+ - test/dummy/app/helpers/application_helper.rb
94
+ - test/dummy/app/views/layouts/application.html.erb
95
+ - test/dummy/config.ru
96
+ - test/dummy/config/application.rb
97
+ - test/dummy/config/boot.rb
98
+ - test/dummy/config/database.yml
99
+ - test/dummy/config/environment.rb
100
+ - test/dummy/config/environments/development.rb
101
+ - test/dummy/config/environments/production.rb
102
+ - test/dummy/config/environments/test.rb
103
+ - test/dummy/config/initializers/backtrace_silencers.rb
104
+ - test/dummy/config/initializers/inflections.rb
105
+ - test/dummy/config/initializers/mime_types.rb
106
+ - test/dummy/config/initializers/secret_token.rb
107
+ - test/dummy/config/initializers/session_store.rb
108
+ - test/dummy/config/locales/en.yml
109
+ - test/dummy/config/routes.rb
110
+ - test/dummy/public/404.html
111
+ - test/dummy/public/422.html
112
+ - test/dummy/public/500.html
113
+ - test/dummy/public/favicon.ico
114
+ - test/dummy/public/javascripts/application.js
115
+ - test/dummy/public/javascripts/controls.js
116
+ - test/dummy/public/javascripts/dragdrop.js
117
+ - test/dummy/public/javascripts/effects.js
118
+ - test/dummy/public/javascripts/prototype.js
119
+ - test/dummy/public/javascripts/rails.js
120
+ - test/dummy/public/stylesheets/.gitkeep
121
+ - test/dummy/script/rails
122
+ - test/dummy/tmp/assets/blank.css
123
+ - test/dummy/tmp/assets/blank.js
124
+ - test/dummy/tmp/assets/coffee.js
125
+ - test/dummy/tmp/assets/import.css
126
+ - test/dummy/tmp/assets/import.js
127
+ - test/dummy/tmp/assets/import_404.css
128
+ - test/dummy/tmp/assets/import_404.js
129
+ - test/dummy/tmp/assets/import_iteration.css
130
+ - test/dummy/tmp/assets/import_iteration.js
131
+ - test/dummy/tmp/assets/import_iteration.min.css
132
+ - test/dummy/tmp/assets/import_iteration.min.js
133
+ - test/dummy/tmp/assets/import_twice.css
134
+ - test/dummy/tmp/assets/import_twice.js
135
+ - test/dummy/tmp/assets/sass.css
136
+ - test/dummy/tmp/assets/scss.css
137
+ - test/dummy/tmp/assets/simple.sass
138
+ - test/test_helper.rb
134
139
  - zfben_rails_assets.gemspec
135
140
  homepage: https://github.com/benz303/zfben_rails_assets
136
141
  licenses: []
137
-
138
- post_install_message:
142
+ post_install_message: ! "********************************************************************************\n
143
+ \ Thank you for using zfben_rails_assets!\n \n Please follow @zfben on Twitter
144
+ for announcements, updates, and news.\n https://twitter.com/zfben\n\n********************************************************************************\n"
139
145
  rdoc_options: []
140
-
141
- require_paths:
146
+ require_paths:
142
147
  - lib
143
- required_ruby_version: !ruby/object:Gem::Requirement
148
+ required_ruby_version: !ruby/object:Gem::Requirement
144
149
  none: false
145
- requirements:
146
- - - ">="
147
- - !ruby/object:Gem::Version
148
- version: "0"
149
- required_rubygems_version: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - ! '>='
152
+ - !ruby/object:Gem::Version
153
+ version: '1.9'
154
+ required_rubygems_version: !ruby/object:Gem::Requirement
150
155
  none: false
151
- requirements:
152
- - - ">="
153
- - !ruby/object:Gem::Version
154
- version: "0"
156
+ requirements:
157
+ - - ! '>='
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
155
160
  requirements: []
156
-
157
- rubyforge_project: zfben_rails_assets
158
- rubygems_version: 1.7.2
161
+ rubyforge_project:
162
+ rubygems_version: 1.8.10
159
163
  signing_key:
160
164
  specification_version: 3
161
- summary: ""
165
+ summary: ''
162
166
  test_files: []
163
-