trailblazer-rails 0.1.4 → 0.1.5

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: 4a476a74e0bcfa656b515aa23c542adab465ccb5
4
- data.tar.gz: d724e1a8bc7a4a60f31af2ac8c09b48ffd43782a
3
+ metadata.gz: ae842488424fb6cf251198c06ffd238c9559f37e
4
+ data.tar.gz: bd239dab5145adcd5b094e6e5db2c30d299f0e07
5
5
  SHA512:
6
- metadata.gz: 482bb71bd1ebea2c2fc3323d0978304a182fea9c4e8208a218306c3ad061d35dc0182384c73dd8fcfab386003bac4dc2bbbff09c086b8b24a83bb10464e0a492
7
- data.tar.gz: e86c53fb0bf0025a098437d084ec9c7d21e99a607441d2baa7e2e8d007e8da1102b1026d123075c403f8fbfd236bf5b1cef805439609d7bf398e6e6bc9db9762
6
+ metadata.gz: 647e006990fbf79aba450964397108c0fc98bcb1832647b9a99c82e77ab468052ca2f79f03b9c3ce6e55e002ba21da92d7b502973bb5e484c34cc60fc1592c41
7
+ data.tar.gz: 86abf9e55f82ae7b33476ba1521e0e6dccd3fd61ae40be9e047d4b49b70331c69685c813fbcec656cc224d151023f05626cc989392785c7e8e70e365faaa9b33
data/CHANGES.md CHANGED
@@ -1,3 +1,8 @@
1
+ # 0.1.5
2
+
3
+ * 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.
4
+ * In `Controller#form`, the options argument is now passed into `form.prepopulate!(options)`. This allows to use arbitrary options and the `options[:params]` for prepopulation. Thanks @sauy7 for discussion.
5
+
1
6
  # 0.1.4
2
7
 
3
8
  * Treat `:js` requests as non-document, too.
data/Gemfile CHANGED
@@ -3,5 +3,5 @@ source 'https://rubygems.org'
3
3
  # Specify your gem's dependencies in trailblazer-rails.gemspec
4
4
  gemspec
5
5
 
6
- # gem "trailblazer", path: "../trailblazer"
6
+ gem "trailblazer", path: "../trailblazer"
7
7
  # gem "trailblazer", github: "apotonick/trailblazer"
@@ -1,5 +1,5 @@
1
1
  module Trailblazer
2
2
  module Rails
3
- VERSION = "0.1.4"
3
+ VERSION = "0.1.5"
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.1"
20
+ spec.add_dependency "trailblazer", ">= 1.0.2"
21
21
 
22
22
  spec.add_development_dependency "bundler", "~> 1.10"
23
23
  spec.add_development_dependency "rake", "~> 10.0"
@@ -30,6 +30,4 @@ Gem::Specification.new do |spec|
30
30
  spec.add_development_dependency "sidekiq", ">= 3.1.0"
31
31
 
32
32
  spec.add_development_dependency "multi_json"
33
-
34
-
35
33
  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.4
4
+ version: 0.1.5
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-02 00:00:00.000000000 Z
11
+ date: 2015-10-03 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.1
19
+ version: 1.0.2
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.1
26
+ version: 1.0.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement