time-sheet 0.5.4 → 0.5.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3cbdafda182552df811558746032def7460bcf2cd71c4ef4608f4b260120b2f2
4
- data.tar.gz: 4fbda57ddbb4ee1275b2ca1699995e56eea61f1f74b0d71ae450f022630c9920
3
+ metadata.gz: 9a7d11fda14a1cad65a8395b72a860a5e9323a18addd2f4c2ac89d99db8d7362
4
+ data.tar.gz: da26acdd9662217aa62cd3baa97516547ab1a597a69fbf36b4e1c550d06358fd
5
5
  SHA512:
6
- metadata.gz: 5862728f03fc7bbcbe9f4ac3a0b3d0bcd6417611797a866ff61bec5eea03cb966e1bd1cb98486092ea02c0d0705c77c2b92b4897a8cef14f41750614519552d6
7
- data.tar.gz: 125220f5c834b663d8d4698d4801ee5ccd6358384742fab4c8516d8e116db8700200fe0562e2c75656683d047596080491043e19dda86d33fa94825e3bc79070
6
+ metadata.gz: 295d61fc82e58c566f5573343b7e9a88bf0e10e3c22529ff8d237cc9a751520423e7e31396f54b0708d1c6d1c9965ef5244c7466cb0c943ea6f900e1409fa3a5
7
+ data.tar.gz: 4badb442e103db1da1c37f7c2dea78d8506409a60d5ae3dbf78aa10f736aa5d7fb456f4503d91a6f5cad782272c2a7fe84eac590c9754d98234d525fd612acc8
data/README.md CHANGED
@@ -12,7 +12,8 @@ gem install time-sheet
12
12
  ## Usage
13
13
 
14
14
  The gem bundles an executable which includes a help command, just run
15
- `time-sheet.rb --help`
15
+ `time-sheet.rb --help`. As an example spreadsheet, have a look at
16
+ [the sheet we use for tests](https://github.com/moritzschepp/time-sheet/raw/master/spec/data/time_log.xls).
16
17
 
17
18
  ## Contributing
18
19
 
@@ -103,7 +103,7 @@ class TimeSheet::Time::Cmd
103
103
  o.boolean '-v', '--verbose', 'be more verbose'
104
104
  o.separator "\n invoice options:"
105
105
  o.integer '--package', 'for invoice output: build packages of this duration in hours', default: 0
106
- o.integer '--petty', 'fold records of a certain threshold into a "misc" activity', default: 0
106
+ o.integer '--petty', 'fold records under a certain threshold into a "misc" activity', default: 0
107
107
  end
108
108
  end
109
109
 
@@ -1,3 +1,3 @@
1
1
  module TimeSheet
2
- VERSION = "0.5.4"
2
+ VERSION = "0.5.5"
3
3
  end
data/lib/time_sheet.rb CHANGED
@@ -1,7 +1,11 @@
1
1
  require 'time_sheet/version'
2
2
 
3
3
  if defined?(Bundler)
4
- require 'pry'
4
+ begin
5
+ require 'pry'
6
+ rescue LoadError => e
7
+ # do nothing, we are probably in production
8
+ end
5
9
  end
6
10
 
7
11
  module TimeSheet
data/time_sheet.gemspec CHANGED
@@ -14,9 +14,7 @@ Gem::Specification.new do |spec|
14
14
 
15
15
  spec.metadata = {
16
16
  "bug_tracker_uri" => "https://github.com/moritzschepp/time-sheet/issues",
17
- "documentation_uri" => "https://github.com/moritzschepp/time-sheet",
18
- "homepage_uri" => "https://github.com/moritzschepp/time-sheet",
19
- "source_code_uri" => "https://github.com/moritzschepp/time-sheet"
17
+ "documentation_uri" => "https://github.com/moritzschepp/time-sheet"
20
18
  }
21
19
 
22
20
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: time-sheet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Moritz Schepp
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-01-09 00:00:00.000000000 Z
11
+ date: 2019-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: spreadsheet
@@ -108,8 +108,6 @@ files:
108
108
  - Gemfile
109
109
  - README.md
110
110
  - Rakefile
111
- - bin/console
112
- - bin/setup
113
111
  - exe/time-sheet.rb
114
112
  - lib/time_sheet.rb
115
113
  - lib/time_sheet/table_printer.rb
@@ -127,8 +125,6 @@ licenses:
127
125
  metadata:
128
126
  bug_tracker_uri: https://github.com/moritzschepp/time-sheet/issues
129
127
  documentation_uri: https://github.com/moritzschepp/time-sheet
130
- homepage_uri: https://github.com/moritzschepp/time-sheet
131
- source_code_uri: https://github.com/moritzschepp/time-sheet
132
128
  post_install_message:
133
129
  rdoc_options: []
134
130
  require_paths:
data/bin/console DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "bundler/setup"
4
- require "mps"
5
-
6
- # You can add fixtures and/or initialization code here to make experimenting
7
- # with your gem easier. You can also use a different console, if you like.
8
-
9
- # (If you use this, don't forget to add pry to your Gemfile!)
10
- # require "pry"
11
- # Pry.start
12
-
13
- require "irb"
14
- IRB.start(__FILE__)
data/bin/setup DELETED
@@ -1,8 +0,0 @@
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