cyborg 0.5.8 → 0.5.9

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 10c7fc85107d039e3be21f652f763aa41b20a88b
4
- data.tar.gz: ddaf07aefc6cb04c9ac8c3e5500e8c8aa10308ad
3
+ metadata.gz: cbd1675b4286902f14a4c80de9dda042808f96a0
4
+ data.tar.gz: 4dc256c8fa0573f9365a4de6f3d955a98c3eb540
5
5
  SHA512:
6
- metadata.gz: 96fb13b716595b0cef0159a54a67b66a56b54436ce839493419836e2a31e0b41f19c6c26f10df7ea63dd4096615986702a40161c41de380ab02a6fe948fada12
7
- data.tar.gz: 460761c7b551ab79799bdbf46e4549f8591310e00c76497771cae9a2780611c280f318eb7ecad253b6fea99de9d3f9bedc2d1fc15c0b183f54833dd3bc7bebf1
6
+ metadata.gz: cda54ef9efd647a3783a4236c5d3892f5930c664eba6282c68eb081cb5793e6442dbb8846b24a0f2159ed31733c24b07ca9cfcaf6eeb8c1c5e006e04889574bc
7
+ data.tar.gz: f895f487c257cf45cbca1cf17e5c0b645b9d87c84eaae102272eafd4ad744933e175e6d5377206ed91e7459b934d9d36228780db75291da774db612a07a7e07f
@@ -128,7 +128,7 @@ module Cyborg
128
128
 
129
129
  def asset_url(file=nil)
130
130
 
131
- path = if Cyborg.production? || ENV[name.upcase + '_FORCE_LOCAL_ASSETS']
131
+ path = if Cyborg.production? && !ENV[name.upcase + '_FORCE_LOCAL_ASSETS']
132
132
  production_root
133
133
  else
134
134
  asset_root
@@ -1,3 +1,3 @@
1
1
  module Cyborg
2
- VERSION = "0.5.8"
2
+ VERSION = "0.5.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cyborg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.8
4
+ version: 0.5.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Mathis