holidays-ar 0.1.0 → 0.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1b7c9ffa6622b64fb95320ae2382a25c2b38ff1c
4
- data.tar.gz: dc82d23799ccd9ca8a3988bccd4b04227d73f271
3
+ metadata.gz: fde1ee74c2f9b77ae72477c8a7e9a22f21b8e5d9
4
+ data.tar.gz: 6224eed8ac13093f006730798dda7233328348af
5
5
  SHA512:
6
- metadata.gz: 2e04d9a8bdd1ba91571858e7e4ca4b54c7085b32d8cdb513e7d2507c83448faafd5a9b096c543954a3ad835a7892e6408079388382a8f66aba911e3ab8c20d1d
7
- data.tar.gz: c614c50c10864a5cab98d34eef4f168c485a69642c2192f913ab7022b692a501f66313401fd2db251e893297c7c499f02ef3e4207b09403236eed30eb946b4f2
6
+ metadata.gz: 0ad8432b89574e1e63fdd7946d25ae1a31f1b1667df5c92f7d803610c60d65fd9dbcd8affcd52f9e5c723c269d2119c8d4bb8666aa1f16f5db532abd9b2a96a3
7
+ data.tar.gz: ed7566a2dfe78008f2d2f76c58271a4fc905349b13788d680ca65d96af1680d54db910f2a7589caac4be4ab063e1ba5634f74b14e5796247d017be99f84e44e4
data/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Holidays::Ar
2
2
 
3
+ [![Build Status](https://travis-ci.org/EmanuelCadems/holidays-ar.svg?branch=master)](https://travis-ci.org/EmanuelCadems/holidays-ar)
4
+
5
+
3
6
  Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/holidays/ar`. To experiment with that code, run `bin/console` for an interactive prompt.
4
7
 
5
8
  TODO: Delete this and the text above, and describe your gem
@@ -22,7 +25,10 @@ Or install it yourself as:
22
25
 
23
26
  ## Usage
24
27
 
25
- TODO: Write usage instructions here
28
+ ```ruby
29
+ l = Holidays::Ar::Loader.new(2018)
30
+ l.exec
31
+ ```
26
32
 
27
33
  ## Development
28
34
 
@@ -32,7 +38,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
32
38
 
33
39
  ## Contributing
34
40
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/holidays-ar.
41
+ Bug reports and pull requests are welcome on GitHub at https://github.com/EmanuelCadems/holidays-ar.
36
42
 
37
43
  ## License
38
44
 
@@ -1,6 +1,5 @@
1
1
  require "holidays/ar/version"
2
2
  require "holidays/ar/loader"
3
- require "holidays/ar/date"
4
3
 
5
4
  module Holidays
6
5
  module Ar
@@ -1,5 +1,5 @@
1
1
  module Holidays
2
2
  module Ar
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: holidays-ar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emanuel Alarcón
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-09 00:00:00.000000000 Z
11
+ date: 2018-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -115,7 +115,6 @@ files:
115
115
  - bin/setup
116
116
  - holidays-ar.gemspec
117
117
  - lib/holidays/ar.rb
118
- - lib/holidays/ar/date.rb
119
118
  - lib/holidays/ar/loader.rb
120
119
  - lib/holidays/ar/version.rb
121
120
  homepage: https://github.com/EmanuelCadems/holidays-ar
@@ -1,6 +0,0 @@
1
- class Date
2
- def holiday?
3
- a = ENV['HOLIDAYS'].split(',')
4
- a.include?(self.to_s)
5
- end
6
- end