mvn2 2.6.7 → 2.6.8

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: 9b13901fc14125fab82a9d7a11fc14935e4b55a4
4
- data.tar.gz: 1d94676ce3a48011742e5fbcf3fd32993757f27b
3
+ metadata.gz: cccf3c6298ac1effea836c9ef7ce23eb8f546b25
4
+ data.tar.gz: 5f7b202fbe95edc3c143fac818d3acdd939f208f
5
5
  SHA512:
6
- metadata.gz: 53e1232cbada947b4ee9e7920d5e8d7249308a5d06d90afdc860dea803dfcbf3a500967fe8825d7f152d1d613bf5d0033c43ecf611418dc78d3224b11ac35de6
7
- data.tar.gz: bfbee6793ac582d9937fb1fd5f691fcd1a898b142b2bba38cc1530ece6ee223ce80f67af5761fb96b87f4f9a191e34333f64463901726144ad11ace81ab4a80c
6
+ metadata.gz: 340c132a1f9c946272d1bf1258c775756bf725bde5fb50b7c8c6bb529e8e25b79eed730353ecd617ac5e79db9b1f8719c93bb71c39f745e7793bcdf970a95d38
7
+ data.tar.gz: cb3c0a4d45cfcc09dc204278ff00b7d4377e38fbf8e4c9be03828ad3b3a2255c02d45c108a3f3298978d376c82c7a31da0b1ee4931b43dd31c2b78c3eac39b46
data/.gitignore CHANGED
@@ -3,7 +3,6 @@
3
3
  .bundle
4
4
  .config
5
5
  .yardoc
6
- Gemfile.lock
7
6
  InstalledFiles
8
7
  _yardoc
9
8
  coverage
data/Gemfile.lock ADDED
@@ -0,0 +1,25 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ mvn2 (2.6.7)
5
+ everyday-cli-utils (~> 1.8, >= 1.8.2)
6
+ everyday-plugins (~> 1.2)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ everyday-cli-utils (1.8.2)
12
+ everyday-plugins (1.2.0)
13
+ everyday-cli-utils (~> 1.7)
14
+ rake (10.4.2)
15
+
16
+ PLATFORMS
17
+ ruby
18
+
19
+ DEPENDENCIES
20
+ bundler (~> 1.10, >= 1.10.4)
21
+ mvn2!
22
+ rake (~> 10.4)
23
+
24
+ BUNDLED WITH
25
+ 1.10.4
data/bin/mvn2 CHANGED
@@ -14,8 +14,8 @@ include EverydayPlugins
14
14
 
15
15
  Plugins.load_plugins 'mvn2'
16
16
 
17
- #abcd hijkl nop stuvw y 012 9
18
- # efg m qr x z 345678
17
+ #abcde hijkl nop stuvwxy 0123 9
18
+ # fg m qr z 45678
19
19
 
20
20
  class MyOptions
21
21
  extend OptionUtil
@@ -7,18 +7,22 @@ class TimerPlugin
7
7
  register_variable :time1
8
8
  register_variable :diff
9
9
  register_variable :thread
10
+ register_variable :timer_interval
10
11
 
11
12
  register :option, sym: :timer, names: %w(-t --timer), desc: 'display a timer while the build is in progress'
12
13
 
13
14
  register :option, sym: :colored, names: %w(-c --colored), desc: 'display some colors in the timer/progress message'
14
15
 
16
+ register :option, sym: :slow_timer, names: %w(-x --slow-timer), desc: 'slow down the timer to only update twice a second instead of 20 times a second'
17
+
15
18
  register(:before_run, order: 2) { |options|
16
19
  Plugins.set_var :time1, Time.now
20
+ Plugins.set_var :timer_interval, options[:slow_timer] ? 0.5 : 0.05
17
21
  Plugins.set_var :thread, options[:timer] ? Thread.new {
18
22
  start_time = Plugins.get_var :time1
19
23
  while true
20
24
  print "\r\e[2K#{get_timer_message(start_time, Time.now)}"
21
- sleep(0.05)
25
+ sleep(Plugins.get_var(:timer_interval))
22
26
  end
23
27
  } : nil
24
28
  }
data/lib/mvn2/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Mvn2
2
- VERSION = '2.6.7'
2
+ VERSION = '2.6.8'
3
3
  end
data/mvn2.gemspec CHANGED
@@ -21,9 +21,9 @@ Gem::Specification.new do |spec|
21
21
 
22
22
  spec.required_ruby_version = '>= 1.9.3'
23
23
 
24
- spec.add_development_dependency 'bundler', '~> 1.6'
25
- spec.add_development_dependency 'rake', '~> 10'
24
+ spec.add_development_dependency 'bundler', '~> 1.10', '>= 1.10.4'
25
+ spec.add_development_dependency 'rake', '~> 10.4'
26
26
 
27
- spec.add_dependency 'everyday-cli-utils', '~> 1.8', '>= 1.8.1'
27
+ spec.add_dependency 'everyday-cli-utils', '~> 1.8', '>= 1.8.2'
28
28
  spec.add_dependency 'everyday-plugins', '~> 1.2'
29
29
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mvn2
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.7
4
+ version: 2.6.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Henderson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-23 00:00:00.000000000 Z
11
+ date: 2015-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,28 +16,34 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.6'
19
+ version: '1.10'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 1.10.4
20
23
  type: :development
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
27
  - - "~>"
25
28
  - !ruby/object:Gem::Version
26
- version: '1.6'
29
+ version: '1.10'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 1.10.4
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: rake
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
37
  - - "~>"
32
38
  - !ruby/object:Gem::Version
33
- version: '10'
39
+ version: '10.4'
34
40
  type: :development
35
41
  prerelease: false
36
42
  version_requirements: !ruby/object:Gem::Requirement
37
43
  requirements:
38
44
  - - "~>"
39
45
  - !ruby/object:Gem::Version
40
- version: '10'
46
+ version: '10.4'
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: everyday-cli-utils
43
49
  requirement: !ruby/object:Gem::Requirement
@@ -47,7 +53,7 @@ dependencies:
47
53
  version: '1.8'
48
54
  - - ">="
49
55
  - !ruby/object:Gem::Version
50
- version: 1.8.1
56
+ version: 1.8.2
51
57
  type: :runtime
52
58
  prerelease: false
53
59
  version_requirements: !ruby/object:Gem::Requirement
@@ -57,7 +63,7 @@ dependencies:
57
63
  version: '1.8'
58
64
  - - ">="
59
65
  - !ruby/object:Gem::Version
60
- version: 1.8.1
66
+ version: 1.8.2
61
67
  - !ruby/object:Gem::Dependency
62
68
  name: everyday-plugins
63
69
  requirement: !ruby/object:Gem::Requirement
@@ -84,6 +90,7 @@ extra_rdoc_files: []
84
90
  files:
85
91
  - ".gitignore"
86
92
  - Gemfile
93
+ - Gemfile.lock
87
94
  - LICENSE.txt
88
95
  - README.md
89
96
  - Rakefile
@@ -122,8 +129,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
129
  version: '0'
123
130
  requirements: []
124
131
  rubyforge_project:
125
- rubygems_version: 2.4.5
132
+ rubygems_version: 2.4.6
126
133
  signing_key:
127
134
  specification_version: 4
128
135
  summary: Maven helper
129
136
  test_files: []
137
+ has_rdoc: