stacksondeck 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/stacksondeck/app.rb +4 -0
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8c035c12d36aba0fab06705800b3d07bccbaae2f
4
- data.tar.gz: 64dfeb0ad62c56d7339653ac984049cb9758dd72
3
+ metadata.gz: f5533bd9a75ce6665466b50a39ee55ad392f6374
4
+ data.tar.gz: 4f977f06a0c97a36f0aa0afac8509d7d17d54584
5
5
  SHA512:
6
- metadata.gz: 3f079838673c220be3000fdc271636ad97649994a2fc149cd7a32ae97b2736478ec6045b3254740278d9bd270450a418b4a27525067eafb29531d83d56322258
7
- data.tar.gz: 336215c511daed3eb8457bde23e3164523e886ea7f676f00fc9542b02ee849f4251c1c6c1b1a7af6cfbe90a624fee3477095e5065ec8d577644e0568d43c4068
6
+ metadata.gz: 8e83d67fd29ed7c2d6eb224d3f767a8e03a6154695b7b0b661c54757c5ce369b3b50ddbf48572964ae75276f8a2988b1e78639121e2537cabb24772e0f67d945
7
+ data.tar.gz: 86c1181dcf2ee53bfa7efb1b5180f44f2e14890a385f61ef24a05d5239c3687198e562f2409b6816a76b6b76e2092da28c35073a56d924fdf4b49ba399d23ccc
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.4
1
+ 1.0.5
@@ -27,6 +27,7 @@ module StacksOnDeck
27
27
 
28
28
  get '/' do
29
29
  content_type :yaml
30
+ last_modified @@last_modified
30
31
  @@db_dump
31
32
  end
32
33
 
@@ -51,6 +52,7 @@ module StacksOnDeck
51
52
  reopen!
52
53
  log.info event: 'open!', db: settings.database
53
54
  @@db_dump = YAML.dump db_copy
55
+ @@last_modified = Time.now
54
56
  end
55
57
 
56
58
 
@@ -126,6 +128,8 @@ module StacksOnDeck
126
128
 
127
129
  @@db_dump = YAML.dump node_resources
128
130
 
131
+ @@last_modified = Time.now
132
+
129
133
  log.info event: 'refreshed!', elapsed: (Time.now - started)
130
134
 
131
135
  return node_resources
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stacksondeck
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Clemmer