holiday_tools 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/.rspec +2 -0
- data/Gemfile +4 -0
- data/Guardfile +15 -0
- data/Rakefile +6 -0
- data/holiday_tools.gemspec +1 -1
- data/lib/holiday_tools/version.rb +1 -1
- data/spec/holiday_tools_spec.rb +5 -0
- data/spec/spec_helper.rb +21 -0
- metadata +10 -4
data/.rspec
ADDED
data/Gemfile
CHANGED
data/Guardfile
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
# A sample Guardfile
|
2
|
+
# More info at https://github.com/guard/guard#readme
|
3
|
+
|
4
|
+
guard 'bundler' do
|
5
|
+
watch('Gemfile')
|
6
|
+
# Uncomment next line if Gemfile contain `gemspec' command
|
7
|
+
watch(/^.+\.gemspec/)
|
8
|
+
end
|
9
|
+
|
10
|
+
guard :rspec do
|
11
|
+
watch(%r{^spec/.+_spec\.rb$})
|
12
|
+
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
|
13
|
+
watch('spec/spec_helper.rb') { "spec" }
|
14
|
+
end
|
15
|
+
|
data/Rakefile
CHANGED
data/holiday_tools.gemspec
CHANGED
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# This file was generated by the `rspec --init` command. Conventionally, all
|
2
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
3
|
+
# Require this file using `require "spec_helper"` to ensure that it is only
|
4
|
+
# loaded once.
|
5
|
+
#
|
6
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
7
|
+
|
8
|
+
$:.unshift File.dirname(__FILE__) + '/../lib'
|
9
|
+
require 'holiday_tools'
|
10
|
+
|
11
|
+
RSpec.configure do |config|
|
12
|
+
config.treat_symbols_as_metadata_keys_with_true_values = true
|
13
|
+
config.run_all_when_everything_filtered = true
|
14
|
+
config.filter_run :focus
|
15
|
+
|
16
|
+
# Run specs in random order to surface order dependencies. If you find an
|
17
|
+
# order dependency and want to debug it, you can fix the order by providing
|
18
|
+
# the seed, which is printed after each run.
|
19
|
+
# --seed 1234
|
20
|
+
# config.order = 'random'
|
21
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: holiday_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -34,7 +34,7 @@ dependencies:
|
|
34
34
|
requirements:
|
35
35
|
- - ~>
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: '2.
|
37
|
+
version: '2.13'
|
38
38
|
type: :development
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -42,7 +42,7 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - ~>
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version: '2.
|
45
|
+
version: '2.13'
|
46
46
|
description: List regions of public holidays
|
47
47
|
email:
|
48
48
|
- wolfkibe@gmail.com
|
@@ -52,8 +52,10 @@ extensions: []
|
|
52
52
|
extra_rdoc_files: []
|
53
53
|
files:
|
54
54
|
- .gitignore
|
55
|
+
- .rspec
|
55
56
|
- .rvmrc
|
56
57
|
- Gemfile
|
58
|
+
- Guardfile
|
57
59
|
- LICENSE
|
58
60
|
- README.md
|
59
61
|
- Rakefile
|
@@ -62,6 +64,8 @@ files:
|
|
62
64
|
- lib/holiday_tools.rb
|
63
65
|
- lib/holiday_tools/locator.rb
|
64
66
|
- lib/holiday_tools/version.rb
|
67
|
+
- spec/holiday_tools_spec.rb
|
68
|
+
- spec/spec_helper.rb
|
65
69
|
homepage: ''
|
66
70
|
licenses: []
|
67
71
|
post_install_message:
|
@@ -86,4 +90,6 @@ rubygems_version: 1.8.24
|
|
86
90
|
signing_key:
|
87
91
|
specification_version: 3
|
88
92
|
summary: Select date, period and regions for public holidays
|
89
|
-
test_files:
|
93
|
+
test_files:
|
94
|
+
- spec/holiday_tools_spec.rb
|
95
|
+
- spec/spec_helper.rb
|