ruby_fly 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/ruby_fly/commands/version.rb +24 -0
- data/lib/ruby_fly/commands.rb +1 -0
- data/lib/ruby_fly/version.rb +1 -1
- data/lib/ruby_fly.rb +4 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55f06ac3ecbfb72364c48953f73b46619d1937ee
|
4
|
+
data.tar.gz: e266ff7f151957e273f9b804cf88c30e459a1c46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e215a82abc9987016c0e1403f7777d85042b6a3795a13c0a422407b5a31e657d9b524d503acae16a36296bd10e37a6bf19aebf59b01918cbae2ab675d7523b6
|
7
|
+
data.tar.gz: 2082b22b3d3caf662ad2d80cfc579829ae4b40b7b96401935af03b96847554c2a9e308289241c44c7559291c9fd0db350d65802633b460cce7afa178ac7695ab
|
data/Gemfile.lock
CHANGED
@@ -0,0 +1,24 @@
|
|
1
|
+
require 'lino'
|
2
|
+
require_relative 'base'
|
3
|
+
|
4
|
+
module RubyFly
|
5
|
+
module Commands
|
6
|
+
class Version < Base
|
7
|
+
def stdout
|
8
|
+
@version_string
|
9
|
+
end
|
10
|
+
|
11
|
+
def do_before(opts)
|
12
|
+
@version_string = StringIO.new
|
13
|
+
end
|
14
|
+
|
15
|
+
def configure_command(builder, opts)
|
16
|
+
builder.with_flag('--version')
|
17
|
+
end
|
18
|
+
|
19
|
+
def do_after(opts)
|
20
|
+
@version_string.string.gsub(/\n/, '')
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
data/lib/ruby_fly/commands.rb
CHANGED
data/lib/ruby_fly/version.rb
CHANGED
data/lib/ruby_fly.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_fly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Toby Clemson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lino
|
@@ -105,6 +105,7 @@ files:
|
|
105
105
|
- lib/ruby_fly/commands/get_pipeline.rb
|
106
106
|
- lib/ruby_fly/commands/set_pipeline.rb
|
107
107
|
- lib/ruby_fly/commands/unpause_pipeline.rb
|
108
|
+
- lib/ruby_fly/commands/version.rb
|
108
109
|
- lib/ruby_fly/version.rb
|
109
110
|
- ruby_fly.gemspec
|
110
111
|
homepage: https://github.com/tobyclemson/ruby_fly
|