hightime 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +14 -0
- data/.rubocop.yml +48 -0
- data/Gemfile +24 -0
- data/Guardfile +14 -0
- data/LICENSE.txt +22 -0
- data/README.md +2 -0
- data/Rakefile +1 -0
- data/hightime.gemspec +22 -0
- data/lib/hightime.rb +5 -0
- data/lib/hightime/version.rb +3 -0
- metadata +82 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: e833d41242d53d8284186d3df0755fa5096f6807
|
4
|
+
data.tar.gz: 1e53d46721372b7236eb5eaf05e7bafd35fc54e6
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 486cf181cb2caa0a4b8dac2c5865ee374b4a721afea0baa285290ea287fc7449693e96534598ee10969b3dcbc21b944ef780b2b26875eea5f46a92fb2283ab41
|
7
|
+
data.tar.gz: ac4ffce48216d68abcf707b44c69953fca2249501d4fa7d375f78e158380a930c98fae204ebb254d9bd78500e9cea678f00d5b0c4736bfc461b2baca5beddf97
|
data/.gitignore
ADDED
data/.rubocop.yml
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
AllCops:
|
2
|
+
Include:
|
3
|
+
- '**/*.gemspec'
|
4
|
+
- '**/Gemfile'
|
5
|
+
- '**/Rakefile'
|
6
|
+
- '**/Guardfile'
|
7
|
+
- '**/Thorfile'
|
8
|
+
Exclude:
|
9
|
+
- 'vendor/**/*'
|
10
|
+
|
11
|
+
Style/ClassAndModuleChildren:
|
12
|
+
Enabled: false
|
13
|
+
|
14
|
+
Metrics/MethodLength:
|
15
|
+
Enabled: false
|
16
|
+
|
17
|
+
Documentation:
|
18
|
+
Enabled: false
|
19
|
+
|
20
|
+
AndOr:
|
21
|
+
Enabled: false
|
22
|
+
|
23
|
+
# Allow use of empty lines to visually group code into 'paragraphs'
|
24
|
+
EmptyLines:
|
25
|
+
Enabled: false
|
26
|
+
Style/EmptyLinesAroundBlockBody:
|
27
|
+
Enabled: false
|
28
|
+
Style/EmptyLinesAroundClassBody:
|
29
|
+
Enabled: false
|
30
|
+
Style/EmptyLinesAroundMethodBody:
|
31
|
+
Enabled: false
|
32
|
+
Style/EmptyLinesAroundModuleBody:
|
33
|
+
Enabled: false
|
34
|
+
Style/ModuleFunction:
|
35
|
+
Enabled: false
|
36
|
+
|
37
|
+
TrailingComma:
|
38
|
+
Enabled: true
|
39
|
+
EnforcedStyleForMultiline: comma
|
40
|
+
SupportedStyles:
|
41
|
+
- comma
|
42
|
+
- no_comma
|
43
|
+
|
44
|
+
Style/ColonMethodCall:
|
45
|
+
Enabled: false
|
46
|
+
|
47
|
+
Style/AlignParameters:
|
48
|
+
Enabled: false
|
data/Gemfile
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
|
3
|
+
# Specify your gem's dependencies in hightime.gemspec
|
4
|
+
gemspec
|
5
|
+
|
6
|
+
group :development, :test do
|
7
|
+
# Interactive debugger
|
8
|
+
gem 'pry-byebug'
|
9
|
+
|
10
|
+
# Test framework
|
11
|
+
gem 'rspec'
|
12
|
+
|
13
|
+
# Automatic test runner
|
14
|
+
gem 'guard-rspec'
|
15
|
+
gem 'guard-rubocop'
|
16
|
+
|
17
|
+
# Linters
|
18
|
+
gem 'rubocop'
|
19
|
+
gem 'rubocop-rspec'
|
20
|
+
|
21
|
+
# Lock rubocop parser to a specific version
|
22
|
+
# https://github.com/bbatsov/rubocop/issues/1934
|
23
|
+
gem 'parser', '~> 2.2.2.6'
|
24
|
+
end
|
data/Guardfile
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
# Only run the linter if tests pass
|
2
|
+
group :red_green_refactor, halt_on_fail: true do
|
3
|
+
|
4
|
+
# Run all tests when any Ruby file changes
|
5
|
+
guard :rspec, all_on_start: true, cmd: 'bundle exec rspec' do
|
6
|
+
watch(/\.rb$/) { 'spec' }
|
7
|
+
end
|
8
|
+
|
9
|
+
# Lint all code when any Ruby file changes
|
10
|
+
guard :rubocop do
|
11
|
+
watch('Gemfile')
|
12
|
+
watch(/\.rb$/)
|
13
|
+
end
|
14
|
+
end
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2016 Louis Pilfold
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require 'bundler/gem_tasks'
|
data/hightime.gemspec
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'hightime/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'hightime'
|
8
|
+
spec.version = HighTime::VERSION
|
9
|
+
spec.authors = ['Louis Pilfold']
|
10
|
+
spec.email = ['louis@lpil.uk']
|
11
|
+
spec.summary = 'Simple time tracking with easy multi-machine syncing.'
|
12
|
+
spec.homepage = ''
|
13
|
+
spec.license = 'MIT'
|
14
|
+
|
15
|
+
spec.files = `git ls-files -z`.split("\x0")
|
16
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
17
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
18
|
+
spec.require_paths = ['lib']
|
19
|
+
|
20
|
+
spec.add_development_dependency 'bundler', '~> 1.7'
|
21
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
22
|
+
end
|
data/lib/hightime.rb
ADDED
metadata
ADDED
@@ -0,0 +1,82 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: hightime
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Louis Pilfold
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-01-06 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.7'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.7'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
description:
|
42
|
+
email:
|
43
|
+
- louis@lpil.uk
|
44
|
+
executables: []
|
45
|
+
extensions: []
|
46
|
+
extra_rdoc_files: []
|
47
|
+
files:
|
48
|
+
- ".gitignore"
|
49
|
+
- ".rubocop.yml"
|
50
|
+
- Gemfile
|
51
|
+
- Guardfile
|
52
|
+
- LICENSE.txt
|
53
|
+
- README.md
|
54
|
+
- Rakefile
|
55
|
+
- hightime.gemspec
|
56
|
+
- lib/hightime.rb
|
57
|
+
- lib/hightime/version.rb
|
58
|
+
homepage: ''
|
59
|
+
licenses:
|
60
|
+
- MIT
|
61
|
+
metadata: {}
|
62
|
+
post_install_message:
|
63
|
+
rdoc_options: []
|
64
|
+
require_paths:
|
65
|
+
- lib
|
66
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - ">="
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '0'
|
71
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
requirements: []
|
77
|
+
rubyforge_project:
|
78
|
+
rubygems_version: 2.4.5
|
79
|
+
signing_key:
|
80
|
+
specification_version: 4
|
81
|
+
summary: Simple time tracking with easy multi-machine syncing.
|
82
|
+
test_files: []
|