actionpack 3.2.3.rc2 → 3.2.3
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.
- data/CHANGELOG.md +2 -0
- data/lib/action_dispatch/testing/assertions/selector.rb +1 -0
- data/lib/action_pack/version.rb +1 -1
- metadata +12 -20
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
## Rails 3.2.3 (unreleased) ##
|
|
2
2
|
|
|
3
|
+
* Remove the leading \n added by textarea on assert_select. *Santiago Pastorino*
|
|
4
|
+
|
|
3
5
|
* Fix #5632, render :inline set the proper rendered format. *Santiago Pastorino*
|
|
4
6
|
|
|
5
7
|
* Fix textarea rendering when using plugins like HAML. Such plugins encode the first newline character in the content. This issue was introduced in https://github.com/rails/rails/pull/5191 *James Coleman*
|
|
@@ -269,6 +269,7 @@ module ActionDispatch
|
|
|
269
269
|
end
|
|
270
270
|
end
|
|
271
271
|
text.strip! unless NO_STRIP.include?(match.name)
|
|
272
|
+
text.sub!(/\A\n/, '') if match.name == "textarea"
|
|
272
273
|
unless match_with.is_a?(Regexp) ? (text =~ match_with) : (text == match_with.to_s)
|
|
273
274
|
content_mismatch ||= build_message(message, "<?> expected but was\n<?>.", match_with, text)
|
|
274
275
|
true
|
data/lib/action_pack/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: actionpack
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
5
|
-
prerelease:
|
|
4
|
+
hash: 9
|
|
5
|
+
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 3
|
|
8
8
|
- 2
|
|
9
9
|
- 3
|
|
10
|
-
|
|
11
|
-
- 2
|
|
12
|
-
version: 3.2.3.rc2
|
|
10
|
+
version: 3.2.3
|
|
13
11
|
platform: ruby
|
|
14
12
|
authors:
|
|
15
13
|
- David Heinemeier Hansson
|
|
@@ -17,7 +15,7 @@ autorequire:
|
|
|
17
15
|
bindir: bin
|
|
18
16
|
cert_chain: []
|
|
19
17
|
|
|
20
|
-
date: 2012-03-
|
|
18
|
+
date: 2012-03-30 00:00:00 -03:00
|
|
21
19
|
default_executable:
|
|
22
20
|
dependencies:
|
|
23
21
|
- !ruby/object:Gem::Dependency
|
|
@@ -26,14 +24,12 @@ dependencies:
|
|
|
26
24
|
requirements:
|
|
27
25
|
- - "="
|
|
28
26
|
- !ruby/object:Gem::Version
|
|
29
|
-
hash:
|
|
27
|
+
hash: 9
|
|
30
28
|
segments:
|
|
31
29
|
- 3
|
|
32
30
|
- 2
|
|
33
31
|
- 3
|
|
34
|
-
|
|
35
|
-
- 2
|
|
36
|
-
version: 3.2.3.rc2
|
|
32
|
+
version: 3.2.3
|
|
37
33
|
requirement: *id001
|
|
38
34
|
type: :runtime
|
|
39
35
|
name: activesupport
|
|
@@ -44,14 +40,12 @@ dependencies:
|
|
|
44
40
|
requirements:
|
|
45
41
|
- - "="
|
|
46
42
|
- !ruby/object:Gem::Version
|
|
47
|
-
hash:
|
|
43
|
+
hash: 9
|
|
48
44
|
segments:
|
|
49
45
|
- 3
|
|
50
46
|
- 2
|
|
51
47
|
- 3
|
|
52
|
-
|
|
53
|
-
- 2
|
|
54
|
-
version: 3.2.3.rc2
|
|
48
|
+
version: 3.2.3
|
|
55
49
|
requirement: *id002
|
|
56
50
|
type: :runtime
|
|
57
51
|
name: activemodel
|
|
@@ -406,14 +400,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
406
400
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
407
401
|
none: false
|
|
408
402
|
requirements:
|
|
409
|
-
- - "
|
|
403
|
+
- - ">="
|
|
410
404
|
- !ruby/object:Gem::Version
|
|
411
|
-
hash:
|
|
405
|
+
hash: 3
|
|
412
406
|
segments:
|
|
413
|
-
-
|
|
414
|
-
|
|
415
|
-
- 1
|
|
416
|
-
version: 1.3.1
|
|
407
|
+
- 0
|
|
408
|
+
version: "0"
|
|
417
409
|
requirements:
|
|
418
410
|
- none
|
|
419
411
|
rubyforge_project:
|