yopass 3.0.6 → 3.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NmY3MjcyZjAzODUyZmE4YmU3ZTU4YmMyOGQ5ZGUxMjUzZjBiMjI4Mg==
4
+ NTlmMmJiMzQyMzkzZjUyYTRhNzUyYzFkNDdlZjg1NTU0YTg2MWU2OQ==
5
5
  data.tar.gz: !binary |-
6
- YjA4NTY0MzZjY2Q0ZWNmNDgzZmNjMTg4OTI5YmEzNTJmN2FjNjI3NQ==
6
+ NWJlOTU5OTUzOWZmNDBlYjA3ODQwNzUwMjg2NTg2MjFlMDQyYzM5Mw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- Y2JiZjNjMGExMTUyNDI3OTQ0MGIxNmQ5MTUxM2NmN2JkNTY4OTExZmZmYTdm
10
- ZWFhMzcwOWZhOTZjZjI3NDUxODI5ZWE1MWZmZWQwMDU1NzAwYjFkOGRlNjZk
11
- MjU3Nzk2ZmYzODhkYzRlNmYzNTVhOTU2YWZmM2VhYTdjYmZiYTA=
9
+ YjA5YWY3OTgyZDFkYWI0N2I5ZWFmZWY5Y2RmNzZiMWJkNjdhNmM5Mzk1OTk4
10
+ NjJhMmFhNzUxNTA1NWMwM2NkZDMwMjUwYTIyYjczZTMxZmE4MmEzZWU0MGIz
11
+ ZWUyN2MxODZiZDY4YTc1NDVlZGVlZTFjOTVjZmJjODFjZmIyNDk=
12
12
  data.tar.gz: !binary |-
13
- NDM0ODdhZWZiYjkxM2QxZmE3NDZmOGQ1ZTkwMjU3YzQzZGQ3NDg2MDY4MTUx
14
- YmUzNmExOTc1MTMwODhiYTQxMjg0ZGQyOWY3NmRlZmQ4NjY1ODdjZGY3ZjUx
15
- Mjg1M2E2YjNjYWFlNDY2MzY2OWI0Y2ZiNzQyYWVjYmRmYzlhNDg=
13
+ ODg5ZTY3ZGM1YjMzNWIwZDVhMjc1MGJiNzNhMjRjMzU2OTE2YzJjYWRjMzdk
14
+ NGIyZWU0OWEzMWRhYzQ0ODE3OTliYmM4ODQxZGFlZTdlZjFhMDY2MjdjYWY0
15
+ NWJmMDgzNzQxZDBmYzQ4NmEyZjc2Y2MwNzlhOTA2ZjliMGI1MzU=
@@ -18,19 +18,17 @@ Invalid Decryption Key
18
18
  </div>
19
19
 
20
20
  <div ng-show="secret">
21
- <pre>{{secret}}</pre>
22
- This secret will not be viewable again, save it!
21
+ <pre>{{secret}}</pre>
22
+ This secret will not be viewable again, save it!
23
23
  </div>
24
24
 
25
- <div ng-show="display_form">
26
- <div class="jumbotron">
27
- <form novalidate ng-hide="secret">
28
- A decryption key is required to view this secret, please enter it below
29
- <div class="form-group">
30
- <label>Decryption Key</label>
31
- <input class="form-control" ng-model="form.decryption_key"></input>
32
- </div>
33
- <button type="submit" class="btn btn-primary" ng-click="view(form)">Decrypt Message</button>
34
- </form>
25
+ <div class="jumbotron" ng-show="display_form">
26
+ <form novalidate ng-hide="secret">
27
+ A decryption key is required to view this secret, please enter it below
28
+ <div class="form-group">
29
+ <label>Decryption Key</label>
30
+ <input class="form-control" ng-model="form.decryption_key"></input>
35
31
  </div>
32
+ <button type="submit" class="btn btn-primary" ng-click="view(form)">Decrypt Message</button>
33
+ </form>
36
34
  </div>
@@ -27,6 +27,7 @@ app.controller('ViewController', function($scope, $routeParams, $http) {
27
27
  .success(function(data, status, headers, config) {
28
28
  $scope.errorMessage = false;
29
29
  $scope.invalidPassword = false;
30
+ $scope.display_form = false;
30
31
  $scope.secret = data.secret;
31
32
  })
32
33
  .error(function(data, status, headers, config) {
@@ -1,7 +1,7 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  Gem::Specification.new do |s|
3
3
  s.name = 'yopass'
4
- s.version = '3.0.6'
4
+ s.version = '3.0.7'
5
5
  s.author = 'Johan Haals'
6
6
  s.email = 'johan@haals.se'
7
7
  s.homepage = 'https://github.com/jhaals/yopass'
@@ -21,6 +21,7 @@ Gem::Specification.new do |s|
21
21
  s.add_runtime_dependency 'rack', ['>= 1.5.0', '< 1.6']
22
22
  s.add_runtime_dependency 'sinatra', '~> 1.4'
23
23
  s.add_runtime_dependency 'sinatra-contrib', '~> 1.4'
24
+ s.add_runtime_dependency 'thin'
24
25
 
25
26
  s.add_development_dependency 'rake', '~> 10.4'
26
27
  s.add_development_dependency 'rspec', '~> 3.0'
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: 3.0.6
4
+ version: 3.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Johan Haals
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-06 00:00:00.000000000 Z
11
+ date: 2015-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: encryptor
@@ -86,6 +86,20 @@ dependencies:
86
86
  - - ~>
87
87
  - !ruby/object:Gem::Version
88
88
  version: '1.4'
89
+ - !ruby/object:Gem::Dependency
90
+ name: thin
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ! '>='
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ type: :runtime
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ! '>='
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
89
103
  - !ruby/object:Gem::Dependency
90
104
  name: rake
91
105
  requirement: !ruby/object:Gem::Requirement