business_time 0.7.5 → 0.7.6
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 +4 -4
- data/README.rdoc +6 -0
- data/lib/business_time/time_extensions.rb +1 -5
- data/lib/business_time/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa33d75fb27abb66e9f44d8c430961ca432fe303
|
4
|
+
data.tar.gz: f8e3c1148153ebb4fce31bc05a6603c25abfd3ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 360b32c10bd2770d9b94afa1ed59ce5f7c19727ab1d57ee8e9ccce094fe5d93047e0eede60e6901f1871639f1cdde053ef7b689028d9c515a06b4c9b0395a2e5
|
7
|
+
data.tar.gz: c59520475d4f33fec04890af755f25d57155d57bcbbc73ce1213b1a90a8759ee5c2a6d825f5c00bbb3dd6ad3b43be6c9a90b5b9b260b0098cb48b5fd707decf6
|
data/README.rdoc
CHANGED
@@ -167,6 +167,12 @@ I'm hoping Arild and I write some good blog entries on the subject at http://blo
|
|
167
167
|
|
168
168
|
== Releases
|
169
169
|
|
170
|
+
0.7.6 - Fixed a defect where timezone was not preserved when dealing with beginning_or_workday and end_of_workday.
|
171
|
+
Thanks bazzargh.
|
172
|
+
|
173
|
+
0.7.2 - 0.7.5 - many pull requests from contributors, and a changelog was not adequately kept. I regret that.
|
174
|
+
git blame is your friend for diagnosing these dark days.
|
175
|
+
|
170
176
|
0.7.1 - fixing a multithreaded issue, upgrading some dependencies, loosening the dependency on TZInfo
|
171
177
|
|
172
178
|
0.7.0 - major maintenance upgrade on the process of constructing the gem, testing the gem, and updating dependencies.
|
@@ -132,11 +132,7 @@ module BusinessTime
|
|
132
132
|
private
|
133
133
|
|
134
134
|
def change_business_time time, hour, min=0, sec=0
|
135
|
-
|
136
|
-
time.in_time_zone(Time.zone).change(:hour => hour, :min => min, :sec => sec)
|
137
|
-
else
|
138
|
-
time.change(:hour => hour, :min => min, :sec => sec)
|
139
|
-
end
|
135
|
+
time.change(:hour => hour, :min => min, :sec => sec)
|
140
136
|
end
|
141
137
|
end
|
142
138
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: business_time
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- bokmann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -137,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
137
137
|
version: '0'
|
138
138
|
requirements: []
|
139
139
|
rubyforge_project:
|
140
|
-
rubygems_version: 2.
|
140
|
+
rubygems_version: 2.5.1
|
141
141
|
signing_key:
|
142
142
|
specification_version: 4
|
143
143
|
summary: Support for doing time math in business hours and days
|