business_time 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +1 -27
- data/lib/business_time/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa0158cf6f58b97d18d14f31f5e1fa969b880cd7
|
4
|
+
data.tar.gz: f7144c2f47e4ce925c19d661715212469f278245
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 015f73637a4d3958b08442811e12552edfb68a251c6b5624e57ed46ec8fc923f48a70105d3082da292ada0c4fe3eeda590a8b228b038fde1c2e513411561d1d6
|
7
|
+
data.tar.gz: 7374e3d3c4264f29a5447408fb4932a2099af93b3e628a3f5a10a950ce27ea599fe624e3bd1158f564e66293e292177aadc6819e34db85a05a289c72568f72be
|
data/README.rdoc
CHANGED
@@ -42,7 +42,7 @@ I needed this, but taking into account business hours/days and holidays.
|
|
42
42
|
1.business_day.ago
|
43
43
|
4.business_days.ago
|
44
44
|
8.business_days.ago
|
45
|
-
|
45
|
+
|
46
46
|
Date.today.workday?
|
47
47
|
Date.parse("2015-12-09").workday?
|
48
48
|
Date.parse("2015-12-12").workday?
|
@@ -164,32 +164,6 @@ Timezone relative date handling gets more and more complicated every time you lo
|
|
164
164
|
# BusinessTime::Config.holidays << holiday[:date].next_week if !holiday[:date].weekday?
|
165
165
|
end
|
166
166
|
|
167
|
-
== Releases
|
168
|
-
|
169
|
-
0.9.0 - PR#143 - performance improvements on hour date calculations
|
170
|
-
PR#144 - new feature - Fiscal date methods.
|
171
|
-
|
172
|
-
0.8.0 - Ruby 2.4 compatibility 4/1/2017 (yes, this is the same as 0.9.0)
|
173
|
-
I released the 2.4 upgrade separately than the other new features
|
174
|
-
so that people have an upgrade path to 2.4 without mixing in new
|
175
|
-
features.
|
176
|
-
Forces a particular date format for Regex
|
177
|
-
A small change to include the version number in the project itself.
|
178
|
-
|
179
|
-
0.7.6 - Fixed a defect where timezone was not preserved when dealing with beginning_or_workday and end_of_workday.
|
180
|
-
Thanks bazzargh.
|
181
|
-
|
182
|
-
0.7.2 - 0.7.5 - many pull requests from contributors, and a changelog was not adequately kept. I regret that.
|
183
|
-
git blame is your friend for diagnosing these dark days.
|
184
|
-
|
185
|
-
0.7.1 - fixing a multithreaded issue, upgrading some dependencies, loosening the dependency on TZInfo
|
186
|
-
|
187
|
-
0.7.0 - major maintenance upgrade on the process of constructing the gem, testing the gem, and updating dependencies.
|
188
|
-
the api has not changed.
|
189
|
-
|
190
|
-
|
191
|
-
0.6.2 - rchady pointed out that issue #14 didn't appear to be released. This fixes that, as well as confirms that all tests run as expected on Ruby 2.0.0p195
|
192
|
-
|
193
167
|
== Contributors
|
194
168
|
* David Bock http://github.com/bokmann
|
195
169
|
* Enrico Bianco http://github.com/enricob
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: business_time
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- bokmann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 4.2.8
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 4.2.8
|
27
27
|
- !ruby/object:Gem::Dependency
|