trailblazer-rails 0.1.2 → 0.1.3

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: aac136aa3a451f9bb921b30839339a4025ad1190
4
- data.tar.gz: 0fc514ed8bd3d5db1348ffd1204cdffe6f069e62
3
+ metadata.gz: 1c8fa72ed550b8b263bbea4114bb62749aba2284
4
+ data.tar.gz: 0d372da94d66d7474e1f99ab5111c4f6aa2ea7d0
5
5
  SHA512:
6
- metadata.gz: 3e67247d81be9ab89701789a2329862bf1ad99c538045c7125b4d9dd6efd74ce7e442c64cef5c0fc48955891ce40372542d79801bf12dee80d132c18f92d54b3
7
- data.tar.gz: a75536b6d32c0665115653417abad1ac3dc1683431396958fdcd288cf0e5ed1fd333e0f52c6a860607a2e0d1fa820ca9977768692df9990b9611d0f549c5679a
6
+ metadata.gz: b2e5a680a1962a296d8963cc20993ab6b80a30edb7d17135e1f2230ec68927628d2fdc72f6038317827f953bbb1dedf8a4d67a7572e0ccefbec7be14764b4944
7
+ data.tar.gz: 74d4bdbd8cacb021148267e776602aaafbccc9c7c7c2faad35a6e81509611ebf06afa66b7cf0eed55a05dd8bcb94e590c8ca03df8fc73e0cbaaf053ac17b306b
data/.gitignore CHANGED
@@ -7,3 +7,4 @@
7
7
  /pkg/
8
8
  /spec/reports/
9
9
  /tmp/
10
+ test/fake_app/log/*.log
data/CHANGES.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.1.3
2
+
3
+ * `Operation::contract` works properly with `Operation::ActiveModel` mixed in.
4
+
1
5
  # 0.1.2
2
6
 
3
7
  * First version running with Trailblazer 1.0.0.
@@ -2,7 +2,7 @@ module Trailblazer
2
2
  module Operation::Model
3
3
  # Automatically set model_name on operation's contract.
4
4
  module ActiveModel
5
- def contract(&block)
5
+ def contract(*, &block)
6
6
  super
7
7
  contract_class.model(model_class) # this assumes that Form::ActiveModel is mixed in.
8
8
  end
@@ -1,5 +1,5 @@
1
1
  module Trailblazer
2
2
  module Rails
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trailblazer-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Sutterer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-25 00:00:00.000000000 Z
11
+ date: 2015-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: trailblazer