grape-app 0.3.16 → 0.3.17

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: ba46495e9f73ca9c6980afdfa4b4dd4b066bb210
4
- data.tar.gz: 1237ac6a71e4b5b007fffeec8f6a20e745594b6c
3
+ metadata.gz: 3c6dc65ec48a7aa2dc0a6d1b402fdf276cb24137
4
+ data.tar.gz: 6d1b37ea24dd51aea3bbed8b9e991db7ff524cc8
5
5
  SHA512:
6
- metadata.gz: 1939e63dff699aa7a82799da9411f64dee91a4483689fa6de8fcc74b6ef853539433bcb21cd5b0926b7f24b2dcd58db1ba187bc4a578137e341ce5091bc7d224
7
- data.tar.gz: 6e9cbc16670244592958644dd1878118ee27cc858f45bfa5639356c882ec3724a6899bacff1a55a57570cdc575320857fd9203d06304041f1025d7b9c7bf0627
6
+ metadata.gz: 12b53b277f820e2c0d34e9fa03c86c61ba867d1f0a19f5cb21422305c1ed87bd75edede7522dc383468140713733827088ee549b727934660f05f003cc3d0817
7
+ data.tar.gz: bd9e8e1fad8c4cf1f408b31527bfd69c23bfdc4e3d7e898e252abc29be38bd3e6e896cf7aa21bb19c9ba771365a3950903191d4c3c8e9b0df8b003ef5d027fef
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- grape-app (0.3.16)
4
+ grape-app (0.3.17)
5
5
  activesupport
6
6
  activesupport-json_encoder
7
7
  grape
data/grape-app.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'grape-app'
5
- s.version = '0.3.16'
5
+ s.version = '0.3.17'
6
6
  s.authors = ['Black Square Media Ltd']
7
7
  s.email = ['info@blacksquaremedia.com']
8
8
  s.summary = %{Stanalone Grape API apps}
@@ -1,5 +1,5 @@
1
1
  # Set default time-zone
2
- Time.zone = 'UTC'
2
+ Time.zone_default = Time.find_zone!('UTC')
3
3
 
4
4
  # Configure big-decimal encoding
5
5
  ActiveSupport.encode_big_decimal_as_string = false
@@ -20,6 +20,7 @@ RSpec.describe Grape::App do
20
20
 
21
21
  it 'should init with default time zone' do
22
22
  expect(Time.zone.name).to eq("UTC")
23
+ expect(Thread.new { Time.zone }.value.name).to eq("UTC")
23
24
  end
24
25
 
25
26
  it 'should configure i18n' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grape-app
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.16
4
+ version: 0.3.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Black Square Media Ltd