rumination 0.9.4 → 0.10.0

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: a7fe65dc17f427e58222aa22acab479acc484f77
4
- data.tar.gz: c31e8e21cd5696bc693aae195640bdff1b1f2d2d
3
+ metadata.gz: 3f050632b5883c2dae99cfddcef469efb1eac384
4
+ data.tar.gz: 8cdf5e7e4838804c5e4068426b03f3c71666fe5b
5
5
  SHA512:
6
- metadata.gz: 0218f79a4de151177e3d49dadd4c2976fcfe8a8da3276a8a523cedf69f30287d6627563d5111d44fa5cffec0e81ff6c93cd9f9d42f119e5ab4aa13b7f0378063
7
- data.tar.gz: 89188a1f2fcd232b8265097ed82482a755b91747690102fb8741aff2db48f30284d8f289284d0c0836c98d72e78f89e26a4089eefbd516ae35d18a10e41f6142
6
+ metadata.gz: ae333da11ea3d67de9e159e4ae3b6b0b7095b256d9e68321005e2a92337cf9fd5638e9560bd8922033b2c19505757d13c2dd872b344511fec041f3eb197f6385
7
+ data.tar.gz: 44525bde2a303fde5bc6d69a4479a9d8aea20bea33a8ab79636dc3cfd603c9eaa251f0ccd35d65768e5db213122dd33da29df823657092ee49d23e9610501a2f
data/bin/rake ADDED
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+ #
4
+ # This file was generated by Bundler.
5
+ #
6
+ # The application 'rake' is installed as part of a gem, and
7
+ # this file is here to facilitate running it.
8
+ #
9
+
10
+ require "pathname"
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
+ Pathname.new(__FILE__).realpath)
13
+
14
+ require "rubygems"
15
+ require "bundler/setup"
16
+
17
+ load Gem.bin_path("rake", "rake")
@@ -4,19 +4,23 @@ module Rumination
4
4
  module Deploy
5
5
  module ClassMethods
6
6
  def bootstrap target:
7
- Base.new(target).bootstrap
7
+ deploy_class.new(target).bootstrap
8
8
  end
9
9
 
10
10
  def app target:
11
- Base.new(target).call
11
+ deploy_class.new(target).call
12
12
  end
13
13
 
14
14
  def env target:
15
- Base.new(target).env
15
+ deploy_class.new(target).env
16
16
  end
17
17
 
18
18
  def write_env_file target:
19
- Base.new(target).write_env_file
19
+ deploy_class.new(target).write_env_file
20
+ end
21
+
22
+ def deploy_class
23
+ config.deploy_class || Base
20
24
  end
21
25
  end
22
26
  end
@@ -0,0 +1,3 @@
1
+ Dir[File.expand_path("../tasks/**.rake", __FILE__)].each do |task_file|
2
+ load task_file
3
+ end
@@ -1,3 +1,3 @@
1
1
  module Rumination
2
- VERSION = "0.9.4"
2
+ VERSION = "0.10.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rumination
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.4
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artem Baguinski
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-31 00:00:00.000000000 Z
11
+ date: 2017-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -123,6 +123,7 @@ files:
123
123
  - README.md
124
124
  - Rakefile
125
125
  - bin/console
126
+ - bin/rake
126
127
  - bin/rspec
127
128
  - bin/setup
128
129
  - lib/rumination.rb
@@ -138,6 +139,7 @@ files:
138
139
  - lib/rumination/pg/commands.rb
139
140
  - lib/rumination/pg/restore.rb
140
141
  - lib/rumination/railtie.rb
142
+ - lib/rumination/tasks.rb
141
143
  - lib/rumination/tasks/db/dump.rake
142
144
  - lib/rumination/tasks/db/setup.rake
143
145
  - lib/rumination/tasks/deploy.rake
@@ -171,4 +173,3 @@ signing_key:
171
173
  specification_version: 4
172
174
  summary: development utilities
173
175
  test_files: []
174
- has_rdoc: