trailblazer 1.0.2 → 1.0.3

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: 1c3291fbc4f467b44c4246b36472b29cc46b998b
4
- data.tar.gz: e6a7c046f95d199a88375748a18d2be9fd9b6612
3
+ metadata.gz: 8454dcf811b4b74b99a2413804772578ec4e2d72
4
+ data.tar.gz: d62c716532ac9c2ab09c21b4480a1300429e8fc1
5
5
  SHA512:
6
- metadata.gz: 35ce9c252a11a60218d947f67db6b7de446ad4f1866480b18348604eb03ef9b6014ebb6747573b843ce76f794bb6f2c641c5eab1e92d73efeada8edeb531b95f
7
- data.tar.gz: 7b94323221011e3f1233f44375420f39cc17a87401a410490aaca7aae0f4bbfd3fddce695e3edaac344b0f64919100a0649cc7c3e42229f9879fdb807f6a4b74
6
+ metadata.gz: dd1c1e75a64ebe515d5c1ccd1819eb1199e4ecc522673f23c43ec36450435f531e8891d240e8f193d8e482f25fee4e42138e77844d74dd1fb773f76c9faf2164
7
+ data.tar.gz: e69578a12d51a7e44800c7ec811a614a6432bbab438751dbcd57f7f6ba7cd4b347b54512e238c7ada0c8c1f606234d22668f34294d51a002eaec7f45d7cd8e4a
data/CHANGES.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 1.0.3
2
+
3
+ Remove unprofessional `puts`, @smathy.
4
+
1
5
  # 1.0.2
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.
@@ -24,12 +24,9 @@ module Trailblazer
24
24
  # e.g. `run Comment::Create` where the builder will instantiate Create::JSON which has Representer
25
25
  # included.
26
26
  def document_request_for?(options)
27
- puts "``#{options.inspect}"
28
27
  return options[:is_document] if options.has_key?(:is_document)
29
28
 
30
- result= operation_class < Operation::Representer # TODO: this doesn't work with polymorphic dispatch.
31
- puts "@@ss@@@ #{result.inspect}"
32
- result
29
+ operation_class < Operation::Representer # TODO: this doesn't work with polymorphic dispatch.
33
30
  end
34
31
 
35
32
  def document_body!
@@ -1,3 +1,3 @@
1
1
  module Trailblazer
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trailblazer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.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-10-03 00:00:00.000000000 Z
11
+ date: 2015-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: uber