opensecret 0.0.2 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +4 -0
  3. data/README.md +2 -2
  4. data/bin/opensecret +3 -6
  5. data/lib/opensecret-domain.ini +23 -0
  6. data/lib/opensecret.rb +30 -2
  7. data/lib/opensecret/additions/array.rb +117 -0
  8. data/lib/opensecret/additions/dir.rb +35 -0
  9. data/lib/opensecret/additions/string.rb +312 -0
  10. data/lib/opensecret/commons/eco.cmdline.rb +446 -0
  11. data/lib/opensecret/commons/eco.faculty.rb +364 -0
  12. data/lib/opensecret/commons/eco.system.rb +437 -0
  13. data/lib/opensecret/commons/eco.systems.rb +98 -0
  14. data/lib/opensecret/{safe.rb → delegate.rb} +4 -2
  15. data/lib/opensecret/eco.do.rb +46 -0
  16. data/lib/opensecret/executors/crypt.keys/crypt.keys.ini +79 -0
  17. data/lib/opensecret/executors/crypt.keys/crypt.keys.rb +68 -0
  18. data/lib/opensecret/executors/decrypt/decrypt.ini +64 -0
  19. data/lib/opensecret/executors/decrypt/decrypt.rb +49 -0
  20. data/lib/opensecret/executors/encrypt/encrypt.ini +55 -0
  21. data/lib/opensecret/executors/encrypt/encrypt.rb +82 -0
  22. data/lib/opensecret/factbase/hub-runtime.ini +123 -0
  23. data/lib/opensecret/factbase/known-hosts.ini +75 -0
  24. data/lib/opensecret/factbase/published.facts/blobbolicious-facts.ini +553 -0
  25. data/lib/opensecret/factbase/published.facts/credential-facts.ini +40 -0
  26. data/lib/opensecret/factbase/published.facts/infrastructure-facts.ini +63 -0
  27. data/lib/opensecret/factbase/readme.md +24 -0
  28. data/lib/opensecret/factbase/retired.facts/maven.database.ide.facts.ini +127 -0
  29. data/lib/opensecret/factbase/retired.facts/s3-upload-block-facts.ini +17 -0
  30. data/lib/opensecret/plugins.io/cipher/crypto.rb +174 -0
  31. data/lib/opensecret/plugins.io/error/eco.exceptions.rb +24 -0
  32. data/lib/opensecret/plugins.io/facts/fact.chars.rb +66 -0
  33. data/lib/opensecret/plugins.io/facts/fact.factor.rb +156 -0
  34. data/lib/opensecret/plugins.io/facts/fact.locator.rb +105 -0
  35. data/lib/opensecret/plugins.io/facts/fact.reader.rb +137 -0
  36. data/lib/opensecret/plugins.io/facts/fact.tree.rb +661 -0
  37. data/lib/opensecret/plugins.io/file/file.rb +483 -0
  38. data/lib/opensecret/plugins.io/git/git.flow.rb +388 -0
  39. data/lib/opensecret/plugins.io/logs/log.object.rb +89 -0
  40. data/lib/opensecret/plugins.io/logs/logging.rb +203 -0
  41. data/lib/opensecret/plugins.io/time/time.stamp.rb +425 -0
  42. data/lib/opensecret/version.rb +2 -2
  43. data/opensecret.gemspec +8 -13
  44. metadata +68 -18
@@ -1,3 +1,3 @@
1
- module Opensecret
2
- VERSION = "0.0.2"
1
+ module OpenSecret
2
+ VERSION = "0.0.4"
3
3
  end
@@ -1,12 +1,13 @@
1
-
2
1
  lib = File.expand_path("../lib", __FILE__)
3
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require "opensecret/version"
3
+
4
+ require 'opensecret/version'
5
+ require 'opensecret/delegate'
5
6
 
6
7
  Gem::Specification.new do |spec|
7
8
 
8
9
  spec.name = "opensecret"
9
- spec.version = Opensecret::VERSION
10
+ spec.version = OpenSecret::VERSION
10
11
  spec.authors = ["Apollo Akora"]
11
12
  spec.email = ["apolloakora@gmail.com"]
12
13
 
@@ -15,27 +16,21 @@ Gem::Specification.new do |spec|
15
16
  spec.homepage = "https://www.eco-platform.co.uk"
16
17
  spec.license = "MIT"
17
18
 
18
- # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
19
- # to allow pushing to a single host or delete this section to allow pushing to any host.
20
- # --> if spec.respond_to?(:metadata)
21
- # --> spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
22
- # --> else
23
- # --> raise "RubyGems 2.0 or newer is required to protect against " \
24
- # --> "public gem pushes."
25
- # --> end
26
-
27
19
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
28
20
  f.match(%r{^(test|spec|features)/})
29
21
  end
30
22
 
23
+ spec.metadata["yard.run"] = "yri"
31
24
  spec.bindir = "bin"
32
25
  spec.executables = ['opensecret']
33
26
  spec.require_paths = ["lib"]
34
27
 
28
+ spec.add_dependency 'inifile'
29
+ spec.add_dependency 'thor'
30
+
35
31
  spec.add_development_dependency "bundler", "~> 1.16"
36
32
  spec.add_development_dependency "rake", "~> 10.0"
37
33
  spec.add_development_dependency "minitest", "~> 5.0"
38
34
 
39
- spec.add_dependency 'inifile'
40
35
 
41
36
  end
metadata CHANGED
@@ -1,15 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opensecret
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Apollo Akora
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-03 00:00:00.000000000 Z
11
+ date: 2018-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: inifile
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: thor
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
13
41
  - !ruby/object:Gem::Dependency
14
42
  name: bundler
15
43
  requirement: !ruby/object:Gem::Requirement
@@ -52,20 +80,6 @@ dependencies:
52
80
  - - "~>"
53
81
  - !ruby/object:Gem::Version
54
82
  version: '5.0'
55
- - !ruby/object:Gem::Dependency
56
- name: inifile
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :runtime
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
83
  description: opensecret stashes uncrackable secrets into your Git, S3, DropBox, Google
70
84
  Drive and filesystems backends. You interface with its intuitive Linux, Windows,
71
85
  iOS front ends and it offers SDKs and plugins for Ruby, Python, Java, Jenkins, CodeShip,
@@ -85,14 +99,50 @@ files:
85
99
  - README.md
86
100
  - Rakefile
87
101
  - bin/opensecret
102
+ - lib/opensecret-domain.ini
88
103
  - lib/opensecret.rb
89
- - lib/opensecret/safe.rb
104
+ - lib/opensecret/additions/array.rb
105
+ - lib/opensecret/additions/dir.rb
106
+ - lib/opensecret/additions/string.rb
107
+ - lib/opensecret/commons/eco.cmdline.rb
108
+ - lib/opensecret/commons/eco.faculty.rb
109
+ - lib/opensecret/commons/eco.system.rb
110
+ - lib/opensecret/commons/eco.systems.rb
111
+ - lib/opensecret/delegate.rb
112
+ - lib/opensecret/eco.do.rb
113
+ - lib/opensecret/executors/crypt.keys/crypt.keys.ini
114
+ - lib/opensecret/executors/crypt.keys/crypt.keys.rb
115
+ - lib/opensecret/executors/decrypt/decrypt.ini
116
+ - lib/opensecret/executors/decrypt/decrypt.rb
117
+ - lib/opensecret/executors/encrypt/encrypt.ini
118
+ - lib/opensecret/executors/encrypt/encrypt.rb
119
+ - lib/opensecret/factbase/hub-runtime.ini
120
+ - lib/opensecret/factbase/known-hosts.ini
121
+ - lib/opensecret/factbase/published.facts/blobbolicious-facts.ini
122
+ - lib/opensecret/factbase/published.facts/credential-facts.ini
123
+ - lib/opensecret/factbase/published.facts/infrastructure-facts.ini
124
+ - lib/opensecret/factbase/readme.md
125
+ - lib/opensecret/factbase/retired.facts/maven.database.ide.facts.ini
126
+ - lib/opensecret/factbase/retired.facts/s3-upload-block-facts.ini
127
+ - lib/opensecret/plugins.io/cipher/crypto.rb
128
+ - lib/opensecret/plugins.io/error/eco.exceptions.rb
129
+ - lib/opensecret/plugins.io/facts/fact.chars.rb
130
+ - lib/opensecret/plugins.io/facts/fact.factor.rb
131
+ - lib/opensecret/plugins.io/facts/fact.locator.rb
132
+ - lib/opensecret/plugins.io/facts/fact.reader.rb
133
+ - lib/opensecret/plugins.io/facts/fact.tree.rb
134
+ - lib/opensecret/plugins.io/file/file.rb
135
+ - lib/opensecret/plugins.io/git/git.flow.rb
136
+ - lib/opensecret/plugins.io/logs/log.object.rb
137
+ - lib/opensecret/plugins.io/logs/logging.rb
138
+ - lib/opensecret/plugins.io/time/time.stamp.rb
90
139
  - lib/opensecret/version.rb
91
140
  - opensecret.gemspec
92
141
  homepage: https://www.eco-platform.co.uk
93
142
  licenses:
94
143
  - MIT
95
- metadata: {}
144
+ metadata:
145
+ yard.run: yri
96
146
  post_install_message:
97
147
  rdoc_options: []
98
148
  require_paths: