ding 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/lib/ding.rb +1 -1
- data/lib/ding/cli.rb +5 -0
- data/lib/ding/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67c131dd7ecf5ea1ae8f11ba249c8afaefe9b6ea
|
4
|
+
data.tar.gz: 114641130b3e0884be32b77761b4dcc2b33ba819
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8bc25ddd29d9aa29359b77ee23eed0db53d6434e01382453f3d2cf52fc7254dfa8fd8dceba3ede5aa1df9a42f036896e17e12a8457523c4b1e9b4519a6a8687f
|
7
|
+
data.tar.gz: dc21d6d66a0bc047c2b71b5039e779b73ba2ec3d5a51bd6a607739467661ac52644fd6029aafa0e365f71088978d1930ef9efd26a8a7619fe85e1c4a11844a02
|
data/README.md
CHANGED
@@ -36,6 +36,7 @@ There are several commands available with global options for verbosity and forci
|
|
36
36
|
ding key-gen # Create a new private/public key pair and associated ssh config
|
37
37
|
ding key-show # Copy a public ssh key signature to the system clipboard (use -v to also display the signature)
|
38
38
|
ding push # Push a feature branch to the testing branch (this is the default action)
|
39
|
+
ding version # Display current gem version
|
39
40
|
|
40
41
|
Options:
|
41
42
|
-f, [--force], [--no-force] # use the force on commands that allow it e.g. git push
|
data/lib/ding.rb
CHANGED
@@ -5,7 +5,7 @@ require 'ding/models/git'
|
|
5
5
|
require 'ding/models/ssh'
|
6
6
|
|
7
7
|
module Ding
|
8
|
-
MASTER_BRANCH = ENV['DING_MASTER_BRANCH']
|
8
|
+
MASTER_BRANCH = ENV['DING_MASTER_BRANCH'] || 'master'
|
9
9
|
DEVELOP_BRANCH = ENV['DING_DEVELOP_BRANCH'] || 'develop'
|
10
10
|
TESTING_BRANCH = ENV['DING_TESTING_BRANCH'] || 'testing'
|
11
11
|
SACROSANCT_BRANCHES = (ENV['DING_SACROSANCT_BRANCHES'] || "#{MASTER_BRANCH} #{DEVELOP_BRANCH}").split
|
data/lib/ding/cli.rb
CHANGED
@@ -8,6 +8,11 @@ module Ding
|
|
8
8
|
|
9
9
|
default_task :push
|
10
10
|
|
11
|
+
desc "version", "Display current version"
|
12
|
+
def version
|
13
|
+
say "\nMy ding a ling is version: #{Ding::VERSION}", :blue
|
14
|
+
end
|
15
|
+
|
11
16
|
desc "push", "Push feature branch(es) to the testing branch (this is the default action)"
|
12
17
|
option :branch, type: 'string', aliases: '-b', default: nil, desc: 'specify an over-ride destination branch'
|
13
18
|
option :local, type: 'boolean', aliases: '-l', default: false, desc: 'operate on local branches (merged from remote)'
|
data/lib/ding/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ding
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Warren Bain
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
123
123
|
version: '0'
|
124
124
|
requirements: []
|
125
125
|
rubyforge_project:
|
126
|
-
rubygems_version: 2.
|
126
|
+
rubygems_version: 2.5.1
|
127
127
|
signing_key:
|
128
128
|
specification_version: 4
|
129
129
|
summary: Push specific feature branch code to a testing branch
|