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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 85f5791969d140b5e4d65d80279bcedb1d32c978f24760b00853c8b71006732f
4
- data.tar.gz: 978b2c059e973a3f10fd4647168b4e557c80b8e2a3ad93c2ca2ad8cd4af60fcf
3
+ metadata.gz: 728332be49d57c6226af19dc1df9fb88912b29e5b68712e809d2ac4d9ffd2033
4
+ data.tar.gz: 86af8ab080876ac7dcd7d5930ec2f0452e77cce6eb8965a09a9813bdac3f606e
5
5
  SHA512:
6
- metadata.gz: 8ce87636aa8bf9760009b94cb24a073fbb04b0fb10eede6dd7881a273d6208de08bac418559bf6ef6facb82cc313554b578ba3cb0a30a2bd2616e00700c628e9
7
- data.tar.gz: c820beb3b3afe634d433cf847384b14fd7db9e817a8e22bcaad224e099ace536df0d6d1d5cfa8bfda3a234fe4bf3247ffe9b9cd714928e8ff76cdede8a100dd7
6
+ metadata.gz: c37b75f1badeb10885b3ceffa8e75ace5a0b1d9ecec5d61308ee575e469b3ddda4074d34c82592aab7080b734721c4faec6c33138e7507940e8963d48eef3019
7
+ data.tar.gz: 1bdc73053e0a38ace17b1f93a6cc03aeac3574918bcd3d1d7ca42acf02a320590f13def6e105ac829a51e8b90cfc8464869f3a0170542280ddf078cca6d09c46
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module StudyLine
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.4"
5
5
  end
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
- # 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"
@@ -38,7 +38,7 @@ module StudyLine
38
38
  )
39
39
  # Handle the response...
40
40
  if response.success?
41
- puts "Study session started successfully."
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.2
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-05 00:00:00.000000000 Z
11
+ date: 2023-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor