rectify 0.5.3 → 0.5.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c2bb5273fec36e8fcb95059c576c8739b203a7b0
4
- data.tar.gz: 30f1990ccfb972a0dc6f635c039d2517d22e00ee
3
+ metadata.gz: 498c07c4691e3991bc14760443152f01a768841c
4
+ data.tar.gz: 23cc732b6058b32a9f395b7fc4f9c9c7ea65f1dd
5
5
  SHA512:
6
- metadata.gz: 77f12965fca9b50e04f7ef748212e15bf9bb1d4b8a717c112273ea6b20246cb7a986fe2010777e9cd6f5ee04fe8f1b9d9a20c257566fadbbabf75d93534c6167
7
- data.tar.gz: 07b669e588dc729a0d9f3ad55751e5feba642c7e73c88a3806f66f982e3e36d0f5ec4347ea45912ad0ede1975c41c4fb93b42f767a448b7b91a214877c6537b5
6
+ metadata.gz: b4841dbbb4ca5e6e99ca901845bba5847735d567386fae734b0d52cbf41cc036a0002fcaa35e0145b907947a02781558ae5bc8f3249e215f5df78b1f6b8ebeef
7
+ data.tar.gz: dfdc764ce3e6d45a10735a9c838f73c36fd97249c1c4a27cf0cf83556714e17f623cd3fbcce9e2fea437720cc8e5f4ee967cd951e1da0e75f697b3de446518a6
@@ -7,6 +7,10 @@ module Rectify
7
7
  results = options.fetch(:results, [])
8
8
  allow(query_class).to receive(:new) { StubQuery.new(results) }
9
9
  end
10
+
11
+ def stub_form(attributes)
12
+ Rectify::StubForm.new(attributes)
13
+ end
10
14
  end
11
15
  end
12
16
  end
@@ -1,3 +1,3 @@
1
1
  module Rectify
2
- VERSION = "0.5.3"
2
+ VERSION = "0.5.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rectify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Pike
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-29 00:00:00.000000000 Z
11
+ date: 2016-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: virtus