study_line 0.2.5 → 0.2.7

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: ada0c88190e29678edfc2787ea81270da252984e64172370891c8d21bf7ea7f4
4
- data.tar.gz: cf60ace775b7ea75561835f6ef77b434cb984b559fac9e9dd221877d947f899d
3
+ metadata.gz: d9540af7619a16d33c3d0121d5444b8ea7df4d924e8ced2e8ece4190c0402ee6
4
+ data.tar.gz: aac15289a82ea1e2619e111b04e91e80d2f29be15ea1a5e8a20d9f382b47e5b1
5
5
  SHA512:
6
- metadata.gz: 242ef752119c668ae25db0a9c9931523c2dccb715b8295a6fee5c8502cc969d12f7a7f31b4e96a4d06645134f286c7dbf65145c0d8a6da942bfdf30f8ae4bc62
7
- data.tar.gz: 9c36ff3d67fc5a70fdf481750350e0323481b9c6e74ce86e8ccb2d1be5cfba134039822cf303c0256bc61df81446fe7b584414eb5eef2db42847f7001ce671f9
6
+ metadata.gz: 55660ee8462dcde5011867df281bccc0ce0f66bf9f041edc6e8bd210185772cd49d917d65601070d858f59b18940e077daaa9486589546a18b75e1e3f6dc8f15
7
+ data.tar.gz: e831f1590866d33daab51bf1167eb51fc6ace9da4ef83ab6890a85b9553f36cca139d02ac1572bddccf33e2f99891efed785e651b4d2e4c9bebaadf5ae6c03d7
data/bin/console ADDED
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require "bundler/setup"
5
+ require "study_line"
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ require "irb"
11
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/bin/stl ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require_relative "../lib/study_line"
4
+
5
+ StudyLine::CLI.start(ARGV)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module StudyLine
4
- VERSION = "0.2.5"
4
+ VERSION = "0.2.7"
5
5
  end
data/lib/study_line.rb CHANGED
@@ -17,8 +17,8 @@ module StudyLine
17
17
 
18
18
  class Sender
19
19
  include HTTParty
20
- # BASE_URI = 'https://studyline-cc21ae1829fc.herokuapp.com/api/study_sessions'
21
- BASE_URI = 'http://localhost:3000/api/study_sessions'
20
+ BASE_URI = 'https://studyline-cc21ae1829fc.herokuapp.com/api/study_sessions'
21
+ # BASE_URI = 'http://localhost:3000/api/study_sessions'
22
22
  end
23
23
  desc "start", "学習セッションの開始時間を記録します。"
24
24
  method_option :tag, aliases: "-t", desc: "タグを作成オプション"
Binary file
Binary file
data/study_line.gemspec CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
26
26
  spec.files = Dir.chdir(__dir__) do
27
27
  `git ls-files -z`.split("\x0").reject do |f|
28
28
  (File.expand_path(f) == __FILE__) ||
29
- f.start_with?(*%w[bin/ test/ spec/ features/ .git .circleci appveyor Gemfile])
29
+ f.start_with?(*%w[test spec features .git .circleci appveyor Gemfile])
30
30
  end
31
31
  end
32
32
  spec.bindir = "bin"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: study_line
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - kentaro0215
@@ -27,7 +27,10 @@ dependencies:
27
27
  description:
28
28
  email:
29
29
  - ken.runteq0215@gmail.com
30
- executables: []
30
+ executables:
31
+ - console
32
+ - setup
33
+ - stl
31
34
  extensions: []
32
35
  extra_rdoc_files: []
33
36
  files:
@@ -37,6 +40,9 @@ files:
37
40
  - CHANGELOG.md
38
41
  - README.md
39
42
  - Rakefile
43
+ - bin/console
44
+ - bin/setup
45
+ - bin/stl
40
46
  - lib/study_line.rb
41
47
  - lib/study_line/version.rb
42
48
  - sig/study_line.rbs
@@ -44,6 +50,8 @@ files:
44
50
  - study_line-0.2.2.gem
45
51
  - study_line-0.2.3.gem
46
52
  - study_line-0.2.4.gem
53
+ - study_line-0.2.5.gem
54
+ - study_line-0.2.6.gem
47
55
  - study_line.gemspec
48
56
  - vendor/bundle/ruby/3.2.0/bin/dotenv
49
57
  - vendor/bundle/ruby/3.2.0/bin/htmldiff