onetime 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Binary file
@@ -1,11 +1,16 @@
1
1
  ONETIME, CHANGES
2
2
 
3
+ #### 0.4.1 (2013-02-12) ###############################
4
+
5
+ * CHANGE: All releases will now be signed. See "Installation" in the readme.
6
+ * CHANGE: json dependency upgraded from 1.6.4 to 1.6.8
7
+
3
8
  #### 0.4.0 (2012-01-07) ###############################
4
9
 
5
10
  * ADDED: Support for ttl, passphrase, and email recipient
6
11
  * ADDED: Better error handling
7
- * CHANGED: env variable ONETIME_ACCOUNT -> ONETIME_CUSTID
8
- * CHANGED: global option -u is now -H
12
+ * CHANGE: env variable ONETIME_ACCOUNT -> ONETIME_CUSTID
13
+ * CHANGE: global option -u is now -H
9
14
 
10
15
 
11
16
  #### 0.3.1 (2012-01-06) ###############################
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  **Keep sensitive info out of your chat logs & email.**
4
4
 
5
5
  ## Basic Usage ##
6
-
6
+
7
7
  Use `onetime` to share something you know (a secret phrase, a special link, etc) or to generate a secret (e.g. a temporary password).
8
8
 
9
9
  ### onetime share ###
@@ -21,15 +21,15 @@ You can type it:
21
21
  https://onetimesecret.com/secret/3djys3b7tridrcvbiprqjejz0c2g07x
22
22
 
23
23
  And you can read from a file:
24
-
24
+
25
25
  $ <path/2/file onetime
26
26
  https://onetimesecret.com/secret/8f8k3ajhax87ctln3h6y11nsb4vf0wq
27
-
27
+
28
28
  *Note that we don't use `cat` in that example! We don't want to provoke the [ire of Randal L. Schwartz](http://partmaps.org/era/unix/award.html).*
29
29
 
30
30
 
31
31
  ### onetime generate ###
32
-
32
+
33
33
  $ onetime generate
34
34
  Your secret: CttenFwzVpjs
35
35
  https://onetimesecret.com/secret/er5djg1wodsp5m32oyym489bnuhsfp6
@@ -38,7 +38,7 @@ And you can read from a file:
38
38
  ## Output Format ##
39
39
 
40
40
  `onetime` also supports YAML, JSON, and to a limited extent CSV outputs. Specify the format using the `-f ` global option:
41
-
41
+
42
42
  $ onetime -f yaml generate
43
43
  ---
44
44
  value: MhYcuge9VxtX
@@ -46,11 +46,24 @@ And you can read from a file:
46
46
  secret_key: 8f8k3ajhax87ctln3h6y11nsb4vf0wq
47
47
  ttl: 172800
48
48
  passphrase_required: false
49
-
49
+
50
50
  ## Installation ###
51
51
 
52
52
  $ [sudo] gem install onetime
53
53
 
54
+ However, in order to be sure the code you're installing hasn't been tampered with, it's recommended that you verify the signiture[http://docs.rubygems.org/read/chapter/21]. To do this, you need to add my public key as a trusted certificate (you only need to do this once):
55
+
56
+ # Add the public key as a trusted certificate
57
+ # (You only need to do this once)
58
+ $ curl -O https://raw.github.com/onetimesecret/onetime-ruby/master/gem-public_cert.pem
59
+ $ gem cert --add gem-public_cert.pem
60
+
61
+ Then, when install the gem, do so with high security:
62
+
63
+ $ gem install onetime -P HighSecurity
64
+
65
+ If you don't add the public key, you'll see an error like "Couldn't verify data signature". If you're still having trouble let me know and I'll give you a hand.
66
+
54
67
  ## More Info ##
55
68
 
56
69
  * [API docs](https://onetimesecret.com/docs/api)
data/Rakefile CHANGED
@@ -1,45 +1,50 @@
1
1
  require "rubygems"
2
2
  require "rake"
3
3
  require "rake/clean"
4
- require 'yaml'
4
+ require "rdoc/task"
5
5
 
6
- require 'hanna/rdoctask'
7
-
8
- config = YAML.load_file("VERSION.yml")
9
6
  task :default => ["build"]
10
- CLEAN.include [ 'pkg', 'doc' ]
11
- name = "onetime"
7
+ CLEAN.include [ 'pkg', 'rdoc' ]
8
+ name = "onetime/api"
9
+
10
+ $:.unshift File.join(File.dirname(__FILE__), 'lib')
11
+ require name
12
+ version = Onetime::API::VERSION.to_s
12
13
 
13
14
  begin
14
15
  require "jeweler"
15
- Jeweler::Tasks.new do |gem|
16
- gem.version = "#{config[:MAJOR]}.#{config[:MINOR]}.#{config[:PATCH]}"
17
- gem.name = name
18
- gem.executables = ['onetime']
19
- gem.rubyforge_project = gem.name
20
- gem.summary = "CLI tool and Ruby library for onetimesecret.com"
21
- gem.description = "CLI tool and Ruby library for onetimesecret.com"
22
- gem.email = "delano@onetimesecret.com"
23
- gem.homepage = "https://github.com/onetimesecret/onetime-ruby"
24
- gem.authors = ["Delano Mandelbaum"]
25
- gem.add_dependency('drydock', '>= 0.6.9')
26
- gem.add_dependency('httparty', '>= 0.7.7')
27
- gem.add_dependency('json', '>= 1.6.4')
16
+ Jeweler::Tasks.new do |s|
17
+ s.version = version
18
+ s.name = "onetime"
19
+ s.executables = ['onetime']
20
+ s.summary = "Command-line tool and library for onetimesecret.com API"
21
+ s.description = "Command-line tool and library for onetimesecret.com API"
22
+ s.email = "delano@onetimesecret.com"
23
+ s.homepage = "https://github.com/onetimesecret/onetime-ruby"
24
+ s.authors = ["Delano Mandelbaum"]
25
+ s.add_dependency('drydock', '>= 0.6.9')
26
+ s.add_dependency('httparty', '>= 0.7.7')
27
+ s.add_dependency('json', '>= 1.6.8')
28
+
29
+ s.signing_key = File.join('/mnt/gem/', 'gem-private_key.pem')
30
+ s.cert_chain = ['gem-public_cert.pem']
28
31
  end
29
32
  Jeweler::GemcutterTasks.new
30
33
  rescue LoadError
31
34
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
32
35
  end
33
36
 
34
-
35
- Rake::RDocTask.new do |rdoc|
36
- version = "#{config[:MAJOR]}.#{config[:MINOR]}.#{config[:PATCH]}"
37
- rdoc.rdoc_dir = "doc"
37
+ RDoc::Task.new do |rdoc|
38
+ rdoc.rdoc_dir = "rdoc"
38
39
  rdoc.title = "#{name} #{version}"
40
+ rdoc.generator = 'hanna'
41
+ rdoc.main = 'README.rdoc'
39
42
  rdoc.rdoc_files.include("README*")
40
43
  rdoc.rdoc_files.include("LICENSE.txt")
44
+ rdoc.rdoc_files.include("VERSION")
41
45
  rdoc.rdoc_files.include("bin/*.rb")
42
46
  rdoc.rdoc_files.include("lib/**/*.rb")
43
47
  end
44
48
 
45
49
 
50
+
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.4.1
@@ -9,26 +9,26 @@ require 'drydock'
9
9
  class Onetime::CLI
10
10
  class Definition
11
11
  extend Drydock
12
-
12
+
13
13
  default :share
14
-
14
+
15
15
  global :H, String, "Base URI (e.g. https://onetimesecret.com/api)"
16
16
  global :c, :custid, String, "Customer ID (e.g. you@yourcompany.com)"
17
17
  global :k, :apikey, String, "API key (e.g. 4eb33c6340006d6607c813fc7e707a32f8bf5342)"
18
-
18
+
19
19
  global :f, :format, String, "Output format (json or yaml)"
20
20
  global :j, :json, "Shorthand for -f json"
21
21
  global :y, :yaml, "Shorthand for -f yaml"
22
-
22
+
23
23
  global :D, :debug do
24
24
  OT::API.debug_output STDERR
25
25
  end
26
-
26
+
27
27
  global :V, :version do
28
28
  puts OT::API::VERSION
29
29
  exit 0
30
30
  end
31
-
31
+
32
32
  before do |obj|
33
33
  OT::API.base_uri obj.global.H if obj.global.H
34
34
  @api = OT::API.new obj.global.custid, obj.global.apikey
@@ -42,7 +42,7 @@ class Onetime::CLI
42
42
  raise RuntimeError, "No tty. Must specify an output format. See #{$0} generate -h"
43
43
  end
44
44
  end
45
-
45
+
46
46
  after do |obj|
47
47
  case obj.global.format
48
48
  when 'json'
@@ -51,12 +51,12 @@ class Onetime::CLI
51
51
  puts @res.to_yaml
52
52
  end
53
53
  end
54
-
54
+
55
55
  usage "onetime status"
56
56
  command :status do |obj|
57
57
  @res = @api.get '/status'
58
58
  if @res.nil?
59
- raise RuntimeError, 'Could not complete request'
59
+ raise RuntimeError, 'Could not complete request'
60
60
  elsif @api.response.code != 200
61
61
  raise RuntimeError, @res['message']
62
62
  end
@@ -67,7 +67,7 @@ class Onetime::CLI
67
67
  puts 'Service Status: %s' % @res[:status]
68
68
  end
69
69
  end
70
-
70
+
71
71
  argv :key
72
72
  usage "onetime metadata <KEY>"
73
73
  command :metadata do |obj|
@@ -75,7 +75,7 @@ class Onetime::CLI
75
75
  raise RuntimeError, "Usage: #{$0} metadata <KEY>" unless obj.argv.key
76
76
  @res = @api.post '/metadata/%s' % obj.argv.key
77
77
  if @res.nil?
78
- raise RuntimeError, 'Could not complete request'
78
+ raise RuntimeError, 'Could not complete request'
79
79
  elsif @api.response.code != 200
80
80
  raise RuntimeError, @res['message']
81
81
  end
@@ -83,7 +83,7 @@ class Onetime::CLI
83
83
  puts @res.to_yaml
84
84
  end
85
85
  end
86
-
86
+
87
87
  option :p, :passphrase, String, "Passphrase to decrypt the secret (only required if one was provided to you)"
88
88
  argv :key
89
89
  usage "onetime secret <KEY>"
@@ -95,7 +95,7 @@ class Onetime::CLI
95
95
  opts[:passphrase] = obj.option.passphrase if obj.option.passphrase
96
96
  @res = @api.post '/secret/%s' % [obj.argv.key], opts
97
97
  if @res.nil?
98
- raise RuntimeError, 'Could not complete request'
98
+ raise RuntimeError, 'Could not complete request'
99
99
  elsif @api.response.code != 200
100
100
  raise RuntimeError, @res['message']
101
101
  end
@@ -103,7 +103,7 @@ class Onetime::CLI
103
103
  puts @res.to_yaml
104
104
  end
105
105
  end
106
-
106
+
107
107
  usage "onetime share"
108
108
  usage "onetime share [-t 3600] [-p PASSPHRASE]"
109
109
  usage "echo 'your secret' | onetime share"
@@ -116,7 +116,7 @@ class Onetime::CLI
116
116
  if Kernel.select [$stdin], nil, nil, 0
117
117
  secret_value = STDIN.read
118
118
  else
119
- STDERR.puts "Paste secret here (hit control-D to continue):"
119
+ STDERR.puts "Paste message here (hit control-D to continue):"
120
120
  secret_value = ARGF.read
121
121
  STDERR.puts # new line to let the person know we got it.
122
122
  end
@@ -129,7 +129,7 @@ class Onetime::CLI
129
129
  opts[:passphrase] = obj.option.passphrase if obj.option.passphrase
130
130
  @res = @api.post '/share', opts
131
131
  if @res.nil?
132
- raise RuntimeError, 'Could not complete request'
132
+ raise RuntimeError, 'Could not complete request'
133
133
  elsif @api.response.code != 200
134
134
  raise RuntimeError, @res['message']
135
135
  end
@@ -142,7 +142,7 @@ class Onetime::CLI
142
142
  end
143
143
  end
144
144
  end
145
-
145
+
146
146
  usage "onetime generate"
147
147
  usage "onetime generate [-t 3600] [-p PASSPHRASE]"
148
148
  option :t, :ttl, Integer, "Time-to-live in seconds"
@@ -153,7 +153,7 @@ class Onetime::CLI
153
153
  opts[:passphrase] = obj.option.passphrase if obj.option.passphrase
154
154
  @res = @api.post '/generate', opts
155
155
  if @res.nil?
156
- raise RuntimeError, 'Could not complete request'
156
+ raise RuntimeError, 'Could not complete request'
157
157
  elsif @api.response.code != 200
158
158
  raise RuntimeError, @res['message']
159
159
  end
@@ -182,13 +182,13 @@ class Onetime::CLI
182
182
  print eraser
183
183
  end
184
184
  else
185
- puts
185
+ puts
186
186
  print uri
187
187
  end
188
188
  puts
189
189
  end
190
190
  end
191
-
191
+
192
192
  end
193
193
  end
194
194
 
@@ -0,0 +1,20 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIDNjCCAh6gAwIBAgIBADANBgkqhkiG9w0BAQUFADBBMQ8wDQYDVQQDDAZkZWxh
3
+ bm8xGTAXBgoJkiaJk/IsZAEZFglzb2x1dGlvdXMxEzARBgoJkiaJk/IsZAEZFgNj
4
+ b20wHhcNMTMwMjA2MTE1NzQ1WhcNMTQwMjA2MTE1NzQ1WjBBMQ8wDQYDVQQDDAZk
5
+ ZWxhbm8xGTAXBgoJkiaJk/IsZAEZFglzb2x1dGlvdXMxEzARBgoJkiaJk/IsZAEZ
6
+ FgNjb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDg1hMtl0XsMuUK
7
+ AKTgYWv3gjj7vuEsE2EjT+vyBg8/LpqVVwZziiaebJT9IZiQ+sCFqbiakj0b53pI
8
+ hg1yOaBEmH6/W0L7rwzqaRV9sW1eJs9JxFYQCnd67zUnzj8nnRlOjG+hhIG+Vsij
9
+ npsGbt28pefuNZJjO5q2clAlfSniIIHfIsU7/StEYu6FUGOjnwryZ0r5yJlr9RrE
10
+ Gs+q0DW8QnZ9UpAfuDFQZuIqeKQFFLE7nMmCGaA+0BN1nLl3fVHNbLHq7Avk8+Z+
11
+ ZuuvkdscbHlO/l+3xCNQ5nUnHwq0ADAbMLOlmiYYzqXoWLjmeI6me/clktJCfN2R
12
+ oZG3UQvvAgMBAAGjOTA3MAkGA1UdEwQCMAAwHQYDVR0OBBYEFMSJOEtHzE4l0azv
13
+ M0JK0kKNToK1MAsGA1UdDwQEAwIEsDANBgkqhkiG9w0BAQUFAAOCAQEAtOdE73qx
14
+ OH2ydi9oT2hS5f9G0y1Z70Tlwh+VGExyfxzVE9XwC+iPpJxNraiHYgF/9/oky7ZZ
15
+ R9q0/tJneuhAenZdiQkX7oi4O3v9wRS6YHoWBxMPFKVRLNTzvVJsbmfpCAlp5/5g
16
+ ps4wQFy5mibElGVlOobf/ghqZ25HS9J6kd0/C/ry0AUtTogsL7TxGwT4kbCx63ub
17
+ 3vywEEhsJUzfd97GCABmtQfRTldX/j7F1z/5wd8p+hfdox1iibds9ZtfaZA3KzKn
18
+ kchWN9B6zg9r1XMQ8BM2Jz0XoPanPe354+lWwjpkRKbFow/ZbQHcCLCq24+N6b6g
19
+ dgKfNDzwiDpqCA==
20
+ -----END CERTIFICATE-----
@@ -16,46 +16,52 @@ end
16
16
 
17
17
 
18
18
  # Onetime::API - v0.3
19
- #
20
- # A basic client library for the onetimesecret.com API.
19
+ #
20
+ # A basic client library for the onetimesecret.com API.
21
21
  #
22
22
  # Usage:
23
23
  #
24
24
  # api = OT::API.new 'delano@onetimesecret.com', '4eb33c6340006d6607c813fc7e707a32f8bf5342'
25
25
  #
26
- # api.get '/status'
26
+ # api.get '/status'
27
27
  # # => {'status' => 'nominal'}
28
28
  #
29
29
  # api.post '/generate', :passphrase => 'yourspecialpassphrase'
30
30
  # # => {'value' => '3Rg8R2sfD3?a', 'metadata_key' => '...', 'secret_key' => '...'}
31
- #
31
+ #
32
32
  module Onetime
33
33
  class API
34
+ unless defined?(Onetime::API::HOME)
35
+ HOME = File.expand_path File.join(File.dirname(__FILE__), '..', '..')
36
+ end
34
37
  module VERSION
35
- def self.to_s
36
- load_config
37
- [@version[:MAJOR], @version[:MINOR], @version[:PATCH]].join('.')
38
- end
39
- def self.inspect
40
- to_s
41
- end
42
- def self.load_config
43
- require 'yaml'
44
- @version ||= YAML.load_file(File.join(LIB_HOME, '..', '..', 'VERSION.yml'))
38
+ @path = File.join(Onetime::API::HOME, 'VERSION')
39
+ class << self
40
+ attr_reader :version, :path
41
+ def version
42
+ @version || read_version
43
+ end
44
+ def read_version
45
+ return if @version
46
+ @version = File.read(path).strip!
47
+ end
48
+ def prerelease?() false end
49
+ def to_a() version.split('.') end
50
+ def to_s() version end
51
+ def inspect() version end
45
52
  end
46
53
  end
47
54
  end
48
55
  class API
49
56
  include HTTParty
50
- LIB_HOME = File.expand_path File.dirname(__FILE__) unless defined?(Onetime::API::LIB_HOME)
51
57
  base_uri 'https://onetimesecret.com/api'
52
58
  format :json
53
- headers 'X-Onetime-Client' => Onetime::API::VERSION.to_s
59
+ headers 'X-Onetime-Client' => 'ruby: %s/%s' % [RUBY_VERSION, Onetime::API::VERSION.to_s]
54
60
  attr_reader :opts, :response, :custid, :key, :default_params, :anonymous
55
61
  attr_accessor :apiversion
56
62
  def initialize custid=nil, key=nil, opts={}
57
63
  unless ENV['ONETIME_HOST'].to_s.empty?
58
- self.class.base_uri ENV['ONETIME_HOST']
64
+ self.class.base_uri ENV['ONETIME_HOST']
59
65
  end
60
66
  @apiversion = opts.delete(:apiversion) || opts.delete('apiversion') || 1
61
67
  @opts = opts
@@ -127,4 +133,4 @@ module Onetime
127
133
  end
128
134
  end
129
135
  end
130
- OT = Onetime unless defined?(OT)
136
+ OT = Onetime unless defined?(OT)
@@ -9,8 +9,9 @@ Gem::Specification.new do |s|
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Delano Mandelbaum"]
12
- s.date = "2012-01-07"
13
- s.description = "CLI tool and Ruby library for onetimesecret.com"
12
+ s.cert_chain = ["gem-public_cert.pem"]
13
+ s.date = "2013-02-12"
14
+ s.description = "Command-line tool and library for onetimesecret.com API"
14
15
  s.email = "delano@onetimesecret.com"
15
16
  s.executables = ["onetime"]
16
17
  s.extra_rdoc_files = [
@@ -22,16 +23,16 @@ Gem::Specification.new do |s|
22
23
  "LICENSE.txt",
23
24
  "README.md",
24
25
  "Rakefile",
25
- "VERSION.yml",
26
+ "VERSION",
26
27
  "bin/onetime",
27
28
  "lib/onetime/api.rb",
28
29
  "onetime.gemspec"
29
30
  ]
30
31
  s.homepage = "https://github.com/onetimesecret/onetime-ruby"
31
32
  s.require_paths = ["lib"]
32
- s.rubyforge_project = "onetime"
33
- s.rubygems_version = "1.8.10"
34
- s.summary = "CLI tool and Ruby library for onetimesecret.com"
33
+ s.rubygems_version = "1.8.25"
34
+ s.signing_key = "/mnt/gem/gem-private_key.pem"
35
+ s.summary = "Command-line tool and library for onetimesecret.com API"
35
36
 
36
37
  if s.respond_to? :specification_version then
37
38
  s.specification_version = 3
@@ -39,16 +40,16 @@ Gem::Specification.new do |s|
39
40
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
40
41
  s.add_runtime_dependency(%q<drydock>, [">= 0.6.9"])
41
42
  s.add_runtime_dependency(%q<httparty>, [">= 0.7.7"])
42
- s.add_runtime_dependency(%q<json>, [">= 1.6.4"])
43
+ s.add_runtime_dependency(%q<json>, [">= 1.6.8"])
43
44
  else
44
45
  s.add_dependency(%q<drydock>, [">= 0.6.9"])
45
46
  s.add_dependency(%q<httparty>, [">= 0.7.7"])
46
- s.add_dependency(%q<json>, [">= 1.6.4"])
47
+ s.add_dependency(%q<json>, [">= 1.6.8"])
47
48
  end
48
49
  else
49
50
  s.add_dependency(%q<drydock>, [">= 0.6.9"])
50
51
  s.add_dependency(%q<httparty>, [">= 0.7.7"])
51
- s.add_dependency(%q<json>, [">= 1.6.4"])
52
+ s.add_dependency(%q<json>, [">= 1.6.8"])
52
53
  end
53
54
  end
54
55
 
metadata CHANGED
@@ -1,94 +1,132 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: onetime
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.4.1
4
5
  prerelease:
5
- version: 0.4.0
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Delano Mandelbaum
9
9
  autorequire:
10
10
  bindir: bin
11
- cert_chain: []
12
-
13
- date: 2012-01-07 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
11
+ cert_chain:
12
+ - !binary |-
13
+ LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUROakNDQWg2Z0F3SUJB
14
+ Z0lCQURBTkJna3Foa2lHOXcwQkFRVUZBREJCTVE4d0RRWURWUVFEREFaa1pX
15
+ eGgKYm04eEdUQVhCZ29Ka2lhSmsvSXNaQUVaRmdsemIyeDFkR2x2ZFhNeEV6
16
+ QVJCZ29Ka2lhSmsvSXNaQUVaRmdOagpiMjB3SGhjTk1UTXdNakEyTVRFMU56
17
+ UTFXaGNOTVRRd01qQTJNVEUxTnpRMVdqQkJNUTh3RFFZRFZRUUREQVprClpX
18
+ eGhibTh4R1RBWEJnb0praWFKay9Jc1pBRVpGZ2x6YjJ4MWRHbHZkWE14RXpB
19
+ UkJnb0praWFKay9Jc1pBRVoKRmdOamIyMHdnZ0VpTUEwR0NTcUdTSWIzRFFF
20
+ QkFRVUFBNElCRHdBd2dnRUtBb0lCQVFEZzFoTXRsMFhzTXVVSwpBS1RnWVd2
21
+ M2dqajd2dUVzRTJFalQrdnlCZzgvTHBxVlZ3WnppaWFlYkpUOUlaaVErc0NG
22
+ cWJpYWtqMGI1M3BJCmhnMXlPYUJFbUg2L1cwTDdyd3pxYVJWOXNXMWVKczlK
23
+ eEZZUUNuZDY3elVuemo4bm5SbE9qRytoaElHK1ZzaWoKbnBzR2J0MjhwZWZ1
24
+ TlpKak81cTJjbEFsZlNuaUlJSGZJc1U3L1N0RVl1NkZVR09qbndyeVowcjV5
25
+ SmxyOVJyRQpHcytxMERXOFFuWjlVcEFmdURGUVp1SXFlS1FGRkxFN25NbUNH
26
+ YUErMEJOMW5MbDNmVkhOYkxIcTdBdms4K1orClp1dXZrZHNjYkhsTy9sKzN4
27
+ Q05RNW5Vbkh3cTBBREFiTUxPbG1pWVl6cVhvV0xqbWVJNm1lL2Nsa3RKQ2ZO
28
+ MlIKb1pHM1VRdnZBZ01CQUFHak9UQTNNQWtHQTFVZEV3UUNNQUF3SFFZRFZS
29
+ ME9CQllFRk1TSk9FdEh6RTRsMGF6dgpNMEpLMGtLTlRvSzFNQXNHQTFVZER3
30
+ UUVBd0lFc0RBTkJna3Foa2lHOXcwQkFRVUZBQU9DQVFFQXRPZEU3M3F4Ck9I
31
+ MnlkaTlvVDJoUzVmOUcweTFaNzBUbHdoK1ZHRXh5Znh6VkU5WHdDK2lQcEp4
32
+ TnJhaUhZZ0YvOS9va3k3WloKUjlxMC90Sm5ldWhBZW5aZGlRa1g3b2k0TzN2
33
+ OXdSUzZZSG9XQnhNUEZLVlJMTlR6dlZKc2JtZnBDQWxwNS81ZwpwczR3UUZ5
34
+ NW1pYkVsR1ZsT29iZi9naHFaMjVIUzlKNmtkMC9DL3J5MEFVdFRvZ3NMN1R4
35
+ R3dUNGtiQ3g2M3ViCjN2eXdFRWhzSlV6ZmQ5N0dDQUJtdFFmUlRsZFgvajdG
36
+ MXovNXdkOHAraGZkb3gxaWliZHM5WnRmYVpBM0t6S24Ka2NoV045QjZ6Zzly
37
+ MVhNUThCTTJKejBYb1BhblBlMzU0K2xXd2pwa1JLYkZvdy9aYlFIY0NMQ3Ey
38
+ NCtONmI2ZwpkZ0tmTkR6d2lEcHFDQT09Ci0tLS0tRU5EIENFUlRJRklDQVRF
39
+ LS0tLS0K
40
+ date: 2013-02-12 00:00:00.000000000 Z
41
+ dependencies:
42
+ - !ruby/object:Gem::Dependency
16
43
  name: drydock
17
- prerelease: false
18
- requirement: &id001 !ruby/object:Gem::Requirement
44
+ requirement: !ruby/object:Gem::Requirement
19
45
  none: false
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
46
+ requirements:
47
+ - - ! '>='
48
+ - !ruby/object:Gem::Version
23
49
  version: 0.6.9
24
50
  type: :runtime
25
- version_requirements: *id001
26
- - !ruby/object:Gem::Dependency
27
- name: httparty
28
51
  prerelease: false
29
- requirement: &id002 !ruby/object:Gem::Requirement
52
+ version_requirements: !ruby/object:Gem::Requirement
53
+ none: false
54
+ requirements:
55
+ - - ! '>='
56
+ - !ruby/object:Gem::Version
57
+ version: 0.6.9
58
+ - !ruby/object:Gem::Dependency
59
+ name: httparty
60
+ requirement: !ruby/object:Gem::Requirement
30
61
  none: false
31
- requirements:
32
- - - ">="
33
- - !ruby/object:Gem::Version
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
34
65
  version: 0.7.7
35
66
  type: :runtime
36
- version_requirements: *id002
37
- - !ruby/object:Gem::Dependency
38
- name: json
39
67
  prerelease: false
40
- requirement: &id003 !ruby/object:Gem::Requirement
68
+ version_requirements: !ruby/object:Gem::Requirement
41
69
  none: false
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
45
- version: 1.6.4
70
+ requirements:
71
+ - - ! '>='
72
+ - !ruby/object:Gem::Version
73
+ version: 0.7.7
74
+ - !ruby/object:Gem::Dependency
75
+ name: json
76
+ requirement: !ruby/object:Gem::Requirement
77
+ none: false
78
+ requirements:
79
+ - - ! '>='
80
+ - !ruby/object:Gem::Version
81
+ version: 1.6.8
46
82
  type: :runtime
47
- version_requirements: *id003
48
- description: CLI tool and Ruby library for onetimesecret.com
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ none: false
86
+ requirements:
87
+ - - ! '>='
88
+ - !ruby/object:Gem::Version
89
+ version: 1.6.8
90
+ description: Command-line tool and library for onetimesecret.com API
49
91
  email: delano@onetimesecret.com
50
- executables:
92
+ executables:
51
93
  - onetime
52
94
  extensions: []
53
-
54
- extra_rdoc_files:
95
+ extra_rdoc_files:
55
96
  - LICENSE.txt
56
97
  - README.md
57
- files:
98
+ files:
58
99
  - CHANGES.txt
59
100
  - LICENSE.txt
60
101
  - README.md
61
102
  - Rakefile
62
- - VERSION.yml
103
+ - VERSION
63
104
  - bin/onetime
105
+ - gem-public_cert.pem
64
106
  - lib/onetime/api.rb
65
107
  - onetime.gemspec
66
108
  homepage: https://github.com/onetimesecret/onetime-ruby
67
109
  licenses: []
68
-
69
110
  post_install_message:
70
111
  rdoc_options: []
71
-
72
- require_paths:
112
+ require_paths:
73
113
  - lib
74
- required_ruby_version: !ruby/object:Gem::Requirement
114
+ required_ruby_version: !ruby/object:Gem::Requirement
75
115
  none: false
76
- requirements:
77
- - - ">="
78
- - !ruby/object:Gem::Version
79
- version: "0"
80
- required_rubygems_version: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - ! '>='
118
+ - !ruby/object:Gem::Version
119
+ version: '0'
120
+ required_rubygems_version: !ruby/object:Gem::Requirement
81
121
  none: false
82
- requirements:
83
- - - ">="
84
- - !ruby/object:Gem::Version
85
- version: "0"
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
86
126
  requirements: []
87
-
88
- rubyforge_project: onetime
89
- rubygems_version: 1.8.10
127
+ rubyforge_project:
128
+ rubygems_version: 1.8.25
90
129
  signing_key:
91
130
  specification_version: 3
92
- summary: CLI tool and Ruby library for onetimesecret.com
131
+ summary: Command-line tool and library for onetimesecret.com API
93
132
  test_files: []
94
-
Binary file
@@ -1,3 +0,0 @@
1
- :MAJOR: 0
2
- :MINOR: 4
3
- :PATCH: 0