right_chimp 2.1.19.1 → 2.1.21

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: dc77e3a5c9aa557568f99281903e9c296cddefcf
4
- data.tar.gz: cf8f158eb7fff117550223792d5fe1f713ef427e
3
+ metadata.gz: 42299d7dc40141d8d1552a18c9a032b0d94fd7ea
4
+ data.tar.gz: 1fb2dec943f54313bb55df8b0d21674f5c213810
5
5
  SHA512:
6
- metadata.gz: 6b9097807f7a3d3a473c400c946ecec8760e63c1d7a6dcfadc623a751fa094ff6d20471f9c6dc346354bf535663ef3187cd0f14dbf363419b72ed71c966457c9
7
- data.tar.gz: a55c4ef8e82b90d397d306ba79321d69da6d09d7fc34489136dcc4a1ab2e6d89977a2301ab9b608c9181b7e22163faf3415a8cc780a68d3eea8c543aa508a475
6
+ metadata.gz: 36320560e80b9c1c9ac510805fb893735c35d9effd0bc3ccc47f0924c50f8fa7b631822d9b43fab2df90f787aea0c568afcb73127d2f5c2b0c6a603cd6ba4a1a
7
+ data.tar.gz: f04244176ab3475f2b89e1e14484046de783dd9863aadfdc180c96fe89e803e95b032a4fe15f3b9e20da734f6180f4a0d4bd8bb601f0e61f315cd714fa846eca
data/CHANGES CHANGED
@@ -168,3 +168,11 @@ Version 2.1.16
168
168
  Version 2.1.19.1
169
169
  --------------
170
170
  Reverted bad release
171
+
172
+ Version 2.1.20
173
+ --------------
174
+ * Bugfix: We now correctly report the correct number of tasks waiting, in the json interface
175
+
176
+ Version 2.1.21
177
+ --------------
178
+ * Bugfix: Pull the correct path whenever loading up the erb template in webui.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- right_chimp (2.1.19.1)
4
+ right_chimp (2.1.21)
5
5
  highline (~> 1.7.2)
6
6
  nokogiri (~> 1.6.7.1)
7
7
  progressbar (~> 0.11.0)
data/docker/Dockerfile CHANGED
@@ -11,7 +11,7 @@
11
11
  # Built via: docker build -t mastamark/right_chimp:latest .
12
12
  ###
13
13
 
14
- FROM rightscale/ops_ruby22x_build
14
+ FROM rightscale/ops_ruby23x_build
15
15
  MAINTAINER mastamark+github@gmail.com
16
16
  WORKDIR /srv
17
17
  ADD right_chimp.sh /srv/
@@ -525,7 +525,7 @@ module Chimp
525
525
  # First determine the path to the files to serve
526
526
  #
527
527
  if ENV['CHIMP_TEST'] != 'TRUE'
528
- template_path = File.join(Gem.dir, 'gems', 'right_chimp-' + VERSION, 'lib/right_chimp/templates')
528
+ template_path = File.expand_path('../templates', __dir__)
529
529
  else
530
530
  template_path = 'lib/right_chimp/templates'
531
531
  end
@@ -553,7 +553,7 @@ module Chimp
553
553
  queue = ChimpQueue.instance
554
554
 
555
555
  stats_hash = {"running" => queue.get_jobs_by_status(:running).size,
556
- "waiting" => queue.get_jobs_by_status(:waiting).size,
556
+ "waiting" => queue.get_jobs_by_status(:none).size,
557
557
  "failed" => queue.get_jobs_by_status(:error).size,
558
558
  "done" => queue.get_jobs_by_status(:done).size,
559
559
  "processing" => ChimpDaemon.instance.proc_counter.to_i,
@@ -1,3 +1,3 @@
1
1
  module Chimp
2
- VERSION = "2.1.19.1"
2
+ VERSION = "2.1.21"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: right_chimp
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.19.1
4
+ version: 2.1.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - RightScale Operations
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-03 00:00:00.000000000 Z
11
+ date: 2016-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake