pencil_pusher 0.0.10 → 0.0.11

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: 1170aa5c409739d57c8602666eaceaf607e92f0d
4
- data.tar.gz: c23c1d241b4debfbc1ee6972286969415e9c7857
3
+ metadata.gz: 1aa2194b74d175aa9ee6e66ba8e0e9f94476613f
4
+ data.tar.gz: e24c422e7e2a77bc2bf1e04e3b026075219eb851
5
5
  SHA512:
6
- metadata.gz: 09cd33cfe465e5eb5937f943a88286bdb2c5faa963701edaf88c29013eeab9f7e7b43b36e09138f7882965995624206676198801cb71d6df0868345f80e3e901
7
- data.tar.gz: f9e374990db0487ebf63175adf108b4000ac0776eb97cdb24c60d30afa3c808b75ac884332f33481c111e1f273a491cba35de60c395d622039b585ec41e27354
6
+ metadata.gz: f1131f0e50b7e85d77493753009740a1db096893eca4bafb4f043d5a0e37ce0909aacd91953b5fdcbac4a7ed5f40d138238e8253e679101614369bfe9382af21
7
+ data.tar.gz: 1b507c060c0fb8358ff2bb5b2e27444552c34612cd5ceff6029f0d0fa5d31d07d53e2e12838a65fab12bf1ce6ceb87e5537de39a8726392939e7c037f760d5ab
@@ -27,6 +27,9 @@ module PencilPusher
27
27
  "expected no errors for field #{field_name} but found #{actual.error_messages[field_name]}"
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 errors for #{field_name}"
32
35
  end
@@ -27,6 +27,9 @@ 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
32
+
30
33
  def description
31
34
  "have int field #{field_name}"
32
35
  end
@@ -32,6 +32,9 @@ 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
37
+
35
38
  def description
36
39
  "have required choice field #{field_name}"
37
40
  end
@@ -26,6 +26,9 @@ 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
31
+
29
32
  def description
30
33
  "have required field #{field_name}"
31
34
  end
@@ -29,6 +29,9 @@ 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
34
+
32
35
  def description
33
36
  "have required float field #{field_name}"
34
37
  end
@@ -28,6 +28,9 @@ 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
33
+
31
34
  def description
32
35
  "have required int field #{field_name}"
33
36
  end
@@ -25,6 +25,9 @@ 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
30
+
28
31
  def description
29
32
  "have text field #{field_name}"
30
33
  end
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.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Myles Megyesi
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-08-07 00:00:00.000000000 Z
12
+ date: 2014-08-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activemodel