study_line 0.1.4 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/study_line/version.rb +1 -1
- data/lib/study_line.rb +3 -3
- 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: e834202206c37e43391e3b620248580eca4c9f470987a963813c6bf1183c631f
|
4
|
+
data.tar.gz: 62bb6df39fbe100698b8943f116bef541364ba0d8fc97cd2d6b83aa535dd1a9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ab22684086c77ad1df2a8fbb1922acd4e4b841b6a7769e40701564c62c8e871e6983ab4356d72c45d1b0cbc47ac21842e46bad388b12b80e4b5e4e2c3a32127
|
7
|
+
data.tar.gz: f89556d3931b39bdfb5001136171e8495bd255a2c6c54fe07a2d4d217e4454a24eb7cc3edb1b4b1986fd2c38e810bd7b700adc36743d06b2ac26306578a90cf3
|
data/lib/study_line/version.rb
CHANGED
data/lib/study_line.rb
CHANGED
@@ -7,8 +7,8 @@ module StudyLine
|
|
7
7
|
class CLI < Thor
|
8
8
|
class Sender
|
9
9
|
include HTTParty
|
10
|
-
|
11
|
-
BASE_URI = 'http://localhost:3000/dashboard'
|
10
|
+
BASE_URI = 'https://studyline-cc21ae1829fc.herokuapp.com/dashboard/'
|
11
|
+
# BASE_URI = 'http://localhost:3000/dashboard'
|
12
12
|
end
|
13
13
|
desc "start", "Record the start time of study"
|
14
14
|
method_option :tag, aliases: "-t", desc: "Tag for the study session"
|
@@ -40,7 +40,7 @@ module StudyLine
|
|
40
40
|
if response.success?
|
41
41
|
puts "Study session finished successfully."
|
42
42
|
else
|
43
|
-
error_message = response.parsed_response['
|
43
|
+
error_message = response.parsed_response['message'] || 'Unknown error'
|
44
44
|
puts "Error: #{error_message}"
|
45
45
|
end
|
46
46
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: study_line
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kentaro0215
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-12-
|
11
|
+
date: 2023-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|