tmin 0.2.1 → 0.2.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.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tmin (0.2.0)
4
+ tmin (0.2.1)
5
5
  dm-aggregates (~> 1.2.0)
6
6
  dm-core (~> 1.2.0)
7
7
  dm-migrations (~> 1.2.0)
@@ -314,7 +314,7 @@ end
314
314
  #Array containing the number relating to the image number of default backgorunds.
315
315
  @num = (1..39).to_a
316
316
 
317
- @expired = date_expired(@date)
317
+ # @expired = date_expired(@date)
318
318
 
319
319
  @parsed_time = Date.parse(@time[4]).strftime("%FT%T")
320
320
 
@@ -441,7 +441,7 @@ end
441
441
 
442
442
  def date_expired(time)
443
443
 
444
- expired = DateTime.parse(time) < DateTime.now
444
+ # expired = DateTime.parse(time) < DateTime.now
445
445
  return expired
446
446
 
447
447
  end
@@ -1,4 +1,4 @@
1
1
  # encoding: UTF-8
2
2
  module Tminus
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.2"
4
4
  end
@@ -14,10 +14,11 @@
14
14
  %h2.text-center
15
15
 
16
16
  <div class="#{@font_color}">
17
- - if @expired == true
18
- Since
19
- - else
20
- Until
17
+ -#- if @expired == true
18
+ -# Since
19
+ -#- else
20
+ -# Until
21
+ Until
21
22
  </div>
22
23
  %h2.text-center
23
24
  <div class="#{@font_color}">
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tmin
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 1
10
- version: 0.2.1
9
+ - 2
10
+ version: 0.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - drobs