dev_flow 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dev_flow/app.rb +3 -1
- data/lib/dev_flow/commands/clean.rb +0 -0
- data/lib/dev_flow/commands/gantt.rb +0 -0
- data/lib/dev_flow/task_js.rb +1 -1
- data/lib/dev_flow/version.rb +1 -1
- data/tags +0 -0
- data/templates/css/jsgantt.css +0 -0
- data/templates/js/jsgantt.js +0 -0
- data/templates/jsgantt.html.erb +0 -0
- metadata +3 -3
data/lib/dev_flow/app.rb
CHANGED
@@ -27,7 +27,9 @@ module DevFlow
|
|
27
27
|
info "Load local configuration from #{@config[:local_config]}"
|
28
28
|
@config = @config.merge(YAML.load(File.open(@config[:local_config], 'r:utf-8').read))
|
29
29
|
end
|
30
|
-
|
30
|
+
|
31
|
+
error "Do not work on master branch. Please swith to develop branch." if @git.current_branch == 'master'
|
32
|
+
|
31
33
|
# load roadmap into variable @roadmap
|
32
34
|
load_roadmap
|
33
35
|
|
File without changes
|
File without changes
|
data/lib/dev_flow/task_js.rb
CHANGED
@@ -25,8 +25,8 @@ module DevFlow
|
|
25
25
|
end_day = self.end_date.strftime("%Y%m%d").to_i
|
26
26
|
hex = "B0C4DE" # light steel blue as default
|
27
27
|
hex = "808080" unless self.is_workable? # grey for no able to start
|
28
|
-
hex = "FFD700" if start_day == today and progress == 0 # gold for must start now
|
29
28
|
hex = "FFFF00" if self.progress > 0 and self.progress < 100 # blue for working
|
29
|
+
hex = "FFD700" if start_day == today and progress == 0 # gold for must start now
|
30
30
|
hex = "FFA500" if end_day == today and self.progress < 100 # orange for master complete today
|
31
31
|
|
32
32
|
if resource_
|
data/lib/dev_flow/version.rb
CHANGED
data/tags
CHANGED
File without changes
|
data/templates/css/jsgantt.css
CHANGED
File without changes
|
data/templates/js/jsgantt.js
CHANGED
File without changes
|
data/templates/jsgantt.html.erb
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dev_flow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-05-
|
12
|
+
date: 2013-05-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: term-ansicolor
|
@@ -113,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
113
113
|
version: '0'
|
114
114
|
requirements: []
|
115
115
|
rubyforge_project:
|
116
|
-
rubygems_version: 1.8.
|
116
|
+
rubygems_version: 1.8.25
|
117
117
|
signing_key:
|
118
118
|
specification_version: 3
|
119
119
|
summary: a bundle of tools for ROADMAP/git based development flow control.
|