mack-encryption 0.8.1 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
data/lib/gems.rb ADDED
@@ -0,0 +1,18 @@
1
+ module Gem
2
+ class << self
3
+ public :set_paths
4
+ end
5
+ end
6
+ path = File.expand_path(File.join(File.dirname(__FILE__), 'gems'))
7
+ Gem.set_paths(path)
8
+
9
+ Dir.glob(File.join(path, '*')).each do |p|
10
+ full_gem_name = File.basename(p)
11
+ version = full_gem_name.match(/([\d\.?]+)/).to_s
12
+ gem_name = full_gem_name.gsub("-#{version}", '')
13
+ $:.unshift(File.join(p, 'lib'))
14
+ begin
15
+ gem gem_name, "~> #{version}"
16
+ rescue Gem::LoadError
17
+ end
18
+ end
@@ -1,4 +1,7 @@
1
1
  require 'singleton'
2
+
3
+ require File.join(File.dirname(__FILE__), 'gems')
4
+
2
5
  require 'ezcrypto'
3
6
 
4
7
  base = File.join(File.dirname(__FILE__), "mack-encryption")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mack-encryption
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - markbates
@@ -9,19 +9,10 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-10-26 00:00:00 -04:00
12
+ date: 2008-11-30 00:00:00 -05:00
13
13
  default_executable:
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: ezcrypto
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
20
- requirements:
21
- - - "="
22
- - !ruby/object:Gem::Version
23
- version: "0.7"
24
- version:
14
+ dependencies: []
15
+
25
16
  description: "mack-encryption was developed by: markbates"
26
17
  email: mark@mackframework.com
27
18
  executables: []
@@ -31,6 +22,19 @@ extensions: []
31
22
  extra_rdoc_files:
32
23
  - README
33
24
  files:
25
+ - lib/gems
26
+ - lib/gems/cache
27
+ - lib/gems/doc
28
+ - lib/gems/ezcrypto-0.7
29
+ - lib/gems/ezcrypto-0.7/lib
30
+ - lib/gems/ezcrypto-0.7/lib/active_crypto.rb
31
+ - lib/gems/ezcrypto-0.7/lib/ezcrypto.rb
32
+ - lib/gems/ezcrypto-0.7/lib/ezsig.rb
33
+ - lib/gems/ezcrypto-0.7/lib/trusted.pem
34
+ - lib/gems/gems
35
+ - lib/gems/specifications
36
+ - lib/gems.rb
37
+ - lib/mack-encryption
34
38
  - lib/mack-encryption/default_worker.rb
35
39
  - lib/mack-encryption/keeper.rb
36
40
  - lib/mack-encryption/kernel.rb
@@ -40,8 +44,8 @@ files:
40
44
  has_rdoc: true
41
45
  homepage: http://www.mackframework.com
42
46
  post_install_message:
43
- rdoc_options: []
44
-
47
+ rdoc_options:
48
+ - --exclude=gems/
45
49
  require_paths:
46
50
  - lib
47
51
  - lib
@@ -60,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
60
64
  requirements: []
61
65
 
62
66
  rubyforge_project: magrathea
63
- rubygems_version: 1.2.0
67
+ rubygems_version: 1.3.1
64
68
  signing_key:
65
69
  specification_version: 2
66
70
  summary: crypt/rijndael support for Mack