opr21 0.1 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.git_commands +8 -0
- data/README.md +2 -1
- data/{opr21.rb → lib/opr21.rb} +0 -0
- data/opr21.gemspec +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 766aa6199432716b0b112e8a926b100984e0848c20f85db4f00e2b1e4cce4249
|
|
4
|
+
data.tar.gz: bf866a073161fd4f2fd0b1c541cbaa194687c5f084b0c27d12d39730726cb304
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ab1072222b7bbdf098eca0448e93bdbfac391375fdb7d6f7419aed3e20800f51fa519e9fefe824c4b4c87227af0a23ee88e3f635963e3b0bbe5343ef20fee80f
|
|
7
|
+
data.tar.gz: 4bfbcc9a9345e34d2fffb36e5ffc335dabbe61324f4d024ce3b876a9cbdcf4970052ae55e2797e4e3b155214b76caf729e2d34aa88b04cf657284857e869041e
|
data/.git_commands
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# siehe https://rogerdudler.github.io/git-guide/index.de.html
|
|
2
|
+
git rm opr21-*.gem
|
|
3
|
+
# vi opr21.gemspec # change version
|
|
4
|
+
gem build opr21.gemspec
|
|
5
|
+
gem push opr21-*gem
|
|
6
|
+
git add opr21-*.gem README.md lib/opr21.rb bin/set_env change_log.md
|
|
7
|
+
git commit -m "changed some comments"
|
|
8
|
+
git push origin master
|
data/README.md
CHANGED
|
@@ -6,10 +6,11 @@ get your items from 1password in ruby.
|
|
|
6
6
|
# synopsis
|
|
7
7
|
|
|
8
8
|
```ruby
|
|
9
|
+
require "opr21"
|
|
10
|
+
|
|
9
11
|
unless ENV.has_key?"ONEPASSWORD"
|
|
10
12
|
puts "env-var ONEPASSWORD is missing"
|
|
11
13
|
else
|
|
12
|
-
load "opr21.rb"
|
|
13
14
|
op = Opr21.new(ENV["ONEPASSWORD"], {:domain => "your-domain", :email => "your-email", :secret => "your-secret"})
|
|
14
15
|
opv = op.getItem "your-item-title"
|
|
15
16
|
puts opv["website"]
|
data/{opr21.rb → lib/opr21.rb}
RENAMED
|
File without changes
|
data/opr21.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: opr21
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Oliver Gaida
|
|
@@ -36,12 +36,13 @@ executables: []
|
|
|
36
36
|
extensions: []
|
|
37
37
|
extra_rdoc_files: []
|
|
38
38
|
files:
|
|
39
|
+
- ".git_commands"
|
|
39
40
|
- LICENSE.md
|
|
40
41
|
- README.md
|
|
41
42
|
- bin/set_env
|
|
42
43
|
- change_log.md
|
|
44
|
+
- lib/opr21.rb
|
|
43
45
|
- opr21.gemspec
|
|
44
|
-
- opr21.rb
|
|
45
46
|
homepage: https://github.com/ogaida/opr21
|
|
46
47
|
licenses:
|
|
47
48
|
- MIT
|