redtape 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,7 +19,7 @@ module Redtape
19
19
 
20
20
  def initialize(attrs = {})
21
21
  attrs.each do |k, v|
22
- send("@#{k}=", v)
22
+ send("#{k}=", v)
23
23
  end
24
24
  end
25
25
 
@@ -1,3 +1,3 @@
1
1
  module Redtape
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -46,10 +46,10 @@ describe Redtape::Form do
46
46
  context "given a Form accepting a first and last name that creates a User" do
47
47
  context "with valid data" do
48
48
  subject {
49
- TestRegistrationForm.new.tap do |f|
50
- f.first_name = "Evan"
51
- f.last_name = "Light"
52
- end
49
+ TestRegistrationForm.new(
50
+ :first_name => "Evan",
51
+ :last_name => "Light"
52
+ )
53
53
  }
54
54
 
55
55
  context "after saving the form" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redtape
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -115,7 +115,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
115
115
  version: '0'
116
116
  segments:
117
117
  - 0
118
- hash: -898225106165636262
118
+ hash: 4258368386119019148
119
119
  required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  none: false
121
121
  requirements:
@@ -124,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
124
124
  version: '0'
125
125
  segments:
126
126
  - 0
127
- hash: -898225106165636262
127
+ hash: 4258368386119019148
128
128
  requirements: []
129
129
  rubyforge_project:
130
130
  rubygems_version: 1.8.24