yopass 2.1.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/.gemspec +1 -1
  3. data/CHANGELOG.md +4 -0
  4. data/lib/yopass.rb +2 -2
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d7545346b162a46c0382fd35e5e52c474a47e78f
4
- data.tar.gz: 3511540e87a17f20d6e06427ca159311a9962250
3
+ metadata.gz: d8737e97619dfbf47d67f0a95927c24b7412a711
4
+ data.tar.gz: 9ee35a10fc2a87ee1e1186e92e0c711f20b0ad11
5
5
  SHA512:
6
- metadata.gz: 22e7328dcc0241299bf3fdb4dc39a84d4cc52b645cb217f2fa06becd198d66fd80d68303b4c7fb8a78217410d981d2b04d9d23d73a7dc4a1115fc96689da15a7
7
- data.tar.gz: d21e8abb4d6cef79d30c4e3cb6ff1309b885fd3da2087a7f3ffdf2bb511bf36bd84e9f36a3c6b9b6d8f529b0a96554fd3e5b2741ed72f76342480d679473ad3f
6
+ metadata.gz: e169e6fb663eb0be78091599101e187d3983b99cf3cc8cbd6bd9131da7774ca9d853ae63b73341187b6581cc69f2ebd2345df781d4e868d993a138a0f620d8a1
7
+ data.tar.gz: 731d82907fe0bde431674edcc3c8f12d0431588ae487f470b2952ff062ff17d172caedb40e7c15412b82917041da63b3da8b9a667da5bd1833dd23d9c8de91a4
data/.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
  Gem::Specification.new do |s|
3
3
  # Metadata
4
4
  s.name = 'yopass'
5
- s.version = '2.1.0'
5
+ s.version = '2.1.1'
6
6
  s.author = 'Johan Haals'
7
7
  s.email = ['jhaals@spotify.com']
8
8
  s.homepage = 'https://github.com/jhaals/yopass'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Yopass changelog
2
2
 
3
+ ### 2.1.1
4
+
5
+ * fix missconfigured template rendering when sending decryption key over SMS
6
+
3
7
  ### 2.1.0
4
8
 
5
9
  * remove /get part from URLs
data/lib/yopass.rb CHANGED
@@ -100,8 +100,8 @@ class Yopass < Sinatra::Base
100
100
  unless params[:mobile_number].empty?
101
101
  sms.send(mobile_number, decryption_key)
102
102
  return erb :secret_url, locals: {
103
- full_url: URI.join(settings.base_url, key, decryption_key),
104
- short_url: URI.join(settings.base_url, "get?k=#{key}"),
103
+ full_url: URI.join(settings.base_url, key + '/' + decryption_key),
104
+ short_url: URI.join(settings.base_url, key),
105
105
  decryption_key: decryption_key,
106
106
  key_sent_to_mobile: true }
107
107
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yopass
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Johan Haals
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-24 00:00:00.000000000 Z
11
+ date: 2014-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: encryptor