ruboty-toggl_multi 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b65675138c28fea4397d2ebb9a49e91aa0649a8d5b57d8e1a9d2010ca0f50a6e
4
- data.tar.gz: a37ec525395025d639fd076eda91b4a681ac4dbb46d27b847cd5d87e86cf2f40
3
+ metadata.gz: da6f648d78a1dcc81fc702e74e1520cdf468bb55b0439491e0255164a77bb806
4
+ data.tar.gz: c661b4e2101dd3fd674a04d0f39a1b4a00f4abe793d3989bed05d00aa5cf63ba
5
5
  SHA512:
6
- metadata.gz: 1102b22d523a7533740e0ca847f940c288568c8210b508ae008888410d71e5c3f8e8b625292d4b12650a79afc7ccd0868990ac8805de73945f10a83c384dbc4a
7
- data.tar.gz: 62352e31f3c79ef88baa15d425e212fbc5700787a4c405a030aa206f16d0e007508077579d2e799b72181b06ca50b433c8e688326e4cb2ba152343fdca34489f
6
+ metadata.gz: ca4fcdb3ebd1a95d18230679a490a7b33988b583813f2d832c38b5c1c1a38463c25e8b0e68b46c0df2a8215853d628ed3e8e1a633b4ff4206c2b4d681b584d21
7
+ data.tar.gz: 07b45867d5f0fea7bd256658be1d65700f686768f08ce51731d6d3fd3065b112440f64df0412ee04e09d441adc8ca6113c05ba4b541f302395243f18990e13a4
data/.gitignore CHANGED
@@ -6,6 +6,7 @@
6
6
  /pkg/
7
7
  /spec/reports/
8
8
  /tmp/
9
+ /Gemfile.lock
9
10
  /vendor
10
11
  /.env
11
12
 
@@ -16,14 +16,14 @@ module Ruboty
16
16
  )
17
17
 
18
18
  on(
19
- /start task (?<task>\S+)(?<project_name>.*)/,
19
+ /^start (?<task>\S+)(?<project_name>.*)/,
20
20
  name: 'start',
21
21
  description: 'start toggl task',
22
22
  all: true
23
23
  )
24
24
 
25
25
  on(
26
- /stop task/,
26
+ /^stop$/,
27
27
  name: 'stop',
28
28
  description: 'stop toggl task',
29
29
  all: true
@@ -52,7 +52,7 @@ module Ruboty
52
52
  pid: project ? project['id'] : nil
53
53
  }.stringify_keys)
54
54
 
55
- message.reply("started #{task}!")
55
+ message.reply("started #{task}#{project ? ' in ' + project['name'] : ''}.")
56
56
  rescue => e
57
57
  message.reply("error! #{e}")
58
58
  end
@@ -64,7 +64,7 @@ module Ruboty
64
64
 
65
65
  if current = toggl.get_current_time_entry
66
66
  toggl.stop_time_entry(current['id'])
67
- message.reply('task stopped')
67
+ message.reply('task stopped.')
68
68
  else
69
69
  message.reply('not running task.')
70
70
  end
@@ -1,5 +1,5 @@
1
1
  module Ruboty
2
2
  module TogglMulti
3
- VERSION = "0.1.1"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruboty-toggl_multi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - kimromi
@@ -102,11 +102,8 @@ extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
104
  - ".gitignore"
105
- - ".rspec"
106
- - ".travis.yml"
107
105
  - CODE_OF_CONDUCT.md
108
106
  - Gemfile
109
- - Gemfile.lock
110
107
  - LICENSE.txt
111
108
  - README.md
112
109
  - Rakefile
data/.rspec DELETED
@@ -1,3 +0,0 @@
1
- --format documentation
2
- --color
3
- --require spec_helper
@@ -1,7 +0,0 @@
1
- ---
2
- sudo: false
3
- language: ruby
4
- cache: bundler
5
- rvm:
6
- - 2.5.1
7
- before_install: gem install bundler -v 1.16.5
@@ -1,55 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- ruboty-toggl_multi (0.1.1)
5
- activesupport
6
- awesome_print
7
- ruboty
8
- togglv8
9
-
10
- GEM
11
- remote: https://rubygems.org/
12
- specs:
13
- activesupport (5.2.2)
14
- concurrent-ruby (~> 1.0, >= 1.0.2)
15
- i18n (>= 0.7, < 2)
16
- minitest (~> 5.1)
17
- tzinfo (~> 1.1)
18
- awesome_print (1.8.0)
19
- concurrent-ruby (1.1.4)
20
- dotenv (2.6.0)
21
- faraday (0.15.4)
22
- multipart-post (>= 1.2, < 3)
23
- i18n (1.5.1)
24
- concurrent-ruby (~> 1.0)
25
- logger (1.3.0)
26
- mem (0.1.5)
27
- minitest (5.11.3)
28
- multipart-post (2.0.0)
29
- oj (3.7.6)
30
- rake (12.3.2)
31
- ruboty (1.3.0)
32
- activesupport
33
- bundler
34
- dotenv
35
- mem
36
- slop
37
- slop (4.6.2)
38
- thread_safe (0.3.6)
39
- togglv8 (1.2.1)
40
- faraday
41
- logger
42
- oj
43
- tzinfo (1.2.5)
44
- thread_safe (~> 0.1)
45
-
46
- PLATFORMS
47
- ruby
48
-
49
- DEPENDENCIES
50
- bundler
51
- rake
52
- ruboty-toggl_multi!
53
-
54
- BUNDLED WITH
55
- 1.16.5