ding 1.2.2 → 1.2.3

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: b6894adf146cfef036be30a3509a7f799be6d206
4
- data.tar.gz: 3c7ddb4379dd7df1f909079c7b758daf648ce705
3
+ metadata.gz: 67c131dd7ecf5ea1ae8f11ba249c8afaefe9b6ea
4
+ data.tar.gz: 114641130b3e0884be32b77761b4dcc2b33ba819
5
5
  SHA512:
6
- metadata.gz: a7ffdd1ac10d674e21e7cfcd38c9f3bbbb92fa855054e76fc8912f4e69283244500c5ced02432fa143f58738d324a26023122389a7c1dbb7e3bfb527a300cb84
7
- data.tar.gz: 08cdc83e6e375be3de31be1f5658315f529bf6de3c15ec2708792024eddf5360c368ef0570bf6608eccf1ee6f5f229357e084be825f8e0322ebc65e2fcd46239
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
@@ -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'] || 'master'
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
@@ -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)'
@@ -1,3 +1,3 @@
1
1
  module Ding
2
- VERSION = "1.2.2"
2
+ VERSION = "1.2.3"
3
3
  end
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.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: 2015-12-15 00:00:00.000000000 Z
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.4.5
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