ruby_gpg2 0.1.0.pre.23 → 0.1.0.pre.24

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f1ce7b945586b9f5ddff39f43b4b2f3b5a38e372d8151013ee1b1b4473972fb2
4
- data.tar.gz: 3e620fa6c8b08bdcd082ba3df7e68205f808d1e0530837d8a9c9ba0a80ac9d63
3
+ metadata.gz: 262fa5828445a8b815c8559edabfc8a9b37650490834736804d214635295e29c
4
+ data.tar.gz: 9caa53e85f84f29d37644c2ef49453a6963a1dbfb3bd14b21951fac338ab8264
5
5
  SHA512:
6
- metadata.gz: e85f0039ec41f60aef85a2f6bd8acb94e471c99be34de7a6cc9e856b2252093a5b3ebe97e315751f2ca262c79d160450e8203e4e6e6b3a87c29b6705fd822469
7
- data.tar.gz: 9dab915ce94967ccf1e9132b4186c9336a67c98140b4a72d0ac0116abb713531868697e5bacc608fc179eeaa91fa19f4d6bca2119c710a85120f5920deff8436
6
+ metadata.gz: 5e92062433cef4ca2a705ea2949bc5491e79f8caa7c04638034e7db0bed21b902f70aa8e1c91a4e6ab96ea12cebd18ee1c0b33b5124f32e6382a70a12ae1473d
7
+ data.tar.gz: c3750d44bc8d46a88ecf45748ff064f837605adaacb946606950f0b7a5e2c917d693b7ee13c723400fe997e90f5ea18dfe2bc2c899663677f1514810fb0089d0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby_gpg2 (0.1.0.pre.23)
4
+ ruby_gpg2 (0.1.0.pre.24)
5
5
  lino (= 1.3.0)
6
6
 
7
7
  GEM
@@ -1,3 +1,3 @@
1
1
  module RubyGPG2
2
- VERSION = '0.1.0.pre.23'
2
+ VERSION = '0.1.0.pre.24'
3
3
  end
data/lib/ruby_gpg2.rb CHANGED
@@ -24,6 +24,14 @@ module RubyGPG2
24
24
  end
25
25
 
26
26
  module ClassMethods
27
+ def decrypt(opts = {})
28
+ Commands::Decrypt.new.execute(opts)
29
+ end
30
+
31
+ def encrypt(opts = {})
32
+ Commands::Encrypt.new.execute(opts)
33
+ end
34
+
27
35
  def export(opts = {})
28
36
  Commands::Export.new.execute(opts)
29
37
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_gpg2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre.23
4
+ version: 0.1.0.pre.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Toby Clemson