dev 2.0.84 → 2.0.85

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1a5fbada5525fc6b710e829601beff72e99f9b15
4
- data.tar.gz: 88dca7094baac4ef90f8be836fa7342c2c19c6f5
3
+ metadata.gz: 7a275d2ae49de618a65ba997a0c6ee90753aaf5e
4
+ data.tar.gz: 0818b01ca8174de54ed289f25e7c6fb6d978ea77
5
5
  SHA512:
6
- metadata.gz: ab8f26902bc9567ab9b3791d4d3e305f674b295c8a5f2033d397d840533fd2c394011bb919efd76201f1284fdc2509af9722b19ba23e1aaa30ca841b39501bed
7
- data.tar.gz: e7d6492f545d8791df34ad4b988ab7587e59c0a9f7deea380bf49631bd8c4398b149755da7ca99eb0a0f76b358254c0c7c17e41f9bb534556f0d062cbeeba423
6
+ metadata.gz: daa7d5163d79a99a5bbe65a085ac55056bf1276d2f00571e42bd5a5f9461da9e3acf8ee34253b08714580de453a4a409c8d6e551802f44f2a4a3554a06f507a4
7
+ data.tar.gz: 54084bbad52f5d0f62fccc11b2ccd52753d8bc7e4e083590a57edd79a3966d93d90147ba7078346c7683890f8468e80d8658217640b12ac89537fb8e216900fa
data/lib/dev_commands.rb CHANGED
@@ -821,6 +821,7 @@ end
821
821
  class Push < Array
822
822
  def update
823
823
  if(File.exists?('.git') && `git config --list`.include?('user.name='))
824
+ self << 'git push'
824
825
  self << 'git push --tags'# if Git.branch != 'develop' && Internet.available?
825
826
  end
826
827
  end
@@ -38,11 +38,7 @@ class Environment < Hash
38
38
  dir=home
39
39
  return dir
40
40
  end
41
-
42
-
43
41
  end
44
- require 'fileutils'
45
-
46
42
  class File
47
43
  def self.amalgamate filename,source
48
44
  File.open(filename,'w'){|file|
@@ -51,27 +47,4 @@ class File
51
47
  }
52
48
  }
53
49
  end
54
-
55
- def self.publish destination, source_dir, source_glob='**/*'
56
-
57
- output = "\n"
58
- # directory
59
- FileUtils.mkdir_p destination if !File.exists? destination
60
-
61
- files=nil
62
- Dir.chdir(source_dir) do
63
- files=FileList.new(source_glob).to_a
64
- end
65
- output = output + "\nfiles: #{files}.to_s"
66
-
67
- Dir.chdir(source_dir) do
68
- files.each{|f|
69
- file="#{destination}/#{f}"
70
- dirname=File.dirname(file)
71
- FileUtils.mkdir_p dirname if !File.exists? dirname
72
- FileUtils.cp(f,file) if !File.exists? file
73
- }
74
- end
75
- output
76
- end
77
50
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.84
4
+ version: 2.0.85
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-20 00:00:00.000000000 Z
11
+ date: 2015-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -59,7 +59,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
59
59
  version: '0'
60
60
  requirements: []
61
61
  rubyforge_project:
62
- rubygems_version: 2.2.3
62
+ rubygems_version: 2.4.5
63
63
  signing_key:
64
64
  specification_version: 4
65
65
  summary: dev