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 +4 -4
- data/CHANGES.md +4 -0
- data/lib/trailblazer/operation/controller/active_record.rb +5 -0
- data/lib/trailblazer/rails/version.rb +1 -1
- data/trailblazer-rails.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7750991cea8018446d6e02d6da91b188b688891
|
4
|
+
data.tar.gz: cda8142b5ac93130d865f1a8f211ea10a9e33e51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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)
|
data/trailblazer-rails.gemspec
CHANGED
@@ -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.
|
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.
|
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-
|
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.
|
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.
|
26
|
+
version: 1.0.4
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|