schedule-cli 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +9 -9
- data/lib/schedule/cli.rb +4 -1
- data/lib/schedule/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 639560b9143fd939dd209d25cb0cfeccf082409b184fca2c9113706c3e52dfd6
|
4
|
+
data.tar.gz: f5fd5acf3eeb15e850d43126f13aa77f6f4f7f9e14187b7443502ae66703ca4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 460746f66daa4e96106bf2a0cc549a9289b2e844eea0817eb7d8705b75a2a55211c0dca43dbc0908ea3c05378770506d7024d1207f93bb394f0794ba5b695bbf
|
7
|
+
data.tar.gz: 81b71502db26f47e20720b450ed58f1b494775e4422564ce6029c86882c2d964b8fdc18d90b3b1fd43b70a402788868182d61eb863b06df80716bf2cc8a01887
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
schedule-cli (0.1.
|
4
|
+
schedule-cli (0.1.3)
|
5
5
|
activesupport (~> 5.2)
|
6
6
|
chronic
|
7
7
|
google-api-client (~> 0.11)
|
@@ -13,7 +13,7 @@ PATH
|
|
13
13
|
GEM
|
14
14
|
remote: https://rubygems.org/
|
15
15
|
specs:
|
16
|
-
activesupport (5.2.
|
16
|
+
activesupport (5.2.1)
|
17
17
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
18
18
|
i18n (>= 0.7, < 2)
|
19
19
|
minitest (~> 5.1)
|
@@ -27,14 +27,14 @@ GEM
|
|
27
27
|
declarative-option (0.1.0)
|
28
28
|
faraday (0.15.2)
|
29
29
|
multipart-post (>= 1.2, < 3)
|
30
|
-
google-api-client (0.23.
|
30
|
+
google-api-client (0.23.5)
|
31
31
|
addressable (~> 2.5, >= 2.5.1)
|
32
32
|
googleauth (>= 0.5, < 0.7.0)
|
33
33
|
httpclient (>= 2.8.1, < 3.0)
|
34
34
|
mime-types (~> 3.0)
|
35
35
|
representable (~> 3.0)
|
36
36
|
retriable (>= 2.0, < 4.0)
|
37
|
-
googleauth (0.6.
|
37
|
+
googleauth (0.6.6)
|
38
38
|
faraday (~> 0.12)
|
39
39
|
jwt (>= 1.4, < 3.0)
|
40
40
|
memoist (~> 0.12)
|
@@ -42,15 +42,15 @@ GEM
|
|
42
42
|
os (>= 0.9, < 2.0)
|
43
43
|
signet (~> 0.7)
|
44
44
|
httpclient (2.8.3)
|
45
|
-
i18n (1.0
|
45
|
+
i18n (1.1.0)
|
46
46
|
concurrent-ruby (~> 1.0)
|
47
47
|
jwt (2.1.0)
|
48
48
|
launchy (2.4.3)
|
49
49
|
addressable (~> 2.3)
|
50
50
|
memoist (0.16.0)
|
51
|
-
mime-types (3.
|
51
|
+
mime-types (3.2.2)
|
52
52
|
mime-types-data (~> 3.2015)
|
53
|
-
mime-types-data (3.
|
53
|
+
mime-types-data (3.2018.0812)
|
54
54
|
mini_portile2 (2.3.0)
|
55
55
|
minitest (5.11.3)
|
56
56
|
multi_json (1.13.1)
|
@@ -59,14 +59,14 @@ GEM
|
|
59
59
|
mini_portile2 (~> 2.3.0)
|
60
60
|
os (1.0.0)
|
61
61
|
parallel (1.12.1)
|
62
|
-
public_suffix (3.0.
|
62
|
+
public_suffix (3.0.3)
|
63
63
|
rake (10.5.0)
|
64
64
|
representable (3.0.4)
|
65
65
|
declarative (< 0.1.0)
|
66
66
|
declarative-option (< 0.2.0)
|
67
67
|
uber (< 0.2.0)
|
68
68
|
retriable (3.1.2)
|
69
|
-
signet (0.
|
69
|
+
signet (0.9.0)
|
70
70
|
addressable (~> 2.3)
|
71
71
|
faraday (~> 0.9)
|
72
72
|
jwt (>= 1.5, < 3.0)
|
data/lib/schedule/cli.rb
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require 'active_support/core_ext/hash/deep_merge'
|
4
|
+
|
3
5
|
require 'thor'
|
4
6
|
require 'nokogiri'
|
5
7
|
require 'chronic'
|
@@ -24,7 +26,8 @@ module Schedule
|
|
24
26
|
if /\A\d+\z/.match?(type)
|
25
27
|
config[:duration] = type.to_i
|
26
28
|
else
|
27
|
-
|
29
|
+
event_config = Config.value(:events, type&.to_sym)
|
30
|
+
config = config.deep_merge(event_config) if event_config.present?
|
28
31
|
end
|
29
32
|
if offset_string.present?
|
30
33
|
config[:day][:offset] = parse_offset offset_string.join(' ')
|
data/lib/schedule/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: schedule-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yasyf Mohamedali
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|