dev 1.0.135 → 1.0.136

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.
Files changed (2) hide show
  1. data/lib/dev/Tasks.rb +2 -2
  2. metadata +1 -1
@@ -33,8 +33,8 @@ def generate_task_hash(project)
33
33
  task_hash[:update]={ :desc=> 'updates changes from source code management' }
34
34
  end
35
35
 
36
- task_hash[:compile] = { :desc=> 'compile source code' } if !project[:compile].nil?
37
- task_hash[:replace] = { :desc=> 'replace text' } if !project[:replace].nil?
36
+ task_hash[:compile] = { :desc=> 'compile source code' } if project.has_key?(:compile)
37
+ task_hash[:replace] = { :desc=> 'replace text' } if project.has_key?(:replace)
38
38
 
39
39
  if project[:type]=="gem" || project[:type]=="ruby"
40
40
  task_hash[:features] = { :desc=> 'tests cucumber features' }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.135
4
+ version: 1.0.136
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: