bendiken-cheapid 0.0.0

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.
data/LICENSE ADDED
@@ -0,0 +1,19 @@
1
+ Copyright (c) 2008-2009 Arto Bendiken <http://ar.to/>
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to
5
+ deal in the Software without restriction, including without limitation the
6
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
7
+ sell copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in
11
+ all copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
18
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
19
+ IN THE SOFTWARE.
data/README ADDED
@@ -0,0 +1,44 @@
1
+ == CheapID
2
+
3
+ This is the Git repository for the reference implementation of the CheapID
4
+ digital identity standard.
5
+
6
+
7
+ === About CheapID
8
+
9
+ CheapID is a digital identity standard designed for use in conflicted
10
+ environments like those many refugees or disaster victims may find
11
+ themselves in.
12
+
13
+ * http://guptaoption.com/cheapid/
14
+ * http://guptaoption.com
15
+ * http://drupal.org/project/cheapid
16
+ * http://code.google.com/p/cheapid/
17
+ * http://groups.google.com/group/cheapid
18
+
19
+
20
+ == Download
21
+
22
+ $ git clone git://github.com/bendiken/cheapid.git
23
+
24
+
25
+ == Install
26
+
27
+ $ sudo gem install bendiken-cheapid -s http://gems.github.com
28
+
29
+
30
+ == Authors
31
+
32
+ * Vinay Gupta (mailto:hexayurt@gmail.com) - http://guptaoption.com
33
+ * Arto Bendiken (mailto:arto.bendiken@gmail.com) - http://ar.to
34
+
35
+
36
+ == License
37
+
38
+ All CheapID reference implementation source code is available under the
39
+ terms of the MIT license. For more information, see the accompanying LICENSE
40
+ file.
41
+
42
+ All documentation is available under the Creative Commons Attribution-Share
43
+ Alike 3.0 license <http://creativecommons.org/licenses/by-sa/3.0/> unless
44
+ otherwise stated.
data/Rakefile ADDED
@@ -0,0 +1,37 @@
1
+ require 'rubygems'
2
+ require 'rake'
3
+
4
+ begin
5
+ require 'jeweler'
6
+ Jeweler::Tasks.new do |gem|
7
+ gem.name = "cheapid"
8
+ gem.summary = "The CheapID reference implementation."
9
+ gem.email = "arto.bendiken@gmail.com"
10
+ gem.homepage = "http://github.com/bendiken/cheapid"
11
+ gem.description = "This is a pure-Ruby implementation of the CheapID Digital Identity Card Specification."
12
+ gem.authors = ["Arto Bendiken", "Vinay Gupta"]
13
+ gem.executables = ['cheapid']
14
+ gem.add_dependency 'openpgp'
15
+ end
16
+ rescue LoadError
17
+ puts "Jeweler (or a dependency) not available. Install it with: sudo gem install bendiken-jeweler -s http://gems.github.com"
18
+ end
19
+
20
+ require 'rake/testtask'
21
+ Rake::TestTask.new(:test) do |test|
22
+ test.libs << 'lib' << 'test'
23
+ test.pattern = 'test/**/*_test.rb'
24
+ test.verbose = true
25
+ end
26
+
27
+ task :default => :test
28
+
29
+ require 'rake/rdoctask'
30
+ Rake::RDocTask.new do |rdoc|
31
+ version = File.exist?('VERSION') ? File.read('VERSION').chomp : ''
32
+
33
+ rdoc.rdoc_dir = 'doc/rdoc'
34
+ rdoc.title = "CheapID #{version}"
35
+ rdoc.rdoc_files.include('README*')
36
+ rdoc.rdoc_files.include('lib/**/*.rb')
37
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.0.0
data/bin/cheapid ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env ruby
2
+ require 'cheapid'
@@ -0,0 +1,11 @@
1
+ module CheapID
2
+ module VERSION
3
+ MAJOR = 0
4
+ MINOR = 0
5
+ TINY = 1
6
+ EXTRA = :dev
7
+
8
+ STRING = [MAJOR, MINOR, TINY].join('.')
9
+ STRING << "-#{EXTRA}" if EXTRA
10
+ end
11
+ end
data/lib/cheapid.rb ADDED
@@ -0,0 +1,2 @@
1
+ require 'openpgp'
2
+ require 'cheapid/version'
metadata ADDED
@@ -0,0 +1,70 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bendiken-cheapid
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Arto Bendiken
8
+ - Vinay Gupta
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2009-04-16 00:00:00 -07:00
14
+ default_executable: cheapid
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: openpgp
18
+ type: :runtime
19
+ version_requirement:
20
+ version_requirements: !ruby/object:Gem::Requirement
21
+ requirements:
22
+ - - ">="
23
+ - !ruby/object:Gem::Version
24
+ version: "0"
25
+ version:
26
+ description: This is a pure-Ruby implementation of the CheapID Digital Identity Card Specification.
27
+ email: arto.bendiken@gmail.com
28
+ executables:
29
+ - cheapid
30
+ extensions: []
31
+
32
+ extra_rdoc_files:
33
+ - LICENSE
34
+ - README
35
+ files:
36
+ - LICENSE
37
+ - README
38
+ - Rakefile
39
+ - VERSION
40
+ - bin/cheapid
41
+ - lib/cheapid.rb
42
+ - lib/cheapid/version.rb
43
+ has_rdoc: true
44
+ homepage: http://github.com/bendiken/cheapid
45
+ post_install_message:
46
+ rdoc_options:
47
+ - --charset=UTF-8
48
+ require_paths:
49
+ - lib
50
+ required_ruby_version: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: "0"
55
+ version:
56
+ required_rubygems_version: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: "0"
61
+ version:
62
+ requirements: []
63
+
64
+ rubyforge_project:
65
+ rubygems_version: 1.2.0
66
+ signing_key:
67
+ specification_version: 3
68
+ summary: The CheapID reference implementation.
69
+ test_files: []
70
+