rumination 0.9.4 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/rake +17 -0
- data/lib/rumination/deploy/class_methods.rb +8 -4
- data/lib/rumination/tasks.rb +3 -0
- data/lib/rumination/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f050632b5883c2dae99cfddcef469efb1eac384
|
4
|
+
data.tar.gz: 8cdf5e7e4838804c5e4068426b03f3c71666fe5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
7
|
+
deploy_class.new(target).bootstrap
|
8
8
|
end
|
9
9
|
|
10
10
|
def app target:
|
11
|
-
|
11
|
+
deploy_class.new(target).call
|
12
12
|
end
|
13
13
|
|
14
14
|
def env target:
|
15
|
-
|
15
|
+
deploy_class.new(target).env
|
16
16
|
end
|
17
17
|
|
18
18
|
def write_env_file target:
|
19
|
-
|
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
|
data/lib/rumination/version.rb
CHANGED
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.
|
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-
|
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:
|