duo_security 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -16,6 +16,13 @@ The shell scripts depend upon three environment variables being set:
16
16
  DUO_SKEY=your_secret_key
17
17
  DUO_IKEY=your_integration_key
18
18
 
19
+ Then to attempt a login, run the following command:
20
+
21
+ duo username
22
+
23
+ The script prints some output, and exits with status 0 if it is a successful login,
24
+ and status 1 otherwise.
25
+
19
26
  ## Contributing
20
27
 
21
28
  Running the tests also depends upon the above three environment variables to be
@@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
15
15
  gem.require_paths = ["lib"]
16
16
  gem.version = DuoSecurity::VERSION
17
17
 
18
- gem.add_dependency "httparty", "~> 0.8.3"
18
+ gem.add_dependency "httparty", "~> 0.10"
19
19
 
20
20
  gem.add_development_dependency "vcr", "~> 2.2.4"
21
21
  gem.add_development_dependency "webmock", "~> 1.8.9"
@@ -1,3 +1,3 @@
1
1
  module DuoSecurity
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: duo_security
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,22 +9,27 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-05 00:00:00.000000000 Z
12
+ date: 2013-01-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty
16
- requirement: &70240733958400 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 0.8.3
21
+ version: '0.10'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70240733958400
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '0.10'
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: vcr
27
- requirement: &70240733957900 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ~>
@@ -32,10 +37,15 @@ dependencies:
32
37
  version: 2.2.4
33
38
  type: :development
34
39
  prerelease: false
35
- version_requirements: *70240733957900
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 2.2.4
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: webmock
38
- requirement: &70240733957380 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
51
  - - ~>
@@ -43,7 +53,12 @@ dependencies:
43
53
  version: 1.8.9
44
54
  type: :development
45
55
  prerelease: false
46
- version_requirements: *70240733957380
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 1.8.9
47
62
  description: Perform 2-factor authentication using duosecurity.com
48
63
  email:
49
64
  - marten@veldthuis.com
@@ -86,11 +101,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
86
101
  version: '0'
87
102
  requirements: []
88
103
  rubyforge_project:
89
- rubygems_version: 1.8.11
104
+ rubygems_version: 1.8.23
90
105
  signing_key:
91
106
  specification_version: 3
92
107
  summary: ''
93
108
  test_files:
94
109
  - spec/duo_security/api_spec.rb
95
110
  - spec/duo_security/attempt_spec.rb
96
- has_rdoc: