cinch-pax-timer 1.0.18 → 1.0.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/cinch/plugins/pax-timer/paxes.rb +6 -6
- data/lib/cinch/plugins/pax-timer/version.rb +1 -1
- data/spec/cinch-pax-timer_spec.rb +12 -0
- metadata +25 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: 1a10eddf80e0dcb8ad19b3359220d0ab754cb2b1
|
4
|
+
data.tar.gz: 66f67e17d8f89bccc2180ad62ecd7aa6f4a4871b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6087329ff1d5dbb5910341f5f74433a3c2adbe19ced99cb8d36512be3f55634058ab35fe2057aa8eddd66ad5a3be38713bffe0ab252bce7bdebfb2617f01cf40
|
7
|
+
data.tar.gz: e877b924edb5c2a11e2b8e06118f53d8367f4a4731349e6d88195fbed11e94e50dd1973fb4b2639944f320625ae8e31a30a971813001bb560d1b872c9185f1bf
|
@@ -10,20 +10,20 @@ module Cinch
|
|
10
10
|
estimated: false },
|
11
11
|
{ type: 'prime',
|
12
12
|
name: 'PAX West',
|
13
|
-
date: Time.parse('
|
13
|
+
date: Time.parse('2018-08-31 08:00:00 -08:00'),
|
14
14
|
estimated: true },
|
15
15
|
{ type: 'west',
|
16
16
|
name: 'PAX West',
|
17
|
-
date: Time.parse('
|
17
|
+
date: Time.parse('2018-08-31 08:00:00 -08:00'),
|
18
18
|
estimated: true },
|
19
19
|
{ type: 'south',
|
20
20
|
name: 'PAX South',
|
21
|
-
date: Time.parse('2018-01-
|
22
|
-
estimated:
|
21
|
+
date: Time.parse('2018-01-12 08:00:00 -06:00'),
|
22
|
+
estimated: false },
|
23
23
|
{ type: 'east',
|
24
24
|
name: 'PAX East',
|
25
|
-
date: Time.parse('2018-04-
|
26
|
-
estimated:
|
25
|
+
date: Time.parse('2018-04-05 08:00:00 -05:00'),
|
26
|
+
estimated: false },
|
27
27
|
{ type: 'unplugged',
|
28
28
|
name: 'PAX Unplugged',
|
29
29
|
date: Time.parse('2017-11-17 08:00:00 -05:00'),
|
@@ -49,6 +49,18 @@ describe Cinch::Plugins::PaxTimer do
|
|
49
49
|
expect(msg.text).to match(/PAX West is.+days from now/)
|
50
50
|
end
|
51
51
|
|
52
|
+
it 'should respond to .unplugged correctly' do
|
53
|
+
msg = make_message(@bot, '!unplugged')
|
54
|
+
msg = get_replies(msg).first
|
55
|
+
expect(msg.text).to match(/PAX Unplugged is.+days from now/)
|
56
|
+
end
|
57
|
+
|
58
|
+
it 'should respond to .paxunplugged correctly' do
|
59
|
+
msg = make_message(@bot, '!paxunplugged')
|
60
|
+
msg = get_replies(msg).first
|
61
|
+
expect(msg.text).to match(/PAX Unplugged is.+days from now/)
|
62
|
+
end
|
63
|
+
|
52
64
|
it 'should respond to .east correctly' do
|
53
65
|
msg = make_message(@bot, '!east')
|
54
66
|
msg = get_replies(msg).first
|
metadata
CHANGED
@@ -1,123 +1,123 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cinch-pax-timer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Haberer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '10'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '10'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '3'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '3'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: codeclimate-test-reporter
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ~>
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0.4'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0.4'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: cinch-test
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0.1'
|
62
|
-
- -
|
62
|
+
- - ! '>='
|
63
63
|
- !ruby/object:Gem::Version
|
64
64
|
version: 0.1.1
|
65
65
|
type: :development
|
66
66
|
prerelease: false
|
67
67
|
version_requirements: !ruby/object:Gem::Requirement
|
68
68
|
requirements:
|
69
|
-
- -
|
69
|
+
- - ~>
|
70
70
|
- !ruby/object:Gem::Version
|
71
71
|
version: '0.1'
|
72
|
-
- -
|
72
|
+
- - ! '>='
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: 0.1.1
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: cinch
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
|
-
- -
|
79
|
+
- - ~>
|
80
80
|
- !ruby/object:Gem::Version
|
81
81
|
version: '2'
|
82
82
|
type: :runtime
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
|
-
- -
|
86
|
+
- - ~>
|
87
87
|
- !ruby/object:Gem::Version
|
88
88
|
version: '2'
|
89
89
|
- !ruby/object:Gem::Dependency
|
90
90
|
name: cinch-cooldown
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|
92
92
|
requirements:
|
93
|
-
- -
|
93
|
+
- - ~>
|
94
94
|
- !ruby/object:Gem::Version
|
95
95
|
version: '1.1'
|
96
|
-
- -
|
96
|
+
- - ! '>='
|
97
97
|
- !ruby/object:Gem::Version
|
98
98
|
version: 1.1.7
|
99
99
|
type: :runtime
|
100
100
|
prerelease: false
|
101
101
|
version_requirements: !ruby/object:Gem::Requirement
|
102
102
|
requirements:
|
103
|
-
- -
|
103
|
+
- - ~>
|
104
104
|
- !ruby/object:Gem::Version
|
105
105
|
version: '1.1'
|
106
|
-
- -
|
106
|
+
- - ! '>='
|
107
107
|
- !ruby/object:Gem::Version
|
108
108
|
version: 1.1.7
|
109
109
|
- !ruby/object:Gem::Dependency
|
110
110
|
name: cinch-toolbox
|
111
111
|
requirement: !ruby/object:Gem::Requirement
|
112
112
|
requirements:
|
113
|
-
- -
|
113
|
+
- - ~>
|
114
114
|
- !ruby/object:Gem::Version
|
115
115
|
version: '1.1'
|
116
116
|
type: :runtime
|
117
117
|
prerelease: false
|
118
118
|
version_requirements: !ruby/object:Gem::Requirement
|
119
119
|
requirements:
|
120
|
-
- -
|
120
|
+
- - ~>
|
121
121
|
- !ruby/object:Gem::Version
|
122
122
|
version: '1.1'
|
123
123
|
description: Cinch plugin that allows users to see the relative time till the various
|
@@ -128,8 +128,8 @@ executables: []
|
|
128
128
|
extensions: []
|
129
129
|
extra_rdoc_files: []
|
130
130
|
files:
|
131
|
-
-
|
132
|
-
-
|
131
|
+
- .gitignore
|
132
|
+
- .travis.yml
|
133
133
|
- Gemfile
|
134
134
|
- LICENSE.txt
|
135
135
|
- README.md
|
@@ -151,17 +151,17 @@ require_paths:
|
|
151
151
|
- lib
|
152
152
|
required_ruby_version: !ruby/object:Gem::Requirement
|
153
153
|
requirements:
|
154
|
-
- -
|
154
|
+
- - ! '>='
|
155
155
|
- !ruby/object:Gem::Version
|
156
156
|
version: '0'
|
157
157
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
158
158
|
requirements:
|
159
|
-
- -
|
159
|
+
- - ! '>='
|
160
160
|
- !ruby/object:Gem::Version
|
161
161
|
version: '0'
|
162
162
|
requirements: []
|
163
163
|
rubyforge_project:
|
164
|
-
rubygems_version: 2.
|
164
|
+
rubygems_version: 2.2.2
|
165
165
|
signing_key:
|
166
166
|
specification_version: 4
|
167
167
|
summary: Cinch Plugin that acts as a PAX countdown
|