rgc 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (7) hide show
  1. checksums.yaml +7 -0
  2. data/README.rdoc +17 -0
  3. data/bin/rgc +5 -0
  4. data/lib/rgc/version.rb +3 -0
  5. data/lib/rgc.rb +18 -0
  6. data/rgc.rdoc +5 -0
  7. metadata +141 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: a3b7ba2bf616f587236827b4441711d81c0e1e1a
4
+ data.tar.gz: 7ca2c329730abd55ab0c074664d1381ef8dcfae3
5
+ SHA512:
6
+ metadata.gz: 70e8692e4937e9a35b894cab5c4520dd2701c826db4dd891e7c728e2b606e5e5122dc8751f4c56973362546d2fdda6346afc486141dc6ce7ee5db46e33d12b10
7
+ data.tar.gz: f93f85125def0bcd135e23197ed1e27a7b3e4367cf80ede54306956d645cbb84e93d01e9ed22019ca7777fe65262d40566a9e576e1175821c195b8b670104452
data/README.rdoc ADDED
@@ -0,0 +1,17 @@
1
+ = rgc
2
+
3
+ +rgc+ enables you to transparently encrypt certain files in a git repository. You can even encrypt certain values in a +yaml+ file. Files which you choose to protect are encrypted when committed, and decrypted when checked out. This way you can freely share your git repo containing mix of public and private content. Developers without the secret key can still clone and commit to repository.
4
+
5
+ +rgc+ was written by Jiri Chara <jirik dot chara at gmail dot com>.
6
+
7
+ === Installation
8
+
9
+ gem install rgc
10
+
11
+ === Usage
12
+
13
+ Get a help:
14
+
15
+ rgc help
16
+
17
+ :include:rgc.rdoc
data/bin/rgc ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'rgc'
4
+
5
+ Rgc::ArgParser.new(ARGV, ARGF)
@@ -0,0 +1,3 @@
1
+ module Rgc
2
+ VERSION = '0.0.1'
3
+ end
data/lib/rgc.rb ADDED
@@ -0,0 +1,18 @@
1
+ require 'rgc/version.rb'
2
+
3
+ require 'open3'
4
+ require 'yaml'
5
+ require 'openssl'
6
+ require 'base64'
7
+
8
+ require 'gli'
9
+
10
+ module Rgc
11
+ autoload :KeyFile, 'rgc/key_file'
12
+ autoload :Keygen, 'rgc/keygen'
13
+ autoload :Init, 'rgc/init'
14
+ autoload :Encrypt, 'rgc/encrypt'
15
+ autoload :ArgParser, 'rgc/arg_parser'
16
+ autoload :Clean, 'rgc/clean'
17
+ autoload :Smudge, 'rgc/smudge'
18
+ end
data/rgc.rdoc ADDED
@@ -0,0 +1,5 @@
1
+ = rgc
2
+
3
+ Generate this with
4
+ rgc rdoc
5
+ After you have described your command line interface
metadata ADDED
@@ -0,0 +1,141 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rgc
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Your Name Here
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-02-09 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rake
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
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: rdoc
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: aruba
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: faker
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: gli
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '='
88
+ - !ruby/object:Gem::Version
89
+ version: 2.8.1
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '='
95
+ - !ruby/object:Gem::Version
96
+ version: 2.8.1
97
+ description:
98
+ email: your@email.address.com
99
+ executables:
100
+ - rgc
101
+ extensions: []
102
+ extra_rdoc_files:
103
+ - README.rdoc
104
+ - rgc.rdoc
105
+ files:
106
+ - bin/rgc
107
+ - lib/rgc/version.rb
108
+ - lib/rgc.rb
109
+ - README.rdoc
110
+ - rgc.rdoc
111
+ homepage: http://your.website.com
112
+ licenses: []
113
+ metadata: {}
114
+ post_install_message:
115
+ rdoc_options:
116
+ - --title
117
+ - rgc
118
+ - --main
119
+ - README.rdoc
120
+ - -ri
121
+ require_paths:
122
+ - lib
123
+ - lib
124
+ required_ruby_version: !ruby/object:Gem::Requirement
125
+ requirements:
126
+ - - '>='
127
+ - !ruby/object:Gem::Version
128
+ version: '0'
129
+ required_rubygems_version: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
134
+ requirements: []
135
+ rubyforge_project:
136
+ rubygems_version: 2.0.3
137
+ signing_key:
138
+ specification_version: 4
139
+ summary: A description of your project
140
+ test_files: []
141
+ has_rdoc: true