mrpin-sdk 1.0.12 → 1.0.13

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: 88b56259bd104608e1cce067de12b6f2c8561965
4
- data.tar.gz: 698b4dd109b802b6f8ab5c116b5f96d3a28c3cb7
3
+ metadata.gz: 4e23b49d85686e657ac6fd0de87330262520e153
4
+ data.tar.gz: 2b3ff490aae3b54906da69be81306cf7565edf1c
5
5
  SHA512:
6
- metadata.gz: 57b3108d0eec262bba71f406d0892bd282f1ac782da821e83d871ad7089cd4b0bd0c14f5d97738606e9ec913e8c5b9818373ec6c48385d9fec8512af6d66a6a8
7
- data.tar.gz: 8326060798ea4f005c6c1f351f929b17c86a407711fe0df85bd0ced3c56c5673a9ccafb7b4e2d5d54c5bbca067d41058638efbbfffe78fa04b165d8200ab74f6
6
+ metadata.gz: 18a49f60e3524272ef40c78f3c18215a35b04bb0ff61eb616f66cb5ebb4c3ec7cee54fabed82398663f40aad73c459bfae86e370054c60f153fbc638c3c0740f
7
+ data.tar.gz: eaf76b9635bc4ad0cf66c172c53ad5f0c590141fd2faeb0224eefa97bb1fc897cca1a37249c2d79653e45bff5704a46805c3532ae2ac262f86127421169896bf
@@ -10,7 +10,9 @@ module UtilsIO
10
10
 
11
11
  file_path = file_path.gsub(root_dir, '')
12
12
 
13
- File.join('https://', AppInfo.instance.host, file_path)
13
+ protocol = Rails.env.development? ? 'http://' : 'https://'
14
+
15
+ File.join(protocol, AppInfo.instance.host, file_path)
14
16
  end
15
17
 
16
18
  public
data/lib/mrpin/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Mrpin
2
- VERSION = '1.0.12'
2
+ VERSION = '1.0.13'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mrpin-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.12
4
+ version: 1.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregory
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2017-03-09 00:00:00.000000000 Z
14
+ date: 2017-03-10 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler