forms-spec 0.1.1 → 0.1.2
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/README.markdown +3 -3
- data/Rakefile +2 -2
- data/VERSION +1 -1
- data/forms-spec.gemspec +8 -8
- metadata +9 -9
data/README.markdown
CHANGED
@@ -26,7 +26,7 @@ Currently there is support for the following Rails form helper DSLs:
|
|
26
26
|
|
27
27
|
## Usage
|
28
28
|
|
29
|
-
Use the method
|
29
|
+
Use the method 'erb_code' to extract only the ERB code from a view.
|
30
30
|
You want to ignore all the static in the view!
|
31
31
|
|
32
32
|
<pre>
|
@@ -56,7 +56,7 @@ end
|
|
56
56
|
* Add support for HAML template language
|
57
57
|
* Create more comprehensive test suite
|
58
58
|
|
59
|
-
|
59
|
+
## Note on Patches/Pull Requests
|
60
60
|
|
61
61
|
* Fork the project.
|
62
62
|
* Make your feature addition or bug fix.
|
@@ -66,6 +66,6 @@ end
|
|
66
66
|
(if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
|
67
67
|
* Send me a pull request. Bonus points for topic branches.
|
68
68
|
|
69
|
-
|
69
|
+
## Copyright
|
70
70
|
|
71
71
|
Copyright (c) 2010 Kristian Mandrup. See LICENSE for details.
|
data/Rakefile
CHANGED
@@ -7,8 +7,8 @@ begin
|
|
7
7
|
gem.email = "kmandrup@gmail.com"
|
8
8
|
gem.homepage = "http://github.com/kristianmandrup/forms-spec"
|
9
9
|
gem.authors = ["Kristian Mandrup"]
|
10
|
-
gem.add_development_dependency "rspec", "
|
11
|
-
gem.add_dependency "require_all", "
|
10
|
+
gem.add_development_dependency "rspec", "~> 2.0.0.beta.22"
|
11
|
+
gem.add_dependency "require_all", "~> 1.2.0"
|
12
12
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
13
13
|
end
|
14
14
|
Jeweler::GemcutterTasks.new
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
data/forms-spec.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{forms-spec}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Kristian Mandrup"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-09-25}
|
13
13
|
s.description = %q{Adds RSpec 2 matchers to make expectations about your view code containing form logic}
|
14
14
|
s.email = %q{kmandrup@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -62,15 +62,15 @@ Gem::Specification.new do |s|
|
|
62
62
|
s.specification_version = 3
|
63
63
|
|
64
64
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
65
|
-
s.add_development_dependency(%q<rspec>, ["
|
66
|
-
s.add_runtime_dependency(%q<require_all>, ["
|
65
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])
|
66
|
+
s.add_runtime_dependency(%q<require_all>, ["~> 1.2.0"])
|
67
67
|
else
|
68
|
-
s.add_dependency(%q<rspec>, ["
|
69
|
-
s.add_dependency(%q<require_all>, ["
|
68
|
+
s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])
|
69
|
+
s.add_dependency(%q<require_all>, ["~> 1.2.0"])
|
70
70
|
end
|
71
71
|
else
|
72
|
-
s.add_dependency(%q<rspec>, ["
|
73
|
-
s.add_dependency(%q<require_all>, ["
|
72
|
+
s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])
|
73
|
+
s.add_dependency(%q<require_all>, ["~> 1.2.0"])
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 2
|
9
|
+
version: 0.1.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Kristian Mandrup
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-
|
17
|
+
date: 2010-09-25 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -23,15 +23,15 @@ dependencies:
|
|
23
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
24
24
|
none: false
|
25
25
|
requirements:
|
26
|
-
- -
|
26
|
+
- - ~>
|
27
27
|
- !ruby/object:Gem::Version
|
28
28
|
segments:
|
29
29
|
- 2
|
30
30
|
- 0
|
31
31
|
- 0
|
32
32
|
- beta
|
33
|
-
-
|
34
|
-
version: 2.0.0.beta.
|
33
|
+
- 22
|
34
|
+
version: 2.0.0.beta.22
|
35
35
|
type: :development
|
36
36
|
version_requirements: *id001
|
37
37
|
- !ruby/object:Gem::Dependency
|
@@ -40,13 +40,13 @@ dependencies:
|
|
40
40
|
requirement: &id002 !ruby/object:Gem::Requirement
|
41
41
|
none: false
|
42
42
|
requirements:
|
43
|
-
- -
|
43
|
+
- - ~>
|
44
44
|
- !ruby/object:Gem::Version
|
45
45
|
segments:
|
46
46
|
- 1
|
47
|
-
-
|
47
|
+
- 2
|
48
48
|
- 0
|
49
|
-
version: 1.
|
49
|
+
version: 1.2.0
|
50
50
|
type: :runtime
|
51
51
|
version_requirements: *id002
|
52
52
|
description: Adds RSpec 2 matchers to make expectations about your view code containing form logic
|