pencil_pusher 0.0.11 → 0.0.12

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1aa2194b74d175aa9ee6e66ba8e0e9f94476613f
4
- data.tar.gz: e24c422e7e2a77bc2bf1e04e3b026075219eb851
3
+ metadata.gz: c7f8b0c40a54a6f168b38266da8649e82c53eeac
4
+ data.tar.gz: 61f5e4c69503dec3517cc707d2c27c940edd969c
5
5
  SHA512:
6
- metadata.gz: f1131f0e50b7e85d77493753009740a1db096893eca4bafb4f043d5a0e37ce0909aacd91953b5fdcbac4a7ed5f40d138238e8253e679101614369bfe9382af21
7
- data.tar.gz: 1b507c060c0fb8358ff2bb5b2e27444552c34612cd5ceff6029f0d0fa5d31d07d53e2e12838a65fab12bf1ce6ceb87e5537de39a8726392939e7c037f760d5ab
6
+ metadata.gz: c080a7c901efa9a20a5d56f8371b07d4b3749de9ea313d035fa23a6d4beb735ec5e32b3dce267dcc17f658fffdcae93b048ea546c578692438314b779d0bc87f
7
+ data.tar.gz: 3aa64e91be5e53ecf5f9952fd9b4abebe84c7f8896e6b3dac06380d2184ec553ecc28c09cee965af62968e66cca7387931f00ea48672edbed33b21c770798a6b
@@ -27,8 +27,8 @@ module PencilPusher
27
27
  "expected #{actual} to not have int field #{field_name} but did"
28
28
  end
29
29
 
30
- alias failure_message failure_message_for_should
31
- alias failure_message_when_negated failure_message_for_should_not
30
+ alias failure_message failure_message_for_should
31
+ alias failure_message_when_negated failure_message_for_should_not
32
32
 
33
33
  def description
34
34
  "have int field #{field_name}"
@@ -32,8 +32,8 @@ module PencilPusher
32
32
  "expected #{actual} to not have required choice field #{field_name} but did"
33
33
  end
34
34
 
35
- alias failure_message failure_message_for_should
36
- alias failure_message_when_negated failure_message_for_should_not
35
+ alias failure_message failure_message_for_should
36
+ alias failure_message_when_negated failure_message_for_should_not
37
37
 
38
38
  def description
39
39
  "have required choice field #{field_name}"
@@ -26,8 +26,8 @@ module PencilPusher
26
26
  "expected #{actual} to not have required field #{field_name} but did"
27
27
  end
28
28
 
29
- alias failure_message failure_message_for_should
30
- alias failure_message_when_negated failure_message_for_should_not
29
+ alias failure_message failure_message_for_should
30
+ alias failure_message_when_negated failure_message_for_should_not
31
31
 
32
32
  def description
33
33
  "have required field #{field_name}"
@@ -29,8 +29,8 @@ module PencilPusher
29
29
  "expected #{actual} to not have required float field #{field_name} but did"
30
30
  end
31
31
 
32
- alias failure_message failure_message_for_should
33
- alias failure_message_when_negated failure_message_for_should_not
32
+ alias failure_message failure_message_for_should
33
+ alias failure_message_when_negated failure_message_for_should_not
34
34
 
35
35
  def description
36
36
  "have required float field #{field_name}"
@@ -28,8 +28,8 @@ module PencilPusher
28
28
  "expected #{actual} to not have required int field #{field_name} but did"
29
29
  end
30
30
 
31
- alias failure_message failure_message_for_should
32
- alias failure_message_when_negated failure_message_for_should_not
31
+ alias failure_message failure_message_for_should
32
+ alias failure_message_when_negated failure_message_for_should_not
33
33
 
34
34
  def description
35
35
  "have required int field #{field_name}"
@@ -27,6 +27,9 @@ module PencilPusher
27
27
  "expected #{actual} to not have required text field #{field_name} but did"
28
28
  end
29
29
 
30
+ alias failure_message failure_message_for_should
31
+ alias failure_message_when_negated failure_message_for_should_not
32
+
30
33
  def description
31
34
  "have required text field #{field_name}"
32
35
  end
@@ -25,8 +25,8 @@ module PencilPusher
25
25
  "expected #{actual} to not have text field #{field_name} but did"
26
26
  end
27
27
 
28
- alias failure_message failure_message_for_should
29
- alias failure_message_when_negated failure_message_for_should_not
28
+ alias failure_message failure_message_for_should
29
+ alias failure_message_when_negated failure_message_for_should_not
30
30
 
31
31
  def description
32
32
  "have text field #{field_name}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pencil_pusher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Myles Megyesi
@@ -9,76 +9,76 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-08-14 00:00:00.000000000 Z
12
+ date: 2014-12-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activemodel
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ">="
18
+ - - '>='
19
19
  - !ruby/object:Gem::Version
20
20
  version: 4.0.0
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ">="
25
+ - - '>='
26
26
  - !ruby/object:Gem::Version
27
27
  version: 4.0.0
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: virtus
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - "~>"
32
+ - - ~>
33
33
  - !ruby/object:Gem::Version
34
34
  version: 1.0.2
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - "~>"
39
+ - - ~>
40
40
  - !ruby/object:Gem::Version
41
41
  version: 1.0.2
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: pry
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - "~>"
46
+ - - ~>
47
47
  - !ruby/object:Gem::Version
48
48
  version: 0.10.0
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - "~>"
53
+ - - ~>
54
54
  - !ruby/object:Gem::Version
55
55
  version: 0.10.0
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: rake
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - "~>"
60
+ - - ~>
61
61
  - !ruby/object:Gem::Version
62
62
  version: 10.3.2
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - "~>"
67
+ - - ~>
68
68
  - !ruby/object:Gem::Version
69
69
  version: 10.3.2
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: rspec
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - "~>"
74
+ - - ~>
75
75
  - !ruby/object:Gem::Version
76
76
  version: 2.14.1
77
77
  type: :development
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - "~>"
81
+ - - ~>
82
82
  - !ruby/object:Gem::Version
83
83
  version: 2.14.1
84
84
  description: Form builder and validator
@@ -89,26 +89,26 @@ executables: []
89
89
  extensions: []
90
90
  extra_rdoc_files: []
91
91
  files:
92
- - lib/pencil_pusher/date_time_fields.rb
93
- - lib/pencil_pusher/form.rb
94
- - lib/pencil_pusher/form_builder.rb
95
- - lib/pencil_pusher/have_errors.rb
96
- - lib/pencil_pusher/have_int_field.rb
97
- - lib/pencil_pusher/have_required_choice_field.rb
98
92
  - lib/pencil_pusher/have_required_field.rb
99
- - lib/pencil_pusher/have_required_float_field.rb
100
- - lib/pencil_pusher/have_required_int_field.rb
101
- - lib/pencil_pusher/have_required_text_field.rb
102
- - lib/pencil_pusher/have_text_field.rb
103
- - lib/pencil_pusher/matchers.rb
104
93
  - lib/pencil_pusher/shared_fields.rb
94
+ - lib/pencil_pusher/date_time_fields.rb
105
95
  - lib/pencil_pusher/spec_helpers.rb
106
96
  - lib/pencil_pusher/validations/date_time_validator.rb
107
- - lib/pencil_pusher/validations/optional_date_time_validator.rb
108
- - lib/pencil_pusher/validations/optional_time_validator.rb
109
97
  - lib/pencil_pusher/validations/time_validator.rb
110
- - lib/pencil_pusher/virtus/coercer/date_time.rb
98
+ - lib/pencil_pusher/validations/optional_time_validator.rb
99
+ - lib/pencil_pusher/validations/optional_date_time_validator.rb
100
+ - lib/pencil_pusher/have_required_int_field.rb
101
+ - lib/pencil_pusher/have_text_field.rb
102
+ - lib/pencil_pusher/form_builder.rb
103
+ - lib/pencil_pusher/have_required_float_field.rb
104
+ - lib/pencil_pusher/form.rb
105
+ - lib/pencil_pusher/have_required_choice_field.rb
106
+ - lib/pencil_pusher/have_required_text_field.rb
107
+ - lib/pencil_pusher/matchers.rb
111
108
  - lib/pencil_pusher/virtus/coercer/time.rb
109
+ - lib/pencil_pusher/virtus/coercer/date_time.rb
110
+ - lib/pencil_pusher/have_errors.rb
111
+ - lib/pencil_pusher/have_int_field.rb
112
112
  homepage:
113
113
  licenses: []
114
114
  metadata: {}
@@ -118,17 +118,17 @@ require_paths:
118
118
  - lib
119
119
  required_ruby_version: !ruby/object:Gem::Requirement
120
120
  requirements:
121
- - - ">="
121
+ - - '>='
122
122
  - !ruby/object:Gem::Version
123
123
  version: '0'
124
124
  required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  requirements:
126
- - - ">="
126
+ - - '>='
127
127
  - !ruby/object:Gem::Version
128
128
  version: '0'
129
129
  requirements: []
130
130
  rubyforge_project:
131
- rubygems_version: 2.2.2
131
+ rubygems_version: 2.0.14
132
132
  signing_key:
133
133
  specification_version: 4
134
134
  summary: Form builder and validator