pushapp 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pushapp/cli.rb +0 -8
- data/lib/pushapp/commands.rb +2 -6
- data/lib/pushapp/remote.rb +0 -6
- data/lib/pushapp/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57b81e15c1e8db1708508cf2e85af90e4f503d35
|
4
|
+
data.tar.gz: 8d994d3c9a03aaaee0759c2e29b84629730906a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e56acd9b75caa5da3704cd9f71994347e24e509c2aea765a59535638ff69168ea707141204be5a32f9b4f1bc43a3f8daec3b35ece2c814b542f42aab526afdea
|
7
|
+
data.tar.gz: 3c12ee0f5b3133a09fde7c76b4938086a323f78530fadad3685cbb8d520ed95afb1e9b916517661824ac66af1c9648b1009ff033cec104efd774e826bffccebf
|
data/lib/pushapp/cli.rb
CHANGED
@@ -29,14 +29,6 @@ module Pushapp
|
|
29
29
|
Pushapp::Commands.run(:update_refs, options: options)
|
30
30
|
end
|
31
31
|
|
32
|
-
desc 'update REMOTES', 'Re-Generate and upload hook based on current configuration'
|
33
|
-
|
34
|
-
method_option :file, type: :string, aliases: '-f', banner: 'Specify a configuration file'
|
35
|
-
|
36
|
-
def update(*remotes)
|
37
|
-
Pushapp::Commands.run(:update, remotes: remotes, options: options)
|
38
|
-
end
|
39
|
-
|
40
32
|
desc 'remotes', 'List all known remotes'
|
41
33
|
|
42
34
|
method_option :file, type: :string, aliases: '-f', banner: 'Specify a configuration file'
|
data/lib/pushapp/commands.rb
CHANGED
@@ -5,6 +5,7 @@ module Pushapp
|
|
5
5
|
attr_reader :logger
|
6
6
|
|
7
7
|
def self.run(command, options = {})
|
8
|
+
$stdout.sync = true
|
8
9
|
self.new(options.merge({ command: command })).send(command)
|
9
10
|
end
|
10
11
|
|
@@ -35,12 +36,7 @@ module Pushapp
|
|
35
36
|
def setup
|
36
37
|
logger.info 'Setting up remotes'
|
37
38
|
remotes.each { |r| r.setup! }
|
38
|
-
|
39
|
-
end
|
40
|
-
|
41
|
-
def update
|
42
|
-
logger.info 'Updating remotes'
|
43
|
-
remotes.each { |r| r.update! }
|
39
|
+
update_refs
|
44
40
|
end
|
45
41
|
|
46
42
|
def tasks
|
data/lib/pushapp/remote.rb
CHANGED
data/lib/pushapp/version.rb
CHANGED