finnish-holidays 0.1.3 → 0.1.4

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
  SHA1:
3
- metadata.gz: 3bbe7e4e268257c6691a14df4dfcc4f27c170c7e
4
- data.tar.gz: d27aa9951ff50ac2de4e2dc005212d0e2c255608
3
+ metadata.gz: 2c15736eed0cd1630d850118e61200b9936ea0df
4
+ data.tar.gz: 9e48954f4659fe0a7465c88ea8a88985ac737fb7
5
5
  SHA512:
6
- metadata.gz: 71e0986a518ce44295a8b3beb55f7a210de640ec747bbddb05d5ab21cde4b9ae674ac6ccdc15429c58c12e5c5640a691e6dd12a0e4e8daadb542f5d347858b74
7
- data.tar.gz: e563211a232967cb61d4ce8fd4277a586a9a66e4260e99306e2f844ee35c3d0f9e5734ac770409d164faa629512d7835fa1caecfabb2a2a7a340681ea749481b
6
+ metadata.gz: 20947d99388deb6e18793170e717f885656b6d0cb4701e793d8687e94716ac5dfad3f9d45401b18bd3da1b616f052835bf5f4d76f27ed80fbeb345f28d21f5f4
7
+ data.tar.gz: 1b56dca6f8aef598a69fd47ce23e1f6410778e4f129f7a3f8c885763a9f555b33c71c7aff6970de9c8a4baa5fc40246677ca97ea2ed82365d56cc3479df4b942
data/README.md CHANGED
@@ -19,8 +19,18 @@ Or install it yourself as:
19
19
 
20
20
  $ gem install finnish-holidays
21
21
 
22
- ## Usage
22
+ ## CLI Usage
23
23
 
24
- ```
25
- ruby bin/finnish-holidays.rb
24
+ $ finnish-holidays
25
+
26
+ Help:
27
+
28
+ $ finnish-holidays --help
29
+
30
+ ## In Code
31
+
32
+ ```ruby
33
+ require 'finnish-holidays'
34
+
35
+ FinnishHolidays.holidays()
26
36
  ```
data/bin/finnish-holidays CHANGED
@@ -13,7 +13,7 @@ optparse = OptionParser.new do |opts|
13
13
  end
14
14
 
15
15
  options[:all] = false
16
- opts.on('-a', '--all', 'Exclude holidays falling on a weekend') do
16
+ opts.on('-a', '--all', 'Include holidays falling on a weekend') do
17
17
  options[:all] = true
18
18
  end
19
19
 
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module FinnishHolidays
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: finnish-holidays
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Nishio
@@ -83,9 +83,7 @@ files:
83
83
  - LICENSE.txt
84
84
  - README.md
85
85
  - Rakefile
86
- - bin/console
87
86
  - bin/finnish-holidays
88
- - bin/setup
89
87
  - data/.gitkeep
90
88
  - finnish-holidays.gemspec
91
89
  - lib/calendar.rb
data/bin/console DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "bundler/setup"
4
- require "finnish-holidays"
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
data/bin/setup DELETED
@@ -1,7 +0,0 @@
1
- #!/bin/bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
-
5
- bundle install
6
-
7
- # Do any other automated setup that you need to do here