live_paper 0.0.27 → 0.0.28
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/live_paper.rb +1 -0
- data/lib/live_paper/time_formats.rb +3 -0
- data/lib/live_paper/trigger.rb +3 -3
- data/lib/live_paper/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d8e85b4d1411632bd21583973f51f85b3cf51bd
|
4
|
+
data.tar.gz: 1745011dfe2dd65fe657dcb8d68148181c754d52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 289a6bb4a5f101a53dd76a1720e3bb29ed99559cc99d0f5240d2ca8e7b95b82038690076a828774556a444aed86022312ca3f9a04b7fde671b9a899e4029dde3
|
7
|
+
data.tar.gz: f26ad8dcdb9c3ed95e97addb6b002e11c837b37bffe5689393cffdbf5dd70cf2dc922f8910ca1b5f58df925872fc831563069513976665d4832b000394faafd1
|
data/lib/live_paper.rb
CHANGED
data/lib/live_paper/trigger.rb
CHANGED
@@ -33,18 +33,18 @@ module LivePaper
|
|
33
33
|
end
|
34
34
|
|
35
35
|
def default_start_date
|
36
|
-
Time.now.
|
36
|
+
Time.now.to_s(:live_paper_date_format)
|
37
37
|
end
|
38
38
|
|
39
39
|
def default_end_date
|
40
|
-
Time.now.advance(years: 1).
|
40
|
+
Time.now.advance(years: 1).to_s(:live_paper_date_format)
|
41
41
|
end
|
42
42
|
|
43
43
|
private
|
44
44
|
def validate_attributes!
|
45
45
|
raise ArgumentError, 'Required Attributes needed: name' unless all_present? [@name]
|
46
46
|
end
|
47
|
-
|
47
|
+
|
48
48
|
def update_body
|
49
49
|
{
|
50
50
|
trigger: {
|
data/lib/live_paper/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: live_paper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.28
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Whitmarsh
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-06-
|
12
|
+
date: 2015-06-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -143,6 +143,7 @@ files:
|
|
143
143
|
- lib/live_paper/payoff.rb
|
144
144
|
- lib/live_paper/qr_trigger.rb
|
145
145
|
- lib/live_paper/short_trigger.rb
|
146
|
+
- lib/live_paper/time_formats.rb
|
146
147
|
- lib/live_paper/trigger.rb
|
147
148
|
- lib/live_paper/version.rb
|
148
149
|
- lib/live_paper/wm_trigger.rb
|