check-taskr 1.1.1 → 1.1.2

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 (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/check-taskr/app.rb +5 -5
  3. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.1
1
+ 1.1.2
@@ -12,10 +12,10 @@ module CheckTaskr
12
12
  end
13
13
 
14
14
  get '/' do
15
- redirect '/stats.html'
15
+ redirect '/check.html'
16
16
  end
17
17
 
18
- get '/stats' do
18
+ get '/check' do
19
19
  config = CheckTaskr::JobsConfiguration.instance
20
20
  config.results.to_json
21
21
  end
@@ -23,16 +23,16 @@ module CheckTaskr
23
23
  get '/lock' do
24
24
  config = CheckTaskr::JobsConfiguration.instance
25
25
  config.lock
26
- redirect '/stats.html'
26
+ redirect '/check.html'
27
27
  end
28
28
 
29
29
  get '/unlock' do
30
30
  config = CheckTaskr::JobsConfiguration.instance
31
31
  config.unlock
32
- redirect '/stats.html'
32
+ redirect '/check.html'
33
33
  end
34
34
 
35
- get '/stats.html' do
35
+ get '/check.html' do
36
36
  config = CheckTaskr::JobsConfiguration.instance
37
37
  @result = config.results
38
38
  @locked = config.locked
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 1
8
- - 1
9
- version: 1.1.1
8
+ - 2
9
+ version: 1.1.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - crazycode