business_time 0.7.5 → 0.7.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6a751f4e1f9392f84ebca332f961e63434779054
4
- data.tar.gz: aed6514ab58ee91cac9d45414459d12cdb7b9e7f
3
+ metadata.gz: fa33d75fb27abb66e9f44d8c430961ca432fe303
4
+ data.tar.gz: f8e3c1148153ebb4fce31bc05a6603c25abfd3ac
5
5
  SHA512:
6
- metadata.gz: 4e98626ba766dccef9d6f7826b456e17eada6258ad1e130d39a6fa423b4e99b9e301b8fb0748dfe6af5d172073b84c646ff96edaa4544fb1fa1ce60f4a49674d
7
- data.tar.gz: 147619baf4a120328a78df160e4469874a040559b7acd4fb1fff5eacd0fb199ad904a3c239b25f376bdd63ffb6e1ecbeb722d8078163c69ea3a41adbf050e321
6
+ metadata.gz: 360b32c10bd2770d9b94afa1ed59ce5f7c19727ab1d57ee8e9ccce094fe5d93047e0eede60e6901f1871639f1cdde053ef7b689028d9c515a06b4c9b0395a2e5
7
+ data.tar.gz: c59520475d4f33fec04890af755f25d57155d57bcbbc73ce1213b1a90a8759ee5c2a6d825f5c00bbb3dd6ad3b43be6c9a90b5b9b260b0098cb48b5fd707decf6
@@ -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
- if Time.zone
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
 
@@ -1,3 +1,3 @@
1
1
  module BusinessTime
2
- VERSION = "0.7.5"
2
+ VERSION = "0.7.6"
3
3
  end
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.5
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-04-05 00:00:00.000000000 Z
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.4.5
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