dev 2.1.75 → 2.1.76

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.
data/lib/dev.config.rb CHANGED
@@ -1,8 +1,8 @@
1
- #
2
- # dev.config.rb
3
- #
4
- # SOURCE.include('**/*.svg')
5
- #
6
- # CLEAN.include('bin')
7
- #
1
+ #
2
+ # dev.config.rb
3
+ #
4
+ # SOURCE.include('**/*.svg')
5
+ #
6
+ # CLEAN.include('bin')
7
+ #
8
8
  #
data/lib/tasks/clean.rb CHANGED
@@ -1,9 +1,9 @@
1
- puts __FILE__ if defined?(DEBUG)
2
-
3
- require 'rake/clean'
4
- # Clean Files
5
- CLEAN.include('**/*.{sdf,sud,ncb,cache,user,wixobj,wixpdb,nupkg}')
6
-
7
- # Clean Folders
8
- CLEAN.include('obj') if File.exists?('obj')
9
- CLEAN.include('tmp') if File.exists?('tmp')
1
+ puts __FILE__ if defined?(DEBUG)
2
+
3
+ require 'rake/clean'
4
+ # Clean Files
5
+ CLEAN.include('**/*.{sdf,sud,ncb,cache,user,wixobj,wixpdb,nupkg}')
6
+
7
+ # Clean Folders
8
+ CLEAN.include('obj') if File.exists?('obj')
9
+ CLEAN.include('tmp') if File.exists?('tmp')
data/lib/tasks/clobber.rb CHANGED
@@ -1,25 +1,25 @@
1
- puts __FILE__ if defined?(DEBUG)
2
-
3
- require 'rake/clean'
4
- # CLOBBER Files
5
- CLOBBER.include('**/*.nupkg')
6
- CLOBBER.include('**/*.gem')
7
- CLOBBER.include('**/*.msi')
8
-
9
- # CLOBBER Folders
10
- CLOBBER.include('bin/**/*')
11
- CLOBBER.include('bin') if File.exists?('bin')
12
- CLOBBER.include('**/bin')
13
- CLOBBER.include('doc') if File.exists?('doc')
14
- CLOBBER.include('obj') if File.exists?('obj')
15
- CLOBBER.include('**/obj')
16
- CLOBBER.include('lib') if File.exists?('lib')
17
- CLOBBER.include('packages') if File.exists?('packages')
18
- CLOBBER.include('**/.vs')
19
-
20
- CLOBBER.include('*.gem')
21
- CLOBBER.include('DTAR_*')
22
- CLOBBER.include('.vs') if File.exists?('.vs')
23
-
24
- desc 'performs clobber commands'
25
- task :clobber => [:clean] do Tasks.execute_task :clobber;end
1
+ puts __FILE__ if defined?(DEBUG)
2
+
3
+ require 'rake/clean'
4
+ # CLOBBER Files
5
+ CLOBBER.include('**/*.nupkg')
6
+ CLOBBER.include('**/*.gem')
7
+ CLOBBER.include('**/*.msi')
8
+
9
+ # CLOBBER Folders
10
+ CLOBBER.include('bin/**/*')
11
+ CLOBBER.include('bin') if File.exists?('bin')
12
+ CLOBBER.include('**/bin')
13
+ CLOBBER.include('doc') if File.exists?('doc')
14
+ CLOBBER.include('obj') if File.exists?('obj')
15
+ CLOBBER.include('**/obj')
16
+ CLOBBER.include('lib') if File.exists?('lib')
17
+ CLOBBER.include('packages') if File.exists?('packages')
18
+ CLOBBER.include('**/.vs')
19
+
20
+ CLOBBER.include('*.gem')
21
+ CLOBBER.include('DTAR_*')
22
+ CLOBBER.include('.vs') if File.exists?('.vs')
23
+
24
+ desc 'performs clobber commands'
25
+ task :clobber => [:clean] do Tasks.execute_task :clobber;end
data/lib/tasks/doc.rb CHANGED
@@ -1,10 +1,10 @@
1
- desc 'performs documentation commands'
2
- task :doc do Tasks.execute_task :doc;end
3
-
4
- class Doc < Array
5
- def update
6
- if(Command.exit_code('yard --version'))
7
- add_quiet 'yard doc - LICENSE' if File.exists?('README.md') && File.exists?('LICENSE')
8
- end
9
- end
1
+ desc 'performs documentation commands'
2
+ task :doc do Tasks.execute_task :doc;end
3
+
4
+ class Doc < Array
5
+ def update
6
+ if(Command.exit_code('yard --version'))
7
+ add_quiet 'yard doc - LICENSE' if File.exists?('README.md') && File.exists?('LICENSE')
8
+ end
9
+ end
10
10
  end
data/lib/tasks/info.rb CHANGED
@@ -1,9 +1,9 @@
1
- desc 'displays project info'
2
- task :info do
3
- Environment.default.info
4
- puts ' '
5
- #PROJECT.info
6
- puts ' '
7
- COMMANDS.info
8
- end
9
-
1
+ desc 'displays project info'
2
+ task :info do
3
+ Environment.default.info
4
+ puts ' '
5
+ #PROJECT.info
6
+ puts ' '
7
+ COMMANDS.info
8
+ end
9
+
data/lib/tasks/publish.rb CHANGED
@@ -1,34 +1,34 @@
1
- require_relative '../base/array.rb'
2
- desc 'performs publish commands'
3
- task :publish do Tasks.execute_task :publish; end
4
-
5
- class Publish < Array
6
-
7
- def update
8
- if(File.exists?('.git') && defined?(VERSION))
9
- add_quiet "<%Git.tag('#{Rake.application.original_dir}','#{VERSION}')%>"
10
- end
11
-
12
- if(Internet.available?)
13
- if(File.exists?('.git'))
14
- if(`git branch`.include?('* master'))
15
- Dir.glob('*.gemspec').each{|gemspec_file|
16
- add_passive "gem push #{Gemspec.gemfile(gemspec_file)}" if !Gemspec.published? gemspec_file
17
- }
18
- end
19
- end
20
- if(File.exists?('.svn'))
21
- if(`svn info`.include?('/trunk'))
22
- Dir.glob('*.gemspec').each{|gemspec_file|
23
- add_quiet "gem push #{Gemspec.gemfile(gemspec_file)}" if !Gemspec.published? gemspec_file
24
- }
25
- end
26
- end
27
- end
28
-
29
- Dir.glob("#{Rake.application.original_dir}/**/*.{nupkg,msi,gem}").each{|publish_file|
30
- dest="#{Environment.default.publish_dir}/#{File.basename(publish_file)}"
31
- add_quiet "<%FileUtils.cp('#{publish_file}','#{dest}')%>" if(!File.exists?(dest) && !publish_file.include?('packages/'))
32
- }
33
- end
1
+ require_relative '../base/array.rb'
2
+ desc 'performs publish commands'
3
+ task :publish do Tasks.execute_task :publish; end
4
+
5
+ class Publish < Array
6
+
7
+ def update
8
+ if(File.exists?('.git') && defined?(VERSION))
9
+ add_quiet "<%Git.tag('#{Rake.application.original_dir}','#{VERSION}')%>"
10
+ end
11
+
12
+ if(Internet.available?)
13
+ if(File.exists?('.git'))
14
+ if(`git branch`.include?('* master'))
15
+ Dir.glob('*.gemspec').each{|gemspec_file|
16
+ add_passive "gem push #{Gemspec.gemfile(gemspec_file)}" if !Gemspec.published? gemspec_file
17
+ }
18
+ end
19
+ end
20
+ if(File.exists?('.svn'))
21
+ if(`svn info`.include?('/trunk'))
22
+ Dir.glob('*.gemspec').each{|gemspec_file|
23
+ add_quiet "gem push #{Gemspec.gemfile(gemspec_file)}" if !Gemspec.published? gemspec_file
24
+ }
25
+ end
26
+ end
27
+ end
28
+
29
+ Dir.glob("#{Rake.application.original_dir}/**/*.{nupkg,msi,gem}").each{|publish_file|
30
+ dest="#{Environment.default.publish_dir}/#{File.basename(publish_file)}"
31
+ add_quiet "<%FileUtils.cp('#{publish_file}','#{dest}')%>" if(!File.exists?(dest) && !publish_file.include?('packages/'))
32
+ }
33
+ end
34
34
  end
data/lib/tasks/pull.rb CHANGED
@@ -1,12 +1,12 @@
1
- desc 'performs a git pull'
2
- task :pull do Tasks.execute_task :pull; end
3
-
4
- class Pull < Array
5
- def update
6
- if(!defined?(NO_PULL))
7
- if(File.exists?('.git') && `git config --list`.include?('user.name=') )
8
- add_passive('git pull') if Git.branch == 'master'
9
- end
10
- end
11
- end
1
+ desc 'performs a git pull'
2
+ task :pull do Tasks.execute_task :pull; end
3
+
4
+ class Pull < Array
5
+ def update
6
+ if(!defined?(NO_PULL))
7
+ if(File.exists?('.git') && `git config --list`.include?('user.name=') )
8
+ add_passive('git pull') if Git.branch == 'master'
9
+ end
10
+ end
11
+ end
12
12
  end
data/lib/tasks/update.rb CHANGED
@@ -1,15 +1,15 @@
1
- desc 'performs svn update'
2
- task :update do Tasks.execute_task :update; end
3
-
4
- class Update < Array
5
- def update
6
- add_quiet 'svn update' if File.exists?('.svn') && Internet.available?
7
-
8
- if(Dir.glob('**/packages.config').length > 0)
9
- Dir.glob('*.sln').each{|sln_file|
10
- #add_quiet "nuget restore #{sln_file}"
11
- add_quiet "nuget update #{sln_file}"
12
- }
13
- end
14
- end
1
+ desc 'performs svn update'
2
+ task :update do Tasks.execute_task :update; end
3
+
4
+ class Update < Array
5
+ def update
6
+ add_quiet 'svn update' if File.exists?('.svn') && Internet.available?
7
+
8
+ if(Dir.glob('**/packages.config').length > 0)
9
+ Dir.glob('*.sln').each{|sln_file|
10
+ #add_quiet "nuget restore #{sln_file}"
11
+ add_quiet "nuget update #{sln_file}"
12
+ }
13
+ end
14
+ end
15
15
  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.1.75
4
+ version: 2.1.76
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-05 00:00:00.000000000 Z
11
+ date: 2017-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: 1.2.1
69
+ - !ruby/object:Gem::Dependency
70
+ name: bundler
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: 1.16.0
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: 1.16.0
69
83
  description: development tasks
70
84
  email: lou.parslow@gmail.com
71
85
  executables:
@@ -142,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
142
156
  version: '0'
143
157
  requirements: []
144
158
  rubyforge_project:
145
- rubygems_version: 2.6.13
159
+ rubygems_version: 2.5.1
146
160
  signing_key:
147
161
  specification_version: 4
148
162
  summary: dev