trailblazer-rails 0.1.5 → 0.1.6

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: ae842488424fb6cf251198c06ffd238c9559f37e
4
- data.tar.gz: bd239dab5145adcd5b094e6e5db2c30d299f0e07
3
+ metadata.gz: d7750991cea8018446d6e02d6da91b188b688891
4
+ data.tar.gz: cda8142b5ac93130d865f1a8f211ea10a9e33e51
5
5
  SHA512:
6
- metadata.gz: 647e006990fbf79aba450964397108c0fc98bcb1832647b9a99c82e77ab468052ca2f79f03b9c3ce6e55e002ba21da92d7b502973bb5e484c34cc60fc1592c41
7
- data.tar.gz: 86abf9e55f82ae7b33476ba1521e0e6dccd3fd61ae40be9e047d4b49b70331c69685c813fbcec656cc224d151023f05626cc989392785c7e8e70e365faaa9b33
6
+ metadata.gz: 1c914bfd24e691f30bca649a25158d242962490d743a252db9f022396ee42c0ae14f3010dbc71e73b5b985a65fae7d33bc98271d0684ab637be39f5b78bce740
7
+ data.tar.gz: 9061812ca549b7d67e268a0a01e2deee7fee09e2d8243d485ca593916870ea95076729905858f84fac5fba8fef86a9ce24ecc2be6d30c4a37b48fc3423dde50a
data/CHANGES.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.1.6
2
+
3
+ * Fix `Controller#run`, which now returns the operation instance instead of the `Else` object.
4
+
1
5
  # 0.1.5
2
6
 
3
7
  * Treat all requests as `params` requests unless the operation has a representer mixed in. If you don't want that, you can override using `is_document: false`. This appears to be the smoothest solution for all. Thanks to @Scharrels for discussion.
@@ -1,4 +1,9 @@
1
1
  # Assigns an additional instance variable for +@model+ named after the model's table name (e.g. @comment).
2
+ #
3
+ # THIS MODULE IS DEPRECATED!
4
+ #
5
+ # Please don't use this module. Instead, use @model in your controller or pass the
6
+ # operation instance to a cell to present it.
2
7
  module Trailblazer::Operation::Controller::ActiveRecord
3
8
  private
4
9
  def setup_operation_instance_variables!(operation, options)
@@ -1,5 +1,5 @@
1
1
  module Trailblazer
2
2
  module Rails
3
- VERSION = "0.1.5"
3
+ VERSION = "0.1.6"
4
4
  end
5
5
  end
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
17
17
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
18
18
  spec.require_paths = ["lib"]
19
19
 
20
- spec.add_dependency "trailblazer", ">= 1.0.2"
20
+ spec.add_dependency "trailblazer", ">= 1.0.4"
21
21
 
22
22
  spec.add_development_dependency "bundler", "~> 1.10"
23
23
  spec.add_development_dependency "rake", "~> 10.0"
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.5
4
+ version: 0.1.6
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-10-03 00:00:00.000000000 Z
11
+ date: 2015-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: trailblazer
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.2
19
+ version: 1.0.4
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 1.0.2
26
+ version: 1.0.4
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement