trailblazer-rails 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/CHANGES.md +7 -1
- data/Gemfile +4 -3
- data/lib/trailblazer/rails/railtie.rb +4 -2
- data/lib/trailblazer/rails/version.rb +1 -1
- data/trailblazer-rails.gemspec +1 -1
- metadata +4 -5
- data/lib/trailblazer/rails/application_controller.rb +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93855e0efc7d1d8d2454efdd46583c953f99beab
|
4
|
+
data.tar.gz: f964147eafc35f2e6d2ce659c46ae5af1defcfc7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7f65220a011dca733b6fedb823a4d02cbf8cad0d25fe22c45c57f080e1302c809bfac70b7281c58597651fe25d26a3b864e0e8b7c6ad52f88448c3ada406adb
|
7
|
+
data.tar.gz: 1e3bef536a79d3bebb4217a7e2513c4199d8da6613dd1b14a196d414dbfbc227155cc68a7b95c90997b56b932b27e75be132cb0ec7519252f4574d502604fb75
|
data/.travis.yml
CHANGED
data/CHANGES.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
# 0.2.4
|
2
|
+
|
3
|
+
* Require `trailblazer-loader-0.0.7`.
|
4
|
+
* Fix sorting, model files are now always required first.
|
5
|
+
* Manually include `Operation::Controller` in `ApplicationController` for every reload.
|
6
|
+
|
1
7
|
# 0.2.3
|
2
8
|
|
3
9
|
* Bump to `trailblazer-loader` 0.0.4.
|
@@ -38,4 +44,4 @@
|
|
38
44
|
|
39
45
|
# 0.1.2
|
40
46
|
|
41
|
-
* First version running with Trailblazer 1.0.0.
|
47
|
+
* First version running with Trailblazer 1.0.0.
|
data/Gemfile
CHANGED
@@ -3,6 +3,7 @@ source 'https://rubygems.org'
|
|
3
3
|
# Specify your gem's dependencies in trailblazer-rails.gemspec
|
4
4
|
gemspec
|
5
5
|
|
6
|
-
|
7
|
-
gem "trailblazer", github: "apotonick/trailblazer"
|
8
|
-
# gem "trailblazer-loader", github: "trailblazer/trailblazer-loader"
|
6
|
+
gem "trailblazer", path: "../trailblazer"
|
7
|
+
# gem "trailblazer", github: "apotonick/trailblazer"
|
8
|
+
# gem "trailblazer-loader", github: "trailblazer/trailblazer-loader"
|
9
|
+
# gem "trailblazer-loader", path: "../trailblazer-loader"
|
@@ -4,7 +4,7 @@ require "trailblazer/loader"
|
|
4
4
|
module Trailblazer
|
5
5
|
class Railtie < ::Rails::Railtie
|
6
6
|
def self.load_concepts(app)
|
7
|
-
Loader.new.(insert: [ModelFile, before: Loader::
|
7
|
+
Loader.new.(insert: [ModelFile, before: Loader::AddConceptFiles]) { |file| require_dependency("#{app.root}/#{file}") }
|
8
8
|
end
|
9
9
|
|
10
10
|
# This is to autoload Operation::Dispatch, etc. I'm simply assuming people find this helpful in Rails.
|
@@ -26,7 +26,9 @@ module Trailblazer
|
|
26
26
|
# end
|
27
27
|
|
28
28
|
initializer "trailblazer.application_controller" do
|
29
|
-
|
29
|
+
ActiveSupport.on_load(:action_controller) do
|
30
|
+
include Trailblazer::Operation::Controller
|
31
|
+
end
|
30
32
|
end
|
31
33
|
|
32
34
|
# Prepend model file, before the concept files like operation.rb get loaded.
|
data/trailblazer-rails.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.require_paths = ["lib"]
|
19
19
|
|
20
20
|
spec.add_dependency "trailblazer", ">= 1.0.4"
|
21
|
-
spec.add_dependency "trailblazer-loader", ">= 0.0.
|
21
|
+
spec.add_dependency "trailblazer-loader", ">= 0.0.7"
|
22
22
|
|
23
23
|
spec.add_development_dependency "bundler", "~> 1.10"
|
24
24
|
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.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Sutterer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: trailblazer
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.0.
|
33
|
+
version: 0.0.7
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.0.
|
40
|
+
version: 0.0.7
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -197,7 +197,6 @@ files:
|
|
197
197
|
- lib/trailblazer/operation/responder.rb
|
198
198
|
- lib/trailblazer/operation/worker.rb
|
199
199
|
- lib/trailblazer/rails.rb
|
200
|
-
- lib/trailblazer/rails/application_controller.rb
|
201
200
|
- lib/trailblazer/rails/autoloading.rb
|
202
201
|
- lib/trailblazer/rails/railtie.rb
|
203
202
|
- lib/trailblazer/rails/test/integration.rb
|