dev_commands 0.0.56 → 0.0.57

Sign up to get free protection for your applications and to get access to all the features.
data/lib/add.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  class Add < Array
2
2
  def update
3
- if(File.exists?('.gitignore'))
3
+ if(File.exists?('.git') && File.exists?('.gitignore'))
4
4
  add 'git add --all'
5
5
  else
6
6
  if(defined?(SOURCE))
data/lib/analyze.rb CHANGED
@@ -1,8 +1,8 @@
1
- class Analyze < Array
2
- def update
3
- if(`gem list countloc`.include?('countloc ('))
4
- FileUtils.mkdir('doc') if(!File.exists?('doc'))
5
- add 'countloc -r * --html doc/countloc.html'
6
- end
7
- end
1
+ class Analyze < Array
2
+ def update
3
+ if(`gem list countloc`.include?('countloc ('))
4
+ FileUtils.mkdir('doc') if(!File.exists?('doc'))
5
+ add 'countloc -r * --html doc/countloc.html'
6
+ end
7
+ end
8
8
  end
data/lib/array.rb CHANGED
@@ -1,30 +1,30 @@
1
- class Array
2
- def execute value=nil
3
- i=0
4
- while i < self.length
5
- self[i]=Command.new(self[i]) if(self[i].is_a?(String))
6
- self[i]=Command.new(self[i]) if(self[i].is_a?(Hash) && !self[i].is_a?(Command))
7
-
8
- if(!value.nil? && value.is_a?(Hash))
9
- value.each{|k,v|self[i][k]=v}
10
- end
11
-
12
- self[i].execute if(self[i].is_a?(Command))
13
- i=i+1
14
- end
15
- end
16
-
17
- def add command
18
- self << command if(!include?(command))
19
- end
20
-
21
- def to_html
22
- html=Array.new
23
- html << '<div>'
24
- self.each{|e|
25
- html << e.to_html if e.respond_to?(:to_html)
26
- }
27
- html << '</div>'
28
- html.join
29
- end
1
+ class Array
2
+ def execute value=nil
3
+ i=0
4
+ while i < self.length
5
+ self[i]=Command.new(self[i]) if(self[i].is_a?(String))
6
+ self[i]=Command.new(self[i]) if(self[i].is_a?(Hash) && !self[i].is_a?(Command))
7
+
8
+ if(!value.nil? && value.is_a?(Hash))
9
+ value.each{|k,v|self[i][k]=v}
10
+ end
11
+
12
+ self[i].execute if(self[i].is_a?(Command))
13
+ i=i+1
14
+ end
15
+ end
16
+
17
+ def add command
18
+ self << command if(!include?(command))
19
+ end
20
+
21
+ def to_html
22
+ html=Array.new
23
+ html << '<div>'
24
+ self.each{|e|
25
+ html << e.to_html if e.respond_to?(:to_html)
26
+ }
27
+ html << '</div>'
28
+ html.join
29
+ end
30
30
  end
data/lib/doc.rb CHANGED
@@ -1,9 +1,9 @@
1
- class Doc < Array
2
- def update
3
- #cmd=Command.new ({ :input => 'yard --version', :ignore_failure => true})
4
- #cmd.execute
5
- if(Command.exit_code('yard --version'))
6
- add 'yard doc - LICENSE' if File.exists?('README.md') && File.exists?('LICENSE')
7
- end
8
- end
1
+ class Doc < Array
2
+ def update
3
+ #cmd=Command.new ({ :input => 'yard --version', :ignore_failure => true})
4
+ #cmd.execute
5
+ if(Command.exit_code('yard --version'))
6
+ add 'yard doc - LICENSE' if File.exists?('README.md') && File.exists?('LICENSE')
7
+ end
8
+ end
9
9
  end
data/lib/gemspec.rb CHANGED
@@ -1,40 +1,40 @@
1
- class Gemspec
2
- def self.update gemspec_file
3
- Text.replace_in_file gemspec_file,
4
- /('\d{4}-\d{2}-\d{2}')/,
5
- "'#{Time.now.strftime('%Y-%m-%d')}'"
6
- end
7
-
8
- def self.gemfile gemspec_file
9
- spec=Gem::Specification.load(gemspec_file)
10
- return "#{spec.name}-#{spec.version}.gem" if !spec.nil?
11
- return ""
12
- end
13
-
14
- def self.version gemspec_file
15
- spec=Gem::Specification.load(gemspec_file)
16
- return spec.version.to_s
17
- end
18
-
19
- def self.published_version gemspec_file
20
- published_version=''
21
- spec=Gem::Specification.load(gemspec_file)
22
- begin
23
- published_version = `gem list -r #{spec.name}`.scan(/\((\d+.\d+.\d+)\)/)[0][0]
24
- rescue
25
- published_version=''
26
- end
27
- published_version
28
- end
29
- def self.published? gemspec_file
30
- published_version(gemspec_file)==version(gemspec_file) ? true : false
31
- end
32
-
33
- def self.normalize gemspec_file
34
- spec=Gem::Specification.load(gemspec_file)
35
- File.open(gemspec_file,'w'){|f|f.write(spec.to_ruby)}
36
- end
37
-
38
- def self.upgrade gemspec_file
39
- end
1
+ class Gemspec
2
+ def self.update gemspec_file
3
+ Text.replace_in_file gemspec_file,
4
+ /('\d{4}-\d{2}-\d{2}')/,
5
+ "'#{Time.now.strftime('%Y-%m-%d')}'"
6
+ end
7
+
8
+ def self.gemfile gemspec_file
9
+ spec=Gem::Specification.load(gemspec_file)
10
+ return "#{spec.name}-#{spec.version}.gem" if !spec.nil?
11
+ return ""
12
+ end
13
+
14
+ def self.version gemspec_file
15
+ spec=Gem::Specification.load(gemspec_file)
16
+ return spec.version.to_s
17
+ end
18
+
19
+ def self.published_version gemspec_file
20
+ published_version=''
21
+ spec=Gem::Specification.load(gemspec_file)
22
+ begin
23
+ published_version = `gem list -r #{spec.name}`.scan(/\((\d+.\d+.\d+)\)/)[0][0]
24
+ rescue
25
+ published_version=''
26
+ end
27
+ published_version
28
+ end
29
+ def self.published? gemspec_file
30
+ published_version(gemspec_file)==version(gemspec_file) ? true : false
31
+ end
32
+
33
+ def self.normalize gemspec_file
34
+ spec=Gem::Specification.load(gemspec_file)
35
+ File.open(gemspec_file,'w'){|f|f.write(spec.to_ruby)}
36
+ end
37
+
38
+ def self.upgrade gemspec_file
39
+ end
40
40
  end
data/lib/git.rb CHANGED
@@ -1,22 +1,22 @@
1
- class Git
2
- def self.branch
3
- begin
4
- `git branch`.scan(/\* ([.\w-]+)/)[0][0]
5
- rescue
6
- ''
7
- end
8
- end
9
-
10
- def self.remote_origin directory=''
11
- url=''
12
- directory=Dir.pwd if directory.length == 0
13
- Dir.chdir(directory) do
14
- begin
15
- url=`git remote show origin`.scan(/Fetch URL: ([\.\-:\/\w\d]+)/)[0]
16
- rescue
17
- url=''
18
- end
19
- end
20
- url
21
- end
1
+ class Git
2
+ def self.branch
3
+ begin
4
+ `git branch`.scan(/\* ([.\w-]+)/)[0][0]
5
+ rescue
6
+ ''
7
+ end
8
+ end
9
+
10
+ def self.remote_origin directory=''
11
+ url=''
12
+ directory=Dir.pwd if directory.length == 0
13
+ Dir.chdir(directory) do
14
+ begin
15
+ url=`git remote show origin`.scan(/Fetch URL: ([\.\-:\/\w\d]+)/)[0]
16
+ rescue
17
+ url=''
18
+ end
19
+ end
20
+ url
21
+ end
22
22
  end
data/lib/hash.rb CHANGED
@@ -1,21 +1,21 @@
1
- class Hash
2
- def execute value=nil
3
- self.each{|k,v|
4
- v.update if v.respond_to?(:update)
5
- if(v.is_a?(Array) && v.length==0)
6
- self.delete k
7
- else
8
- #puts "executing #{k}"
9
-
10
- v.execute(value) if v.respond_to?(:execute)
11
- end
12
- }
13
- end
14
- def to_html
15
- [
16
- '<div>',
17
- map { |k, v| ["<br/><div><strong>#{k}</strong>", v.respond_to?(:to_html) ? v.to_html : "<span>#{v}</span></div><br/>"] },
18
- '</div>'
19
- ].join
20
- end
1
+ class Hash
2
+ def execute value=nil
3
+ self.each{|k,v|
4
+ v.update if v.respond_to?(:update)
5
+ if(v.is_a?(Array) && v.length==0)
6
+ self.delete k
7
+ else
8
+ #puts "executing #{k}"
9
+
10
+ v.execute(value) if v.respond_to?(:execute)
11
+ end
12
+ }
13
+ end
14
+ def to_html
15
+ [
16
+ '<div>',
17
+ map { |k, v| ["<br/><div><strong>#{k}</strong>", v.respond_to?(:to_html) ? v.to_html : "<span>#{v}</span></div><br/>"] },
18
+ '</div>'
19
+ ].join
20
+ end
21
21
  end
data/lib/publish.rb CHANGED
@@ -1,21 +1,21 @@
1
- require_relative('internet.rb')
2
- class Publish < Array
3
- def update
4
- if(Internet.available?)
5
- if(File.exists?('.git'))
6
- if(`git branch`.include?('* master'))
7
- Dir.glob('*.gemspec').each{|gemspec_file|
8
- add "gem push #{Gemspec.gemfile(gemspec_file)}" if !Gemspec.published? gemspec_file
9
- }
10
- end
11
- end
12
- if(File.exists?('.svn'))
13
- if(`svn info`.include?('/trunk'))
14
- Dir.glob('*.gemspec').each{|gemspec_file|
15
- add "gem push #{Gemspec.gemfile(gemspec_file)}" if !Gemspec.published? gemspec_file
16
- }
17
- end
18
- end
19
- end
20
- end
21
- end
1
+ require_relative('internet.rb')
2
+ class Publish < Array
3
+ def update
4
+ if(Internet.available?)
5
+ if(File.exists?('.git'))
6
+ if(`git branch`.include?('* master'))
7
+ Dir.glob('*.gemspec').each{|gemspec_file|
8
+ add "gem push #{Gemspec.gemfile(gemspec_file)}" if !Gemspec.published? gemspec_file
9
+ }
10
+ end
11
+ end
12
+ if(File.exists?('.svn'))
13
+ if(`svn info`.include?('/trunk'))
14
+ Dir.glob('*.gemspec').each{|gemspec_file|
15
+ add "gem push #{Gemspec.gemfile(gemspec_file)}" if !Gemspec.published? gemspec_file
16
+ }
17
+ end
18
+ end
19
+ end
20
+ end
21
+ end
data/lib/push.rb CHANGED
@@ -1,9 +1,9 @@
1
- require_relative('internet.rb')
2
- class Push < Array
3
- def update
4
- if(File.exists?('.git') && `git config --list`.include?('user.name='))
5
- add 'git config --global push.default simple'
6
- self << 'git push' if Git.branch != 'develop' && Internet.available?
7
- end
8
- end
1
+ require_relative('internet.rb')
2
+ class Push < Array
3
+ def update
4
+ if(File.exists?('.git') && `git config --list`.include?('user.name='))
5
+ add 'git config --global push.default simple'
6
+ self << 'git push' if Git.branch != 'develop' && Internet.available?
7
+ end
8
+ end
9
9
  end
data/lib/setup.rb CHANGED
@@ -1,25 +1,25 @@
1
- #
2
- # use the SVN_EXPORTS hash to define svn exports destined for DEV_ROOT/dep
3
- #
4
- # SVN_EXPORT={ 'System.Data.SQLite/1.0.93.0' => 'https://third-party.googlecode.com/svn/trunk/System.Data.SQLite/1.0.93.0' }
5
- #
6
- class Setup < Array
7
- def update
8
- add 'bundle install' if(File.exists?('Gemfile'))
9
-
10
- Dir.glob('*.gemspec').each{|gemspec_file|
11
- add "<%Gemspec.update('#{gemspec_file}')%>"
12
- }
13
-
14
- if(defined?(SVN_EXPORTS))
15
- SVN_EXPORTS.each{|k,v|
16
- if(!File.exists?("#{Command.dev_root}/dep/#{k}"))
17
- FileUtils.mkdir_p(File.dirname("#{Command.dev_root}/dep/#{k}")) if !File.exists?("#{Command.dev_root}/dep/#{k}")
18
- dest="#{Command.dev_root}/dep/#{k}"
19
- add "svn export #{v} #{Command.dev_root}/dep/#{k}" if !dest.include?("@")
20
- add "svn export #{v} #{Command.dev_root}/dep/#{k}@" if dest.include?("@")
21
- end
22
- }
23
- end
24
- end
1
+ #
2
+ # use the SVN_EXPORTS hash to define svn exports destined for DEV_ROOT/dep
3
+ #
4
+ # SVN_EXPORT={ 'System.Data.SQLite/1.0.93.0' => 'https://third-party.googlecode.com/svn/trunk/System.Data.SQLite/1.0.93.0' }
5
+ #
6
+ class Setup < Array
7
+ def update
8
+ add 'bundle install' if(File.exists?('Gemfile'))
9
+
10
+ Dir.glob('*.gemspec').each{|gemspec_file|
11
+ add "<%Gemspec.update('#{gemspec_file}')%>"
12
+ }
13
+
14
+ if(defined?(SVN_EXPORTS))
15
+ SVN_EXPORTS.each{|k,v|
16
+ if(!File.exists?("#{Command.dev_root}/dep/#{k}"))
17
+ FileUtils.mkdir_p(File.dirname("#{Command.dev_root}/dep/#{k}")) if !File.exists?("#{Command.dev_root}/dep/#{k}")
18
+ dest="#{Command.dev_root}/dep/#{k}"
19
+ add "svn export #{v} #{Command.dev_root}/dep/#{k}" if !dest.include?("@")
20
+ add "svn export #{v} #{Command.dev_root}/dep/#{k}@" if dest.include?("@")
21
+ end
22
+ }
23
+ end
24
+ end
25
25
  end
data/lib/text.rb CHANGED
@@ -1,16 +1,16 @@
1
- class Text
2
- def self.replace_in_glob(glob,search,replace)
3
- Dir.glob(glob).each{ |f| replace_in_file(f,search,replace) }
4
- end
5
-
6
- def self.replace_in_file(filename,search,replace)
7
- #text1 = IO.read(filename).force_encoding("ISO-8859-1").encode("utf-8", replace: nil)
8
- text1 = IO.read(filename)#.encode("utf-8", replace: nil)
9
- #File.read(f,:encoding=>'UTF-8')
10
- text2 = text1.gsub(search) { |str| str=replace }
11
- unless text1==text2
12
- File.open(filename,"w") { |f| f.puts text2 }
13
- end
14
- end
15
-
1
+ class Text
2
+ def self.replace_in_glob(glob,search,replace)
3
+ Dir.glob(glob).each{ |f| replace_in_file(f,search,replace) }
4
+ end
5
+
6
+ def self.replace_in_file(filename,search,replace)
7
+ #text1 = IO.read(filename).force_encoding("ISO-8859-1").encode("utf-8", replace: nil)
8
+ text1 = IO.read(filename)#.encode("utf-8", replace: nil)
9
+ #File.read(f,:encoding=>'UTF-8')
10
+ text2 = text1.gsub(search) { |str| str=replace }
11
+ unless text1==text2
12
+ File.open(filename,"w") { |f| f.puts text2 }
13
+ end
14
+ end
15
+
16
16
  end
data/lib/timer.rb CHANGED
@@ -1,41 +1,41 @@
1
- class Timer
2
- attr_accessor :start_time
3
-
4
- def initialize
5
- @start_time=Time.now
6
- end
7
-
8
- def elapsed # in seconds
9
- return Time.now-@start_time
10
- end
11
-
12
- def elapsed_str
13
- elapsed_str="[" + "%.0f" %(elapsed) + "s]"
14
- end
15
-
16
- def self.elapsed_exceeds?(name,duration_seconds)
17
- if(Timer.get_elapsed(name).nil? || Timer.get_elapsed(name) > duration_seconds)
18
- return true
19
- end
20
- return false
21
- end
22
-
23
- def self.get_elapsed(name)
24
- timestamp=get_timestamp(name)
25
- return Time.now-timestamp if(!timestamp.nil?)
26
- nil
27
- end
28
-
29
- def self.get_timestamp(name)
30
- dir=Rake.application.original_dir
31
- if(File.exists?("#{DEV[:dev_root]}/log/#{name}.timestamp"))
32
- return Time.parse(File.read("#{DEV[:dev_root]}/log/#{name}.timestamp").strip)
33
- end
34
- nil
35
- end
36
-
37
- def self.set_timestamp(name)
38
- Dir.mkdir("#{DEV_TASKS[:dev_root]}/log") if(!Dir.exists?("#{DEV_TASKS[:dev_root]}/log"))
39
- File.open("#{DEV_TASKS[:dev_root]}/log/#{name}.timestamp",'w'){|f|f.puts(Time.now.to_s)}
40
- end
1
+ class Timer
2
+ attr_accessor :start_time
3
+
4
+ def initialize
5
+ @start_time=Time.now
6
+ end
7
+
8
+ def elapsed # in seconds
9
+ return Time.now-@start_time
10
+ end
11
+
12
+ def elapsed_str
13
+ elapsed_str="[" + "%.0f" %(elapsed) + "s]"
14
+ end
15
+
16
+ def self.elapsed_exceeds?(name,duration_seconds)
17
+ if(Timer.get_elapsed(name).nil? || Timer.get_elapsed(name) > duration_seconds)
18
+ return true
19
+ end
20
+ return false
21
+ end
22
+
23
+ def self.get_elapsed(name)
24
+ timestamp=get_timestamp(name)
25
+ return Time.now-timestamp if(!timestamp.nil?)
26
+ nil
27
+ end
28
+
29
+ def self.get_timestamp(name)
30
+ dir=Rake.application.original_dir
31
+ if(File.exists?("#{DEV[:dev_root]}/log/#{name}.timestamp"))
32
+ return Time.parse(File.read("#{DEV[:dev_root]}/log/#{name}.timestamp").strip)
33
+ end
34
+ nil
35
+ end
36
+
37
+ def self.set_timestamp(name)
38
+ Dir.mkdir("#{DEV_TASKS[:dev_root]}/log") if(!Dir.exists?("#{DEV_TASKS[:dev_root]}/log"))
39
+ File.open("#{DEV_TASKS[:dev_root]}/log/#{name}.timestamp",'w'){|f|f.puts(Time.now.to_s)}
40
+ end
41
41
  end
data/spec/publish_spec.rb CHANGED
@@ -1,28 +1,28 @@
1
- require_relative '../lib/publish.rb'
2
- require 'rake'
3
- describe Publish do
4
- it "should be able to publish file to subversion" do
5
- #FileUtils.rm_r('tmp') if(File.exists?('tmp'))
6
- #FileUtils.mkdir('tmp') if(!File.exists?('tmp'))
7
- #svn_repo="file:///#{Rake.application.original_dir}/tmp/svn_test_repo"
8
- #Dir.chdir('tmp') do
9
- #FileUtils.rm_r('tmp/svn_test_repo') if File.exists?('tmp/svn_test_repo')
10
- #puts `svnadmin create svn_test_repo`
11
- #expect(File.exists?('svn_test_repo')).to eq(true)
12
-
13
- #FileUtils.mkdir('publish') if(!File.exists?('publish'))
14
- #File.open('publish/file1.txt','w'){|f|f.write('abc')}
15
- #File.open('publish/file2.txt','w'){|f|f.write('def')}
16
-
17
-
18
- #expect(Command.exit_code('svn info #{svn_repo}/publish_test')).not_to eq(0)
19
- #Publish.to_subversion(FileList.new('publish/*.txt'),"#{svn_repo}/publish_test")
20
- #expect(Command.exit_code('svn info #{svn_repo}/publish_test')).to eq(0)
21
-
22
- #{}`svn checkout #{svn_repo} svn_test`
23
- #expect(File.exists?('svn_test'))
24
- #end
25
-
26
-
27
- end
1
+ require_relative '../lib/publish.rb'
2
+ require 'rake'
3
+ describe Publish do
4
+ it "should be able to publish file to subversion" do
5
+ #FileUtils.rm_r('tmp') if(File.exists?('tmp'))
6
+ #FileUtils.mkdir('tmp') if(!File.exists?('tmp'))
7
+ #svn_repo="file:///#{Rake.application.original_dir}/tmp/svn_test_repo"
8
+ #Dir.chdir('tmp') do
9
+ #FileUtils.rm_r('tmp/svn_test_repo') if File.exists?('tmp/svn_test_repo')
10
+ #puts `svnadmin create svn_test_repo`
11
+ #expect(File.exists?('svn_test_repo')).to eq(true)
12
+
13
+ #FileUtils.mkdir('publish') if(!File.exists?('publish'))
14
+ #File.open('publish/file1.txt','w'){|f|f.write('abc')}
15
+ #File.open('publish/file2.txt','w'){|f|f.write('def')}
16
+
17
+
18
+ #expect(Command.exit_code('svn info #{svn_repo}/publish_test')).not_to eq(0)
19
+ #Publish.to_subversion(FileList.new('publish/*.txt'),"#{svn_repo}/publish_test")
20
+ #expect(Command.exit_code('svn info #{svn_repo}/publish_test')).to eq(0)
21
+
22
+ #{}`svn checkout #{svn_repo} svn_test`
23
+ #expect(File.exists?('svn_test'))
24
+ #end
25
+
26
+
27
+ end
28
28
  end
@@ -1,12 +1,12 @@
1
- require_relative('../../lib/dev_commands.rb')
2
-
3
- CLOBBER.include('csharp-library/bin','csharp-library/obj','cpp-library/bin','cpp-library/obj')
4
- desc 'build'
5
- task :build do
6
- COMMANDS[:build].update
7
- COMMANDS[:build].execute
8
- end
9
-
10
- task :default do
11
- COMMANDS.execute
1
+ require_relative('../../lib/dev_commands.rb')
2
+
3
+ CLOBBER.include('csharp-library/bin','csharp-library/obj','cpp-library/bin','cpp-library/obj')
4
+ desc 'build'
5
+ task :build do
6
+ COMMANDS[:build].update
7
+ COMMANDS[:build].execute
8
+ end
9
+
10
+ task :default do
11
+ COMMANDS.execute
12
12
  end
@@ -1,12 +1,12 @@
1
- require_relative('../../lib/dev_commands.rb')
2
-
3
- CLOBBER.include('csharp-library/bin','csharp-library/obj','cpp-library/bin','cpp-library/obj')
4
- desc 'build'
5
- task :build do
6
- COMMANDS[:build].update
7
- COMMANDS[:build].execute
8
- end
9
-
10
- task :default do
11
- COMMANDS.execute
1
+ require_relative('../../lib/dev_commands.rb')
2
+
3
+ CLOBBER.include('csharp-library/bin','csharp-library/obj','cpp-library/bin','cpp-library/obj')
4
+ desc 'build'
5
+ task :build do
6
+ COMMANDS[:build].update
7
+ COMMANDS[:build].execute
8
+ end
9
+
10
+ task :default do
11
+ COMMANDS.execute
12
12
  end
data/spec/text_spec.rb CHANGED
@@ -1,15 +1,15 @@
1
- require_relative '../lib/text.rb'
2
-
3
- describe Text do
4
- it "should be able to replace text in file" do
5
- FileUtils.mkdir('tmp') if(!File.exists?('tmp'))
6
- File.open('tmp/test.txt','w'){|f|
7
- f.write("test thing")
8
- }
9
- Text.replace_in_file('tmp/test.txt','thing','string')
10
- expect(IO.read('tmp/test.txt').include?('test string')).to eq(true)
11
-
12
- FileUtils.cp('spec/sln-vs12-example/csharp-library/csharp-library.cs','tmp/csharp-library.cs')
13
- Text.replace_in_file('tmp/csharp-library.cs','Test','Test2')
14
- end
1
+ require_relative '../lib/text.rb'
2
+
3
+ describe Text do
4
+ it "should be able to replace text in file" do
5
+ FileUtils.mkdir('tmp') if(!File.exists?('tmp'))
6
+ File.open('tmp/test.txt','w'){|f|
7
+ f.write("test thing")
8
+ }
9
+ Text.replace_in_file('tmp/test.txt','thing','string')
10
+ expect(IO.read('tmp/test.txt').include?('test string')).to eq(true)
11
+
12
+ FileUtils.cp('spec/sln-vs12-example/csharp-library/csharp-library.cs','tmp/csharp-library.cs')
13
+ Text.replace_in_file('tmp/csharp-library.cs','Test','Test2')
14
+ end
15
15
  end
metadata CHANGED
@@ -1,18 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev_commands
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.56
4
+ version: 0.0.57
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Lou Parslow
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2015-02-02 00:00:00.000000000 Z
12
+ date: 2015-02-04 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: rake
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
19
  - - ~>
18
20
  - !ruby/object:Gem::Version
@@ -20,6 +22,7 @@ dependencies:
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
27
  - - ~>
25
28
  - !ruby/object:Gem::Version
@@ -27,6 +30,7 @@ dependencies:
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: rspec
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
35
  - - ~>
32
36
  - !ruby/object:Gem::Version
@@ -34,6 +38,7 @@ dependencies:
34
38
  type: :development
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
43
  - - ~>
39
44
  - !ruby/object:Gem::Version
@@ -41,6 +46,7 @@ dependencies:
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: yard
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
51
  - - ~>
46
52
  - !ruby/object:Gem::Version
@@ -48,6 +54,7 @@ dependencies:
48
54
  type: :development
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
59
  - - ~>
53
60
  - !ruby/object:Gem::Version
@@ -55,6 +62,7 @@ dependencies:
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: bundler
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
67
  - - ~>
60
68
  - !ruby/object:Gem::Version
@@ -62,6 +70,7 @@ dependencies:
62
70
  type: :development
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
75
  - - ~>
67
76
  - !ruby/object:Gem::Version
@@ -99,8 +108,8 @@ files:
99
108
  - lib/timer.rb
100
109
  - lib/update.rb
101
110
  - lib/upgrade.rb
102
- - spec/command_spec.rb
103
111
  - spec/commands_spec.rb
112
+ - spec/command_spec.rb
104
113
  - spec/gem-example/rakefile.rb
105
114
  - spec/internet_spec.rb
106
115
  - spec/publish_spec.rb
@@ -114,26 +123,27 @@ files:
114
123
  homepage: http://github.com/lou-parslow/dev_commands.gem
115
124
  licenses:
116
125
  - Apache 2.0
117
- metadata: {}
118
126
  post_install_message:
119
127
  rdoc_options: []
120
128
  require_paths:
121
129
  - lib
122
130
  required_ruby_version: !ruby/object:Gem::Requirement
131
+ none: false
123
132
  requirements:
124
- - - '>='
133
+ - - ! '>='
125
134
  - !ruby/object:Gem::Version
126
135
  version: '0'
127
136
  required_rubygems_version: !ruby/object:Gem::Requirement
137
+ none: false
128
138
  requirements:
129
- - - '>='
139
+ - - ! '>='
130
140
  - !ruby/object:Gem::Version
131
141
  version: '0'
132
142
  requirements: []
133
143
  rubyforge_project:
134
- rubygems_version: 2.0.3
144
+ rubygems_version: 1.8.28
135
145
  signing_key:
136
- specification_version: 4
146
+ specification_version: 3
137
147
  summary: gem to execute system commands
138
148
  test_files: []
139
149
  has_rdoc:
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 6255c8427cb8be657efeba220fe9eecad031971f
4
- data.tar.gz: a3ee4e0ef8ef1943453b56ac321206b3b725b633
5
- SHA512:
6
- metadata.gz: 87cd1f477f28e1e4f542b19a4a81ec2e0709e4828623edee857a570a98bcd7932c71d3689352adc8ef3f1488c58b87c0182cfc8da6cdfedbc954744e93b12f56
7
- data.tar.gz: 12de83f02a04caa26d0bbb9d9adedde7f69fa0ab841a2bf6d6bb7b06ce14720ee32abdf73675946f45a9d8ae493a43aa6859140b5fae6dc051c5a3508bd4cc7f