study_line 0.1.2 → 0.1.4
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: 728332be49d57c6226af19dc1df9fb88912b29e5b68712e809d2ac4d9ffd2033
|
4
|
+
data.tar.gz: 86af8ab080876ac7dcd7d5930ec2f0452e77cce6eb8965a09a9813bdac3f606e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c37b75f1badeb10885b3ceffa8e75ace5a0b1d9ecec5d61308ee575e469b3ddda4074d34c82592aab7080b734721c4faec6c33138e7507940e8963d48eef3019
|
7
|
+
data.tar.gz: 1bdc73053e0a38ace17b1f93a6cc03aeac3574918bcd3d1d7ca42acf02a320590f13def6e105ac829a51e8b90cfc8464869f3a0170542280ddf078cca6d09c46
|
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
|
-
BASE_URI = 'https://studyline-cc21ae1829fc.herokuapp.com/dashboard/'
|
11
|
-
|
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"
|
@@ -38,7 +38,7 @@ module StudyLine
|
|
38
38
|
)
|
39
39
|
# Handle the response...
|
40
40
|
if response.success?
|
41
|
-
puts "Study session
|
41
|
+
puts "Study session finished successfully."
|
42
42
|
else
|
43
43
|
error_message = response.parsed_response['error'] || 'Unknown error'
|
44
44
|
puts "Error: #{error_message}"
|
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.4
|
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-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|