knapsack_pro 0.45.0 → 0.46.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +7 -3
- data/lib/knapsack_pro.rb +2 -0
- data/lib/knapsack_pro/railtie.rb +10 -0
- data/lib/knapsack_pro/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: faf69acd6fc43b314a341d426e48898c9939eee7
|
4
|
+
data.tar.gz: 92b80713554443d3a82c87f12c839ac874adc75e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8caf5c2763a65260bd56f345c263388da4b8f0ba6df6ee4654f2daf746ef581808bb7c209afa9c49b68671866e35eb743aec45cd12f9318f1b1adcd8ec7ce37c
|
7
|
+
data.tar.gz: f1e17e64c0141d7517e4fa13348b0aadeea4181b727f02a2cfa39c9b3e393bbf3ee9045ab05a4e38c2aff40f71fa91a16e6801fe45f1602b477866d6f15cb7e8
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,14 @@
|
|
2
2
|
|
3
3
|
* TODO
|
4
4
|
|
5
|
+
### 0.46.0
|
6
|
+
|
7
|
+
* Autoload knapsack_pro rake tasks with Rails Railties
|
8
|
+
|
9
|
+
https://github.com/KnapsackPro/knapsack_pro-ruby/pull/47
|
10
|
+
|
11
|
+
https://github.com/KnapsackPro/knapsack_pro-ruby/compare/v0.45.0...v0.46.0
|
12
|
+
|
5
13
|
### 0.45.0
|
6
14
|
|
7
15
|
* Add before and after queue hooks
|
data/README.md
CHANGED
@@ -159,12 +159,16 @@ end
|
|
159
159
|
|
160
160
|
And then execute:
|
161
161
|
|
162
|
-
|
163
|
-
|
162
|
+
```
|
163
|
+
$ bundle install
|
164
|
+
```
|
164
165
|
|
165
|
-
|
166
|
+
If you are not using Rails then add this line at the bottom of `Rakefile`:
|
166
167
|
|
167
168
|
```ruby
|
169
|
+
# Add this only if you are not using Rails.
|
170
|
+
# If you use Rails then knapsack_pro rake tasks are already loaded
|
171
|
+
# so there is no need to explicitly load them.
|
168
172
|
KnapsackPro.load_tasks if defined?(KnapsackPro)
|
169
173
|
```
|
170
174
|
|
data/lib/knapsack_pro.rb
CHANGED
@@ -61,6 +61,8 @@ require_relative 'knapsack_pro/crypto/branch_encryptor'
|
|
61
61
|
require_relative 'knapsack_pro/crypto/decryptor'
|
62
62
|
require_relative 'knapsack_pro/crypto/digestor'
|
63
63
|
|
64
|
+
require 'knapsack_pro/railtie' if defined?(Rails::Railtie)
|
65
|
+
|
64
66
|
module KnapsackPro
|
65
67
|
class << self
|
66
68
|
def root
|
data/lib/knapsack_pro/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knapsack_pro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.46.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ArturT
|
@@ -239,6 +239,7 @@ files:
|
|
239
239
|
- lib/knapsack_pro/presenter.rb
|
240
240
|
- lib/knapsack_pro/queue_allocator.rb
|
241
241
|
- lib/knapsack_pro/queue_allocator_builder.rb
|
242
|
+
- lib/knapsack_pro/railtie.rb
|
242
243
|
- lib/knapsack_pro/report.rb
|
243
244
|
- lib/knapsack_pro/repository_adapter_initiator.rb
|
244
245
|
- lib/knapsack_pro/repository_adapters/base_adapter.rb
|