king_of_time 0.1.2 → 0.1.3

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
  SHA1:
3
- metadata.gz: c740807ebced56ec71dc40fb122681931965b3cb
4
- data.tar.gz: 2579b4c31c7d9789501f27b939a7ce08f3f45fd3
3
+ metadata.gz: bd85d964d3b77f372bd4ba7cc6390111006f81dd
4
+ data.tar.gz: ae6b349ddd252bf39d2b04e8cce9ae9d55dac1e0
5
5
  SHA512:
6
- metadata.gz: ec99ee654105814bdddcf604ba195751fa1987d017bce93c0c747ffe965b933fefe7217ca95800a93ac3994dff3502dbc4fdacf9d7ced4b9b987fecbb349a8af
7
- data.tar.gz: 81d60189287c7c7d95f1f4f787af16194ba897542512fd5c3c3bfd7eade166c9212920b00d4b0eb246befeabd522bd7a6c1f31089d00ae8d8380d676173984d2
6
+ metadata.gz: 45b04844573d0c58d0cbfffa6534e6302492c1e05645feb947f382587ca481f0d896e23157a0d94d9d739c03b910ed86dc8545cd770a1e390b50721f8a76702c
7
+ data.tar.gz: d2096e1ef94fb2c8e824cdfb9033fb1d3a34e43813d076c7dd896303194f38d2933bcb8c3304677480a931200e29565db4f336d3f1f948eb38b71a940b92e75c
data/.rubocop.yml CHANGED
@@ -1,6 +1,7 @@
1
1
  AllCops:
2
2
  Exclude:
3
3
  - 'vendor/**/*'
4
+ - 'bin/**/*'
4
5
  DisplayCopNames: true
5
6
  TargetRubyVersion: 2.1
6
7
 
@@ -91,9 +92,6 @@ Style/ConstantName:
91
92
  Style/DefWithParentheses:
92
93
  Enabled: false
93
94
 
94
- Style/DeprecatedHashMethods:
95
- Enabled: false
96
-
97
95
  Style/Documentation:
98
96
  Enabled: false
99
97
 
data/.travis.yml CHANGED
@@ -2,4 +2,3 @@ language: ruby
2
2
  rvm:
3
3
  - 2.2.4
4
4
  - 2.3.0
5
- - rbx
data/README.md CHANGED
@@ -42,6 +42,12 @@ king_of_time = KingOfTime.new({
42
42
  # check in
43
43
  king_of_time.check_in
44
44
 
45
+ # start break
46
+ king_of_time.start_break
47
+
48
+ # end break
49
+ king_of_time.end_break
50
+
45
51
  # check out
46
52
  king_of_time.check_out
47
53
  ```
data/Rakefile CHANGED
@@ -1,2 +1,10 @@
1
1
  require "bundler/gem_tasks"
2
2
  task :default => :spec
3
+
4
+ begin
5
+ require 'rspec/core/rake_task'
6
+ RSpec::Core::RakeTask.new(:spec) do |spec|
7
+ spec.pattern = 'spec/**/*_spec.rb'
8
+ spec.rspec_opts = ['-cfp']
9
+ end
10
+ end
data/king_of_time.gemspec CHANGED
@@ -12,6 +12,7 @@ Gem::Specification.new do |spec|
12
12
  spec.summary = %q{King of Time HTTP client.}
13
13
  spec.description = %q{King of Time HTTP client.}
14
14
  spec.homepage = "https://github.com/matsubo/king_of_time"
15
+ spec.license = "MIT"
15
16
 
16
17
  # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
17
18
  # delete this section to allow pushing this gem to any host.
@@ -33,5 +34,6 @@ Gem::Specification.new do |spec|
33
34
  spec.add_development_dependency "pry-doc"
34
35
  spec.add_development_dependency "simplecov"
35
36
  spec.add_development_dependency "codeclimate-test-reporter"
37
+ spec.add_development_dependency "webmock"
36
38
 
37
39
  end
@@ -1,3 +1,3 @@
1
1
  class KingOfTime
2
- VERSION = '0.1.2'.freeze
2
+ VERSION = '0.1.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: king_of_time
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuki Matsukura
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-04-27 00:00:00.000000000 Z
11
+ date: 2016-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -136,6 +136,20 @@ dependencies:
136
136
  - - ">="
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: webmock
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
139
153
  description: King of Time HTTP client.
140
154
  email:
141
155
  - matsubokkuri@gmail.com
@@ -160,7 +174,8 @@ files:
160
174
  - lib/king_of_time.rb
161
175
  - lib/king_of_time/version.rb
162
176
  homepage: https://github.com/matsubo/king_of_time
163
- licenses: []
177
+ licenses:
178
+ - MIT
164
179
  metadata: {}
165
180
  post_install_message:
166
181
  rdoc_options: []
@@ -183,4 +198,3 @@ signing_key:
183
198
  specification_version: 4
184
199
  summary: King of Time HTTP client.
185
200
  test_files: []
186
- has_rdoc: