prototype-rails 0.3.1 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -4
- data/lib/prototype-rails/selector_assertions.rb +1 -0
- data/test/render_other_test.rb +2 -1
- metadata +32 -35
data/Gemfile
CHANGED
@@ -1,7 +1,4 @@
|
|
1
1
|
source :rubygems
|
2
2
|
|
3
|
-
gem 'rails',
|
4
|
-
gem "rack", :git => "git://github.com/rack/rack.git"
|
5
|
-
gem "rack-test", :git => "git://github.com/brynary/rack-test.git"
|
3
|
+
gem 'rails', :git => 'git://github.com/rails/rails.git', :branch => '3-1-0'
|
6
4
|
gem 'mocha'
|
7
|
-
|
data/test/render_other_test.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'abstract_unit'
|
2
2
|
require 'pathname'
|
3
|
+
require 'securerandom'
|
3
4
|
|
4
5
|
ActionController.add_renderer :simon do |says, options|
|
5
6
|
self.content_type = Mime::TEXT
|
@@ -161,7 +162,7 @@ class RenderOtherTest < ActionController::TestCase
|
|
161
162
|
end
|
162
163
|
|
163
164
|
def test_enum_rjs_test
|
164
|
-
|
165
|
+
SecureRandom.stubs(:base64).returns("asdf")
|
165
166
|
get :enum_rjs_test
|
166
167
|
body = %{
|
167
168
|
$$(".product").each(function(value, index) {
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prototype-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 3
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
|
-
- 0
|
8
7
|
- 3
|
9
8
|
- 1
|
10
|
-
|
9
|
+
- 0
|
10
|
+
version: 3.1.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Xavier Noria
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-08-31 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -26,14 +26,11 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
29
|
+
hash: 5
|
30
30
|
segments:
|
31
31
|
- 3
|
32
32
|
- 1
|
33
|
-
|
34
|
-
- beta
|
35
|
-
- 1
|
36
|
-
version: 3.1.0.beta1
|
33
|
+
version: "3.1"
|
37
34
|
type: :runtime
|
38
35
|
version_requirements: *id001
|
39
36
|
description:
|
@@ -48,53 +45,53 @@ files:
|
|
48
45
|
- README
|
49
46
|
- Rakefile
|
50
47
|
- Gemfile
|
51
|
-
- lib/action_view/helpers/prototype_helper.rb
|
52
|
-
- lib/action_view/helpers/scriptaculous_helper.rb
|
53
48
|
- lib/action_view/template/handlers/rjs.rb
|
54
|
-
- lib/
|
49
|
+
- lib/action_view/helpers/scriptaculous_helper.rb
|
50
|
+
- lib/action_view/helpers/prototype_helper.rb
|
51
|
+
- lib/prototype-rails.rb
|
55
52
|
- lib/prototype-rails/on_load_action_controller.rb
|
56
|
-
- lib/prototype-rails/
|
53
|
+
- lib/prototype-rails/javascript_helper.rb
|
57
54
|
- lib/prototype-rails/renderers.rb
|
58
55
|
- lib/prototype-rails/rendering.rb
|
56
|
+
- lib/prototype-rails/on_load_action_view.rb
|
59
57
|
- lib/prototype-rails/selector_assertions.rb
|
60
|
-
- lib/prototype-rails.rb
|
61
|
-
- vendor/assets/javascripts/controls.js
|
62
58
|
- vendor/assets/javascripts/dragdrop.js
|
63
|
-
- vendor/assets/javascripts/effects.js
|
64
59
|
- vendor/assets/javascripts/prototype.js
|
65
60
|
- vendor/assets/javascripts/prototype_ujs.js
|
61
|
+
- vendor/assets/javascripts/controls.js
|
62
|
+
- vendor/assets/javascripts/effects.js
|
63
|
+
- test/render_other_test.rb
|
64
|
+
- test/lib/controller/fake_models.rb
|
66
65
|
- test/abstract_unit.rb
|
66
|
+
- test/template/scriptaculous_helper_test.rb
|
67
|
+
- test/template/prototype_helper_test.rb
|
68
|
+
- test/template/render_test.rb
|
67
69
|
- test/assert_select_test.rb
|
68
70
|
- test/controller/caching_test.rb
|
69
|
-
- test/controller/content_type_test.rb
|
70
|
-
- test/controller/mime_responds_test.rb
|
71
71
|
- test/controller/new_base/content_type_test.rb
|
72
72
|
- test/controller/new_base/render_rjs_test.rb
|
73
|
+
- test/controller/mime_responds_test.rb
|
74
|
+
- test/controller/content_type_test.rb
|
73
75
|
- test/controller/render_js_test.rb
|
74
|
-
- test/fixtures/functional_caching/_partial.erb
|
75
|
-
- test/fixtures/functional_caching/formatted_fragment_cached.js.rjs
|
76
76
|
- test/fixtures/functional_caching/js_fragment_cached_with_partial.js.rjs
|
77
|
+
- test/fixtures/functional_caching/formatted_fragment_cached.js.rjs
|
78
|
+
- test/fixtures/functional_caching/_partial.erb
|
77
79
|
- test/fixtures/old_content_type/render_default_for_rjs.rjs
|
78
|
-
- test/fixtures/respond_to/
|
80
|
+
- test/fixtures/respond_to/using_defaults_with_type_list.js.rjs
|
79
81
|
- test/fixtures/respond_to/layouts/standard.html.erb
|
82
|
+
- test/fixtures/respond_to/all_types_with_layout.js.rjs
|
80
83
|
- test/fixtures/respond_to/using_defaults.js.rjs
|
81
|
-
- test/fixtures/
|
82
|
-
- test/fixtures/respond_with/using_resource.js.rjs
|
83
|
-
- test/fixtures/test/_one.html.erb
|
84
|
-
- test/fixtures/test/_partial.html.erb
|
85
|
-
- test/fixtures/test/_partial.js.erb
|
86
|
-
- test/fixtures/test/_two.html.erb
|
84
|
+
- test/fixtures/test/render_implicit_html_template.js.rjs
|
87
85
|
- test/fixtures/test/delete_with_js.rjs
|
86
|
+
- test/fixtures/test/_partial.html.erb
|
88
87
|
- test/fixtures/test/enum_rjs_test.rjs
|
89
|
-
- test/fixtures/test/greeting.js.rjs
|
90
88
|
- test/fixtures/test/render_explicit_html_template.js.rjs
|
91
|
-
- test/fixtures/test/
|
89
|
+
- test/fixtures/test/_partial.js.erb
|
90
|
+
- test/fixtures/test/greeting.js.rjs
|
91
|
+
- test/fixtures/test/_one.html.erb
|
92
|
+
- test/fixtures/test/_two.html.erb
|
93
|
+
- test/fixtures/respond_with/using_resource.js.rjs
|
92
94
|
- test/javascript_helper_test.rb
|
93
|
-
- test/lib/controller/fake_models.rb
|
94
|
-
- test/render_other_test.rb
|
95
|
-
- test/template/prototype_helper_test.rb
|
96
|
-
- test/template/render_test.rb
|
97
|
-
- test/template/scriptaculous_helper_test.rb
|
98
95
|
has_rdoc: true
|
99
96
|
homepage: http://github.com/rails/prototype-rails
|
100
97
|
licenses: []
|
@@ -125,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
125
122
|
requirements: []
|
126
123
|
|
127
124
|
rubyforge_project:
|
128
|
-
rubygems_version: 1.
|
125
|
+
rubygems_version: 1.6.2
|
129
126
|
signing_key:
|
130
127
|
specification_version: 3
|
131
128
|
summary: Prototype, Scriptaculous, and RJS for Ruby on Rails
|