pushify 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (120) hide show
  1. data/README.markdown +10 -10
  2. data/VERSION +1 -1
  3. data/demos/rails2/README +243 -0
  4. data/demos/rails2/Rakefile +10 -0
  5. data/demos/rails2/app/controllers/application_controller.rb +10 -0
  6. data/demos/rails2/app/controllers/test_controller.rb +3 -0
  7. data/demos/rails2/app/helpers/application_helper.rb +3 -0
  8. data/demos/rails2/app/views/test/index.html.erb +10 -0
  9. data/demos/rails2/config/boot.rb +110 -0
  10. data/demos/rails2/config/database.yml +22 -0
  11. data/demos/rails2/config/environment.rb +42 -0
  12. data/demos/rails2/config/environments/development.rb +20 -0
  13. data/demos/rails2/config/environments/production.rb +28 -0
  14. data/demos/rails2/config/environments/test.rb +28 -0
  15. data/demos/rails2/config/initializers/backtrace_silencers.rb +7 -0
  16. data/demos/rails2/config/initializers/inflections.rb +10 -0
  17. data/demos/rails2/config/initializers/mime_types.rb +5 -0
  18. data/demos/rails2/config/initializers/new_rails_defaults.rb +21 -0
  19. data/demos/rails2/config/initializers/session_store.rb +15 -0
  20. data/demos/rails2/config/locales/en.yml +5 -0
  21. data/demos/rails2/config/routes.rb +7 -0
  22. data/demos/rails2/db/development.sqlite3 +0 -0
  23. data/demos/rails2/db/seeds.rb +7 -0
  24. data/demos/rails2/doc/README_FOR_APP +2 -0
  25. data/demos/rails2/log/development.log +90 -0
  26. data/demos/rails2/log/production.log +0 -0
  27. data/demos/rails2/log/server.log +0 -0
  28. data/demos/rails2/log/test.log +0 -0
  29. data/demos/rails2/public/404.html +30 -0
  30. data/demos/rails2/public/422.html +30 -0
  31. data/demos/rails2/public/500.html +30 -0
  32. data/demos/rails2/public/favicon.ico +0 -0
  33. data/demos/rails2/public/images/push.jpg +0 -0
  34. data/demos/rails2/public/images/rails.png +0 -0
  35. data/demos/rails2/public/images/ruby.jpg +0 -0
  36. data/demos/rails2/public/images/test.jpg +0 -0
  37. data/demos/rails2/public/javascripts/application.js +2 -0
  38. data/demos/rails2/public/javascripts/controls.js +963 -0
  39. data/demos/rails2/public/javascripts/dragdrop.js +973 -0
  40. data/demos/rails2/public/javascripts/effects.js +1128 -0
  41. data/demos/rails2/public/javascripts/prototype.js +4320 -0
  42. data/demos/rails2/public/javascripts/test.js +3 -0
  43. data/demos/rails2/public/robots.txt +5 -0
  44. data/demos/rails2/public/stylesheets/test.css +4 -0
  45. data/demos/rails2/script/about +4 -0
  46. data/demos/rails2/script/console +3 -0
  47. data/demos/rails2/script/dbconsole +3 -0
  48. data/demos/rails2/script/destroy +3 -0
  49. data/demos/rails2/script/generate +3 -0
  50. data/demos/rails2/script/performance/benchmarker +3 -0
  51. data/demos/rails2/script/performance/profiler +3 -0
  52. data/demos/rails2/script/plugin +3 -0
  53. data/demos/rails2/script/runner +3 -0
  54. data/demos/rails2/script/server +3 -0
  55. data/demos/rails2/test/performance/browsing_test.rb +9 -0
  56. data/demos/rails2/test/test_helper.rb +38 -0
  57. data/demos/rails3/.gitignore +4 -0
  58. data/demos/rails3/Gemfile +38 -0
  59. data/demos/rails3/Gemfile.lock +75 -0
  60. data/demos/rails3/README +256 -0
  61. data/demos/rails3/Rakefile +7 -0
  62. data/demos/rails3/app/controllers/application_controller.rb +3 -0
  63. data/demos/rails3/app/controllers/items_controller.rb +83 -0
  64. data/demos/rails3/app/helpers/application_helper.rb +2 -0
  65. data/demos/rails3/app/helpers/items_helper.rb +2 -0
  66. data/demos/rails3/app/models/item.rb +2 -0
  67. data/demos/rails3/app/views/items/_form.html.erb +17 -0
  68. data/demos/rails3/app/views/items/edit.html.erb +6 -0
  69. data/demos/rails3/app/views/items/index.html.erb +21 -0
  70. data/demos/rails3/app/views/items/new.html.erb +5 -0
  71. data/demos/rails3/app/views/items/show.html.erb +5 -0
  72. data/demos/rails3/app/views/layouts/application.html.erb +14 -0
  73. data/demos/rails3/config/application.rb +42 -0
  74. data/demos/rails3/config/boot.rb +13 -0
  75. data/demos/rails3/config/database.yml +22 -0
  76. data/demos/rails3/config/environment.rb +5 -0
  77. data/demos/rails3/config/environments/development.rb +29 -0
  78. data/demos/rails3/config/environments/production.rb +49 -0
  79. data/demos/rails3/config/environments/test.rb +35 -0
  80. data/demos/rails3/config/initializers/backtrace_silencers.rb +7 -0
  81. data/demos/rails3/config/initializers/inflections.rb +10 -0
  82. data/demos/rails3/config/initializers/mime_types.rb +5 -0
  83. data/demos/rails3/config/initializers/secret_token.rb +7 -0
  84. data/demos/rails3/config/initializers/session_store.rb +8 -0
  85. data/demos/rails3/config/locales/en.yml +5 -0
  86. data/demos/rails3/config/routes.rb +61 -0
  87. data/demos/rails3/config.ru +4 -0
  88. data/demos/rails3/db/migrate/20101024085925_create_items.rb +12 -0
  89. data/demos/rails3/db/schema.rb +20 -0
  90. data/demos/rails3/db/seeds.rb +7 -0
  91. data/demos/rails3/doc/README_FOR_APP +2 -0
  92. data/demos/rails3/lib/tasks/.gitkeep +0 -0
  93. data/demos/rails3/public/404.html +26 -0
  94. data/demos/rails3/public/422.html +26 -0
  95. data/demos/rails3/public/500.html +26 -0
  96. data/demos/rails3/public/favicon.ico +0 -0
  97. data/demos/rails3/public/images/rails.png +0 -0
  98. data/demos/rails3/public/javascripts/application.js +2 -0
  99. data/demos/rails3/public/javascripts/controls.js +965 -0
  100. data/demos/rails3/public/javascripts/dragdrop.js +974 -0
  101. data/demos/rails3/public/javascripts/effects.js +1123 -0
  102. data/demos/rails3/public/javascripts/prototype.js +6001 -0
  103. data/demos/rails3/public/javascripts/rails.js +175 -0
  104. data/demos/rails3/public/robots.txt +5 -0
  105. data/demos/rails3/public/stylesheets/.gitkeep +0 -0
  106. data/demos/rails3/public/stylesheets/scaffold.css +57 -0
  107. data/demos/rails3/script/rails +6 -0
  108. data/demos/rails3/test/fixtures/items.yml +11 -0
  109. data/demos/rails3/test/functional/items_controller_test.rb +49 -0
  110. data/demos/rails3/test/performance/browsing_test.rb +9 -0
  111. data/demos/rails3/test/test_helper.rb +13 -0
  112. data/demos/rails3/test/unit/helpers/items_helper_test.rb +4 -0
  113. data/demos/rails3/test/unit/item_test.rb +8 -0
  114. data/demos/rails3/vendor/plugins/.gitkeep +0 -0
  115. data/install/juggernaut.js +1 -1
  116. metadata +121 -12
  117. data/.specification +0 -92
  118. data/ROADMAP +0 -13
  119. data/pkg/pushify-1.0.0.gem +0 -0
  120. data/spec/css_push_spec.rb +0 -7
@@ -0,0 +1,175 @@
1
+ (function() {
2
+ // Technique from Juriy Zaytsev
3
+ // http://thinkweb2.com/projects/prototype/detecting-event-support-without-browser-sniffing/
4
+ function isEventSupported(eventName) {
5
+ var el = document.createElement('div');
6
+ eventName = 'on' + eventName;
7
+ var isSupported = (eventName in el);
8
+ if (!isSupported) {
9
+ el.setAttribute(eventName, 'return;');
10
+ isSupported = typeof el[eventName] == 'function';
11
+ }
12
+ el = null;
13
+ return isSupported;
14
+ }
15
+
16
+ function isForm(element) {
17
+ return Object.isElement(element) && element.nodeName.toUpperCase() == 'FORM'
18
+ }
19
+
20
+ function isInput(element) {
21
+ if (Object.isElement(element)) {
22
+ var name = element.nodeName.toUpperCase()
23
+ return name == 'INPUT' || name == 'SELECT' || name == 'TEXTAREA'
24
+ }
25
+ else return false
26
+ }
27
+
28
+ var submitBubbles = isEventSupported('submit'),
29
+ changeBubbles = isEventSupported('change')
30
+
31
+ if (!submitBubbles || !changeBubbles) {
32
+ // augment the Event.Handler class to observe custom events when needed
33
+ Event.Handler.prototype.initialize = Event.Handler.prototype.initialize.wrap(
34
+ function(init, element, eventName, selector, callback) {
35
+ init(element, eventName, selector, callback)
36
+ // is the handler being attached to an element that doesn't support this event?
37
+ if ( (!submitBubbles && this.eventName == 'submit' && !isForm(this.element)) ||
38
+ (!changeBubbles && this.eventName == 'change' && !isInput(this.element)) ) {
39
+ // "submit" => "emulated:submit"
40
+ this.eventName = 'emulated:' + this.eventName
41
+ }
42
+ }
43
+ )
44
+ }
45
+
46
+ if (!submitBubbles) {
47
+ // discover forms on the page by observing focus events which always bubble
48
+ document.on('focusin', 'form', function(focusEvent, form) {
49
+ // special handler for the real "submit" event (one-time operation)
50
+ if (!form.retrieve('emulated:submit')) {
51
+ form.on('submit', function(submitEvent) {
52
+ var emulated = form.fire('emulated:submit', submitEvent, true)
53
+ // if custom event received preventDefault, cancel the real one too
54
+ if (emulated.returnValue === false) submitEvent.preventDefault()
55
+ })
56
+ form.store('emulated:submit', true)
57
+ }
58
+ })
59
+ }
60
+
61
+ if (!changeBubbles) {
62
+ // discover form inputs on the page
63
+ document.on('focusin', 'input, select, texarea', function(focusEvent, input) {
64
+ // special handler for real "change" events
65
+ if (!input.retrieve('emulated:change')) {
66
+ input.on('change', function(changeEvent) {
67
+ input.fire('emulated:change', changeEvent, true)
68
+ })
69
+ input.store('emulated:change', true)
70
+ }
71
+ })
72
+ }
73
+
74
+ function handleRemote(element) {
75
+ var method, url, params;
76
+
77
+ var event = element.fire("ajax:before");
78
+ if (event.stopped) return false;
79
+
80
+ if (element.tagName.toLowerCase() === 'form') {
81
+ method = element.readAttribute('method') || 'post';
82
+ url = element.readAttribute('action');
83
+ params = element.serialize();
84
+ } else {
85
+ method = element.readAttribute('data-method') || 'get';
86
+ url = element.readAttribute('href');
87
+ params = {};
88
+ }
89
+
90
+ new Ajax.Request(url, {
91
+ method: method,
92
+ parameters: params,
93
+ evalScripts: true,
94
+
95
+ onComplete: function(request) { element.fire("ajax:complete", request); },
96
+ onSuccess: function(request) { element.fire("ajax:success", request); },
97
+ onFailure: function(request) { element.fire("ajax:failure", request); }
98
+ });
99
+
100
+ element.fire("ajax:after");
101
+ }
102
+
103
+ function handleMethod(element) {
104
+ var method = element.readAttribute('data-method'),
105
+ url = element.readAttribute('href'),
106
+ csrf_param = $$('meta[name=csrf-param]')[0],
107
+ csrf_token = $$('meta[name=csrf-token]')[0];
108
+
109
+ var form = new Element('form', { method: "POST", action: url, style: "display: none;" });
110
+ element.parentNode.insert(form);
111
+
112
+ if (method !== 'post') {
113
+ var field = new Element('input', { type: 'hidden', name: '_method', value: method });
114
+ form.insert(field);
115
+ }
116
+
117
+ if (csrf_param) {
118
+ var param = csrf_param.readAttribute('content'),
119
+ token = csrf_token.readAttribute('content'),
120
+ field = new Element('input', { type: 'hidden', name: param, value: token });
121
+ form.insert(field);
122
+ }
123
+
124
+ form.submit();
125
+ }
126
+
127
+
128
+ document.on("click", "*[data-confirm]", function(event, element) {
129
+ var message = element.readAttribute('data-confirm');
130
+ if (!confirm(message)) event.stop();
131
+ });
132
+
133
+ document.on("click", "a[data-remote]", function(event, element) {
134
+ if (event.stopped) return;
135
+ handleRemote(element);
136
+ event.stop();
137
+ });
138
+
139
+ document.on("click", "a[data-method]", function(event, element) {
140
+ if (event.stopped) return;
141
+ handleMethod(element);
142
+ event.stop();
143
+ });
144
+
145
+ document.on("submit", function(event) {
146
+ var element = event.findElement(),
147
+ message = element.readAttribute('data-confirm');
148
+ if (message && !confirm(message)) {
149
+ event.stop();
150
+ return false;
151
+ }
152
+
153
+ var inputs = element.select("input[type=submit][data-disable-with]");
154
+ inputs.each(function(input) {
155
+ input.disabled = true;
156
+ input.writeAttribute('data-original-value', input.value);
157
+ input.value = input.readAttribute('data-disable-with');
158
+ });
159
+
160
+ var element = event.findElement("form[data-remote]");
161
+ if (element) {
162
+ handleRemote(element);
163
+ event.stop();
164
+ }
165
+ });
166
+
167
+ document.on("ajax:after", "form", function(event, element) {
168
+ var inputs = element.select("input[type=submit][disabled=true][data-disable-with]");
169
+ inputs.each(function(input) {
170
+ input.value = input.readAttribute('data-original-value');
171
+ input.removeAttribute('data-original-value');
172
+ input.disabled = false;
173
+ });
174
+ });
175
+ })();
@@ -0,0 +1,5 @@
1
+ # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
2
+ #
3
+ # To ban all spiders from the entire site uncomment the next two lines:
4
+ # User-Agent: *
5
+ # Disallow: /
File without changes
@@ -0,0 +1,57 @@
1
+ body { background-color: #fff; color: #333; }
2
+
3
+ body, p, ol, ul, td {
4
+ font-family: verdana, arial, helvetica, sans-serif;
5
+ font-size: 13px;
6
+ line-height: 18px;
7
+ background-color: blue;
8
+ }
9
+
10
+ pre {
11
+ background-color: #eee;
12
+ padding: 10px;
13
+ font-size: 11px;
14
+ }
15
+
16
+ a { color: #000; }
17
+ a:visited { color: #666; }
18
+ a:hover { color: #fff; background-color:#000; }
19
+
20
+ div.field, div.actions {
21
+ margin-bottom: 10px;
22
+ }
23
+
24
+ #notice {
25
+ color: green;
26
+ }
27
+
28
+ .field_with_errors {
29
+ padding: 2px;
30
+ background-color: red;
31
+ display: table;
32
+ }
33
+
34
+ #error_explanation {
35
+ width: 450px;
36
+ border: 2px solid red;
37
+ padding: 7px;
38
+ padding-bottom: 0;
39
+ margin-bottom: 20px;
40
+ background-color: #f0f0f0;
41
+ }
42
+
43
+ #error_explanation h2 {
44
+ text-align: left;
45
+ font-weight: bold;
46
+ padding: 5px 5px 5px 15px;
47
+ font-size: 12px;
48
+ margin: -7px;
49
+ margin-bottom: 0px;
50
+ background-color: #c00;
51
+ color: #fff;
52
+ }
53
+
54
+ #error_explanation ul li {
55
+ font-size: 12px;
56
+ list-style: square;
57
+ }
@@ -0,0 +1,6 @@
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'
@@ -0,0 +1,11 @@
1
+ # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
2
+
3
+ # This model initially had no columns defined. If you add columns to the
4
+ # model remove the '{}' from the fixture names and add the columns immediately
5
+ # below each fixture, per the syntax in the comments below
6
+ #
7
+ one: {}
8
+ # column: value
9
+ #
10
+ two: {}
11
+ # column: value
@@ -0,0 +1,49 @@
1
+ require 'test_helper'
2
+
3
+ class ItemsControllerTest < ActionController::TestCase
4
+ setup do
5
+ @item = items(:one)
6
+ end
7
+
8
+ test "should get index" do
9
+ get :index
10
+ assert_response :success
11
+ assert_not_nil assigns(:items)
12
+ end
13
+
14
+ test "should get new" do
15
+ get :new
16
+ assert_response :success
17
+ end
18
+
19
+ test "should create item" do
20
+ assert_difference('Item.count') do
21
+ post :create, :item => @item.attributes
22
+ end
23
+
24
+ assert_redirected_to item_path(assigns(:item))
25
+ end
26
+
27
+ test "should show item" do
28
+ get :show, :id => @item.to_param
29
+ assert_response :success
30
+ end
31
+
32
+ test "should get edit" do
33
+ get :edit, :id => @item.to_param
34
+ assert_response :success
35
+ end
36
+
37
+ test "should update item" do
38
+ put :update, :id => @item.to_param, :item => @item.attributes
39
+ assert_redirected_to item_path(assigns(:item))
40
+ end
41
+
42
+ test "should destroy item" do
43
+ assert_difference('Item.count', -1) do
44
+ delete :destroy, :id => @item.to_param
45
+ end
46
+
47
+ assert_redirected_to items_path
48
+ end
49
+ end
@@ -0,0 +1,9 @@
1
+ require 'test_helper'
2
+ require 'rails/performance_test_help'
3
+
4
+ # Profiling results for each test method are written to tmp/performance.
5
+ class BrowsingTest < ActionDispatch::PerformanceTest
6
+ def test_homepage
7
+ get '/'
8
+ end
9
+ end
@@ -0,0 +1,13 @@
1
+ ENV["RAILS_ENV"] = "test"
2
+ require File.expand_path('../../config/environment', __FILE__)
3
+ require 'rails/test_help'
4
+
5
+ class ActiveSupport::TestCase
6
+ # Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
7
+ #
8
+ # Note: You'll currently still have to declare fixtures explicitly in integration tests
9
+ # -- they do not yet inherit this setting
10
+ fixtures :all
11
+
12
+ # Add more helper methods to be used by all tests here...
13
+ end
@@ -0,0 +1,4 @@
1
+ require 'test_helper'
2
+
3
+ class ItemsHelperTest < ActionView::TestCase
4
+ end
@@ -0,0 +1,8 @@
1
+ require 'test_helper'
2
+
3
+ class ItemTest < ActiveSupport::TestCase
4
+ # Replace this with your real tests.
5
+ test "the truth" do
6
+ assert true
7
+ end
8
+ end
File without changes
@@ -110,7 +110,7 @@ function Juggernaut(options) {
110
110
 
111
111
  var observeEvent = function(element, eventName, handler) {
112
112
  if (element.addEventListener) {
113
- element.addEventListener(eventName, handler)
113
+ element.addEventListener(eventName, handler, false)
114
114
  } else {
115
115
  element.attachEvent("on" + eventName, handler);
116
116
  }
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pushify
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
- - 1
8
+ - 2
9
9
  - 0
10
- version: 1.1.0
10
+ version: 1.2.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jason Tillery
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-20 00:00:00 -06:00
18
+ date: 2011-01-29 00:00:00 -06:00
19
19
  default_executable: pushify
20
20
  dependencies: []
21
21
 
@@ -25,16 +25,127 @@ executables:
25
25
  - pushify
26
26
  extensions: []
27
27
 
28
- extra_rdoc_files: []
29
-
28
+ extra_rdoc_files:
29
+ - LICENSE
30
+ - README.markdown
30
31
  files:
31
- - .specification
32
32
  - LICENSE
33
33
  - README.markdown
34
- - ROADMAP
35
34
  - Rakefile
36
35
  - VERSION
37
36
  - bin/pushify
37
+ - demos/rails2/README
38
+ - demos/rails2/Rakefile
39
+ - demos/rails2/app/controllers/application_controller.rb
40
+ - demos/rails2/app/controllers/test_controller.rb
41
+ - demos/rails2/app/helpers/application_helper.rb
42
+ - demos/rails2/app/views/test/index.html.erb
43
+ - demos/rails2/config/boot.rb
44
+ - demos/rails2/config/database.yml
45
+ - demos/rails2/config/environment.rb
46
+ - demos/rails2/config/environments/development.rb
47
+ - demos/rails2/config/environments/production.rb
48
+ - demos/rails2/config/environments/test.rb
49
+ - demos/rails2/config/initializers/backtrace_silencers.rb
50
+ - demos/rails2/config/initializers/inflections.rb
51
+ - demos/rails2/config/initializers/mime_types.rb
52
+ - demos/rails2/config/initializers/new_rails_defaults.rb
53
+ - demos/rails2/config/initializers/session_store.rb
54
+ - demos/rails2/config/locales/en.yml
55
+ - demos/rails2/config/routes.rb
56
+ - demos/rails2/db/development.sqlite3
57
+ - demos/rails2/db/seeds.rb
58
+ - demos/rails2/doc/README_FOR_APP
59
+ - demos/rails2/log/development.log
60
+ - demos/rails2/log/production.log
61
+ - demos/rails2/log/server.log
62
+ - demos/rails2/log/test.log
63
+ - demos/rails2/public/404.html
64
+ - demos/rails2/public/422.html
65
+ - demos/rails2/public/500.html
66
+ - demos/rails2/public/favicon.ico
67
+ - demos/rails2/public/images/push.jpg
68
+ - demos/rails2/public/images/rails.png
69
+ - demos/rails2/public/images/ruby.jpg
70
+ - demos/rails2/public/images/test.jpg
71
+ - demos/rails2/public/javascripts/application.js
72
+ - demos/rails2/public/javascripts/controls.js
73
+ - demos/rails2/public/javascripts/dragdrop.js
74
+ - demos/rails2/public/javascripts/effects.js
75
+ - demos/rails2/public/javascripts/prototype.js
76
+ - demos/rails2/public/javascripts/test.js
77
+ - demos/rails2/public/robots.txt
78
+ - demos/rails2/public/stylesheets/test.css
79
+ - demos/rails2/script/about
80
+ - demos/rails2/script/console
81
+ - demos/rails2/script/dbconsole
82
+ - demos/rails2/script/destroy
83
+ - demos/rails2/script/generate
84
+ - demos/rails2/script/performance/benchmarker
85
+ - demos/rails2/script/performance/profiler
86
+ - demos/rails2/script/plugin
87
+ - demos/rails2/script/runner
88
+ - demos/rails2/script/server
89
+ - demos/rails2/test/performance/browsing_test.rb
90
+ - demos/rails2/test/test_helper.rb
91
+ - demos/rails3/.gitignore
92
+ - demos/rails3/Gemfile
93
+ - demos/rails3/Gemfile.lock
94
+ - demos/rails3/README
95
+ - demos/rails3/Rakefile
96
+ - demos/rails3/app/controllers/application_controller.rb
97
+ - demos/rails3/app/controllers/items_controller.rb
98
+ - demos/rails3/app/helpers/application_helper.rb
99
+ - demos/rails3/app/helpers/items_helper.rb
100
+ - demos/rails3/app/models/item.rb
101
+ - demos/rails3/app/views/items/_form.html.erb
102
+ - demos/rails3/app/views/items/edit.html.erb
103
+ - demos/rails3/app/views/items/index.html.erb
104
+ - demos/rails3/app/views/items/new.html.erb
105
+ - demos/rails3/app/views/items/show.html.erb
106
+ - demos/rails3/app/views/layouts/application.html.erb
107
+ - demos/rails3/config.ru
108
+ - demos/rails3/config/application.rb
109
+ - demos/rails3/config/boot.rb
110
+ - demos/rails3/config/database.yml
111
+ - demos/rails3/config/environment.rb
112
+ - demos/rails3/config/environments/development.rb
113
+ - demos/rails3/config/environments/production.rb
114
+ - demos/rails3/config/environments/test.rb
115
+ - demos/rails3/config/initializers/backtrace_silencers.rb
116
+ - demos/rails3/config/initializers/inflections.rb
117
+ - demos/rails3/config/initializers/mime_types.rb
118
+ - demos/rails3/config/initializers/secret_token.rb
119
+ - demos/rails3/config/initializers/session_store.rb
120
+ - demos/rails3/config/locales/en.yml
121
+ - demos/rails3/config/routes.rb
122
+ - demos/rails3/db/migrate/20101024085925_create_items.rb
123
+ - demos/rails3/db/schema.rb
124
+ - demos/rails3/db/seeds.rb
125
+ - demos/rails3/doc/README_FOR_APP
126
+ - demos/rails3/lib/tasks/.gitkeep
127
+ - demos/rails3/public/404.html
128
+ - demos/rails3/public/422.html
129
+ - demos/rails3/public/500.html
130
+ - demos/rails3/public/favicon.ico
131
+ - demos/rails3/public/images/rails.png
132
+ - demos/rails3/public/javascripts/application.js
133
+ - demos/rails3/public/javascripts/controls.js
134
+ - demos/rails3/public/javascripts/dragdrop.js
135
+ - demos/rails3/public/javascripts/effects.js
136
+ - demos/rails3/public/javascripts/prototype.js
137
+ - demos/rails3/public/javascripts/rails.js
138
+ - demos/rails3/public/robots.txt
139
+ - demos/rails3/public/stylesheets/.gitkeep
140
+ - demos/rails3/public/stylesheets/scaffold.css
141
+ - demos/rails3/script/rails
142
+ - demos/rails3/test/fixtures/items.yml
143
+ - demos/rails3/test/functional/items_controller_test.rb
144
+ - demos/rails3/test/performance/browsing_test.rb
145
+ - demos/rails3/test/test_helper.rb
146
+ - demos/rails3/test/unit/helpers/items_helper_test.rb
147
+ - demos/rails3/test/unit/item_test.rb
148
+ - demos/rails3/vendor/plugins/.gitkeep
38
149
  - install/expressinstall.swf
39
150
  - install/json.js
40
151
  - install/juggernaut.js
@@ -50,9 +161,7 @@ files:
50
161
  - lib/pushify/rack.rb
51
162
  - lib/pushify/rails.rb
52
163
  - lib/pushify/server.rb
53
- - pkg/pushify-1.0.0.gem
54
164
  - pushify.gemspec
55
- - spec/css_push_spec.rb
56
165
  - spec/spec_helper.rb
57
166
  has_rdoc: true
58
167
  homepage: http://github.com/tilleryj/pushify
@@ -88,5 +197,5 @@ rubygems_version: 1.3.7
88
197
  signing_key:
89
198
  specification_version: 3
90
199
  summary: See updates you make to css, html, javascript, and images appear immediately in all of your browsers without having to refresh.
91
- test_files: []
92
-
200
+ test_files:
201
+ - spec/spec_helper.rb
data/.specification DELETED
@@ -1,92 +0,0 @@
1
- --- !ruby/object:Gem::Specification
2
- name: pushify
3
- version: !ruby/object:Gem::Version
4
- hash: 23
5
- prerelease: false
6
- segments:
7
- - 1
8
- - 0
9
- - 0
10
- version: 1.0.0
11
- platform: ruby
12
- authors:
13
- - Jason Tillery
14
- autorequire:
15
- bindir: bin
16
- cert_chain: []
17
-
18
- date: 2010-10-24 00:00:00 -05:00
19
- default_executable: pushify
20
- dependencies: []
21
-
22
- description:
23
- email: tilleryj@thinklinkr.com
24
- executables:
25
- - pushify
26
- extensions: []
27
-
28
- extra_rdoc_files: []
29
-
30
- files:
31
- - .specification
32
- - LICENSE
33
- - README.markdown
34
- - ROADMAP
35
- - Rakefile
36
- - VERSION
37
- - bin/pushify
38
- - install/expressinstall.swf
39
- - install/json.js
40
- - install/juggernaut.js
41
- - install/juggernaut.swf
42
- - install/juggernaut.yml
43
- - install/juggernaut_hosts.yml
44
- - install/pushify.js
45
- - install/swfobject.js
46
- - lib/pushify.rb
47
- - lib/pushify/helper.rb
48
- - lib/pushify/install.rb
49
- - lib/pushify/juggernaut.rb
50
- - lib/pushify/rack.rb
51
- - lib/pushify/rails.rb
52
- - lib/pushify/server.rb
53
- - pkg/pushify-1.0.0.gem
54
- - pushify.gemspec
55
- - spec/css_push_spec.rb
56
- - spec/spec_helper.rb
57
- has_rdoc: true
58
- homepage: http://github.com/tilleryj/pushify
59
- licenses: []
60
-
61
- post_install_message:
62
- rdoc_options:
63
- - --charset=UTF-8
64
- require_paths:
65
- - lib
66
- required_ruby_version: !ruby/object:Gem::Requirement
67
- none: false
68
- requirements:
69
- - - ">="
70
- - !ruby/object:Gem::Version
71
- hash: 3
72
- segments:
73
- - 0
74
- version: "0"
75
- required_rubygems_version: !ruby/object:Gem::Requirement
76
- none: false
77
- requirements:
78
- - - ">="
79
- - !ruby/object:Gem::Version
80
- hash: 3
81
- segments:
82
- - 0
83
- version: "0"
84
- requirements: []
85
-
86
- rubyforge_project:
87
- rubygems_version: 1.3.7
88
- signing_key:
89
- specification_version: 3
90
- summary: See updates you make to css, html, javascript, and images appear immediately in all of your browsers without having to refresh.
91
- test_files: []
92
-
data/ROADMAP DELETED
@@ -1,13 +0,0 @@
1
-
2
- Todo:
3
- - uninstall script
4
-
5
- Future:
6
-
7
- - Make it work in non-rails projects
8
-
9
- Completed at ORD Sessions (June 18, 2009)
10
- - add gem configuration to rails from setup script, pushify.rb
11
- - for production, recognize environments where css push is not installed & make pushify helper method an empty string
12
- - daemonize the csspush script, and have it start csspush and juggernaut
13
- - update the README to be more comprehensive and have decent formatting
Binary file
@@ -1,7 +0,0 @@
1
- require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
-
3
- describe "CssPush" do
4
- it "should do nothing" do
5
-
6
- end
7
- end