working_days 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright 2011 Internetbureau Holder. http://www.holder.nl
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc ADDED
@@ -0,0 +1,31 @@
1
+ == Working Days
2
+
3
+ Add Working Days support to the Ruby Time Class
4
+
5
+ === Introduction
6
+
7
+ This gem adds functions to the Ruby Time Class to calculate working days
8
+
9
+ === Installation
10
+
11
+ Just add the gem to your Gemfile and run bundle install
12
+
13
+ === How-To-Use
14
+
15
+ You can add a number of workig days to an existing Time object:
16
+
17
+ Time.now.plus_working_days(6)
18
+
19
+ By default saturdays and sunday are not counted as working days
20
+
21
+ === Authors
22
+
23
+ * Chiel Wester ({github.com/chielwester}[http://github.com/chielwester])
24
+
25
+ === Contact us
26
+
27
+ For support, remarks and requests, please mail me at {chiel.wester@holder.nl}[mailto:chiel.wester@holder.nl].
28
+
29
+ === License
30
+
31
+ MIT License. Copyright 2011 Internetbureau Holder B.V. - http://www.holder.nl
@@ -1,3 +1,3 @@
1
1
  module WorkingDays
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/working_days.gemspec CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
7
7
  s.version = WorkingDays::VERSION
8
8
  s.authors = ["Chiel Wester"]
9
9
  s.email = ["chiel.wester@holder.nl"]
10
- s.homepage = ""
10
+ s.homepage = "https://github.com/chielwester/working_days"
11
11
  s.summary = "Working days time extension"
12
12
  s.description = "Add a number of working days to a Time object"
13
13
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: working_days
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.1
5
+ version: 0.0.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Chiel Wester
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-10-17 00:00:00 +02:00
13
+ date: 2011-10-18 00:00:00 +02:00
14
14
  default_executable:
15
15
  dependencies: []
16
16
 
@@ -26,12 +26,14 @@ extra_rdoc_files: []
26
26
  files:
27
27
  - .gitignore
28
28
  - Gemfile
29
+ - MIT-LICENSE
30
+ - README.rdoc
29
31
  - Rakefile
30
32
  - lib/working_days.rb
31
33
  - lib/working_days/version.rb
32
34
  - working_days.gemspec
33
35
  has_rdoc: true
34
- homepage: ""
36
+ homepage: https://github.com/chielwester/working_days
35
37
  licenses: []
36
38
 
37
39
  post_install_message: