refuge 0.0.1 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Binary file
@@ -0,0 +1,30 @@
1
+ === 0.1.4 / 2010-08-17
2
+
3
+ * Returned to working on Refuge.
4
+ * Altered executable to run with 'usr/bin/ruby' rather than 'usr/bin/env ruby'.
5
+
6
+ === 0.1.3 / 2010-02-28
7
+
8
+ * Inverted order of history file... as it was backward for some silly reason.
9
+ * Some more general cleanup and simple refactoring.
10
+ * "Native" interface scripts are now selected directly by the value in RbConfig.
11
+ * Refuge::Native::Base's STANDARD_API system now also enforces parameter counts in a descriptive way.
12
+ * Added 'ostruct' utility script to add [] and []= operators to OpenStruct, the easier to deal with it in a fully dynamic way.
13
+ * Removed currently unneccessary 'string' utility script
14
+
15
+ === 0.1.2 / 2010-02-27
16
+
17
+ * Converted the Refuge class into a module for ease.
18
+ * Started a coding style of moving default values, etc, into constants.
19
+ * Started maintaining more/better code comments.
20
+ * Miscellaneous edits, mostly cosmetic.
21
+
22
+ === 0.1.1 / 2010-02-27
23
+
24
+ * "Native" interface mechanism is in place. Started the "linux" interface.
25
+ * Started a collection of "utils" scripts that expand core classes with new features.
26
+ * Started actively pursuing the options script and commands scripts.
27
+
28
+ === 0.1.0 / 2010-02-26
29
+
30
+ * Just got started in earnest.
@@ -0,0 +1,13 @@
1
+ Copyright 2010 Christopher Nicholson-Sauls
2
+
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
@@ -0,0 +1,20 @@
1
+ .autotest
2
+ .gitignore
3
+ History.txt
4
+ LICENSE.txt
5
+ Manifest.txt
6
+ Rakefile
7
+ README.txt
8
+ refuge.gemspec
9
+ bin/refuge
10
+ lib/refuge.rb
11
+ lib/refuge/commands.rb
12
+ lib/refuge/native.rb
13
+ lib/refuge/options.rb
14
+ lib/refuge/commands/help.rb
15
+ lib/refuge/native/linux.rb
16
+ lib/refuge/native/linux-gnu.rb
17
+ lib/refuge/utils/array.rb
18
+ lib/refuge/utils/ostruct.rb
19
+ lib/refuge/utils/string.rb
20
+ lib/refuge/utils/symbol.rb
@@ -0,0 +1,49 @@
1
+ = refuge
2
+
3
+ * http://refuge.projects.invironz.com/
4
+
5
+ == DESCRIPTION:
6
+
7
+ (FIXME)
8
+
9
+ == FEATURES/PROBLEMS:
10
+
11
+ * (FIXME)
12
+
13
+ == SYNOPSIS:
14
+
15
+ (FIXME)
16
+
17
+ == REQUIREMENTS:
18
+
19
+ * (FIXME)
20
+
21
+ == INSTALL:
22
+
23
+ * (FIXME)
24
+
25
+ == DEVELOPERS:
26
+
27
+ After checking out the source, run:
28
+
29
+ $ rake newb
30
+
31
+ This task will install any missing dependencies, run the tests/specs,
32
+ and generate the RDoc.
33
+
34
+ == LICENSE:
35
+
36
+ Copyright 2010 Christopher Nicholson-Sauls
37
+
38
+ Licensed under the Apache License, Version 2.0 (the "License");
39
+ you may not use this file except in compliance with the License.
40
+ You may obtain a copy of the License at
41
+
42
+ http://www.apache.org/licenses/LICENSE-2.0
43
+
44
+ Unless required by applicable law or agreed to in writing, software
45
+ distributed under the License is distributed on an "AS IS" BASIS,
46
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
47
+ See the License for the specific language governing permissions and
48
+ limitations under the License.
49
+
@@ -0,0 +1,10 @@
1
+ # -*- ruby -*-
2
+
3
+ require 'rubygems'
4
+ require 'hoe'
5
+
6
+ Hoe.spec 'refuge' do
7
+ developer( 'Christopher Nicholson-Sauls', 'cgrantns@invironz.com' )
8
+ end
9
+
10
+ # vim: syntax=ruby
data/bin/refuge CHANGED
@@ -1,11 +1,65 @@
1
- #!/usr/bin/ruby
1
+ #!/usr/bin/ruby
2
+ =begin ###################################################################################
3
+ Copyright 2010 Christopher Nicholson-Sauls
2
4
 
5
+ Licensed under the Apache License, Version 2.0 (the "License");
6
+ you may not use this file except in compliance with the License.
7
+ You may obtain a copy of the License at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
11
+ Unless required by applicable law or agreed to in writing, software
12
+ distributed under the License is distributed on an "AS IS" BASIS,
13
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ See the License for the specific language governing permissions and
15
+ limitations under the License.
16
+ =end #####################################################################################
17
+
18
+ ##########################################################################################
19
+ # Namespace
20
+ #
3
21
  module Refuge
4
22
 
5
- def self.main
6
- puts 'Refuge!'
23
+ ##################################################################################
24
+ # Application version.
25
+ #
26
+ VERSION = '0.1.2'
27
+
28
+ ##################################################################################
29
+ # Everything after this is a function.
30
+ #
31
+ module_function
32
+
33
+ ##################################################################################
34
+ # Our own exit() routine, which takes a standard exit code tag and writes the
35
+ # description (if there is one) to stderr. It then uses the SystemExit exception
36
+ # to terminate.
37
+ #
38
+ def exit ( tag, custom_msg = nil )
39
+ code, msg = EXIT_CODES[ tag ]
40
+ unless code == 0
41
+ msg = "#{ msg } :: #{ custom_msg }" unless custom_msg.nil?
42
+ $stderr.puts 'Error: ' + msg
43
+ end
44
+ raise SystemExit.new code
7
45
  end
8
46
 
9
- end
47
+ ##################################################################################
48
+ # Main routine.
49
+ #
50
+ def run
51
+ begin
52
+
53
+ rescue SystemExit
54
+
55
+ end
56
+ end
57
+
58
+ end # module Refuge
59
+
60
+ require 'refuge'
10
61
 
11
- Refuge::main
62
+ ##########################################################################################
63
+ # Execution trigger.
64
+ #
65
+ Refuge::run
@@ -0,0 +1,80 @@
1
+ =begin ###################################################################################
2
+ Copyright 2010 Christopher Nicholson-Sauls
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+
8
+ http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ Unless required by applicable law or agreed to in writing, software
11
+ distributed under the License is distributed on an "AS IS" BASIS,
12
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ See the License for the specific language governing permissions and
14
+ limitations under the License.
15
+ =end #####################################################################################
16
+
17
+ ##########################################################################################
18
+ # Namespace
19
+ #
20
+ module Refuge
21
+
22
+ ##################################################################################
23
+ #
24
+ #
25
+ LIBBASE = 'refuge/'
26
+ LIBBASE_COMMANDS = LIBBASE + 'commands/'
27
+ LIBBASE_NATIVE = LIBBASE + 'native/'
28
+ LIBBASE_UTILS = LIBBASE + 'utils/'
29
+
30
+ ##################################################################################
31
+ #
32
+ #
33
+ DEFAULT_COMMAND = 'help'
34
+
35
+ ##################################################################################
36
+ # Standard exit code mappings.
37
+ #
38
+ EXIT_CODES = {
39
+ :ok => [ 0, '' ],
40
+ :general => [ 1, 'General error' ],
41
+
42
+ :os_not_supported => [ 10, 'Your operating system is not yet supported' ],
43
+
44
+ :native_not_impl => [ 20, 'A native interface feature is not implemented' ],
45
+ :cmd_not_impl => [ 21, 'A command feature is not implemented' ],
46
+ }
47
+
48
+ ##################################################################################
49
+ # Everything after this is a function.
50
+ #
51
+ module_function
52
+
53
+ ##################################################################################
54
+ # Loads a set of library scripts under a common base path.
55
+ #
56
+ def load_libs ( base, names )
57
+ names.each do | elem |
58
+ require base + elem
59
+ end
60
+ end
61
+
62
+ end # module Refuge
63
+
64
+ ##########################################################################################
65
+ # Load 'utils' libs.
66
+ #
67
+ Refuge::load_libs Refuge::LIBBASE_UTILS, [
68
+ 'array',
69
+ 'string',
70
+ 'symbol'
71
+ ]
72
+
73
+ ##########################################################################################
74
+ # Load core libs.
75
+ #
76
+ Refuge::load_libs Refuge::LIBBASE, [
77
+ 'commands',
78
+ 'native',
79
+ 'options'
80
+ ]
@@ -0,0 +1,77 @@
1
+ =begin ###################################################################################
2
+ Copyright 2010 Christopher Nicholson-Sauls
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+
8
+ http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ Unless required by applicable law or agreed to in writing, software
11
+ distributed under the License is distributed on an "AS IS" BASIS,
12
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ See the License for the specific language governing permissions and
14
+ limitations under the License.
15
+ =end #####################################################################################
16
+
17
+ ##########################################################################################
18
+ #
19
+ #
20
+ require 'pathname'
21
+
22
+ ##########################################################################################
23
+ #
24
+ #
25
+ module Refuge::Commands
26
+
27
+ ##################################################################################
28
+ #
29
+ #
30
+ @@command = ARGV.find {| elem | elem =~ /^[a-z][a-z\-]+$/i }
31
+ @@command ||= Refuge::DEFAULT_COMMAND
32
+
33
+ ##################################################################################
34
+ #
35
+ #
36
+ @@path = Pathname.new( Refuge::LIBBASE_COMMANDS + @@command.downcase )
37
+
38
+ ##################################################################################
39
+ #
40
+ #
41
+ unless require @@path
42
+ Refuge::exit( :general, "command script could not be loaded: '#{ @@command }'" )
43
+ end
44
+ @@current = Refuge::Commands::Impl.new
45
+
46
+ ##################################################################################
47
+ #
48
+ #
49
+ module_function
50
+
51
+ ##################################################################################
52
+ #
53
+ #
54
+ def command ;@@command ;end
55
+ def current ;@@current ;end
56
+ def path ;@@path ;end
57
+
58
+ end # module Refuge::Commands
59
+
60
+ ##########################################################################################
61
+ #
62
+ #
63
+ class Refuge::Commands::Base
64
+
65
+ STANDARD_API = {
66
+ }
67
+
68
+ STANDARD_API.each_pair do | msg, params |
69
+ signature = "#{ msg }( #{ params } ) "
70
+ class_eval %Q{
71
+ def #{ signature }
72
+ Refuge::exit :cmd_not_impl, '#{ signature }'
73
+ end
74
+ }
75
+ end
76
+
77
+ end # end class Refuge::Native::Base
@@ -0,0 +1,17 @@
1
+ =begin ###################################################################################
2
+ Copyright 2010 Christopher Nicholson-Sauls
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+
8
+ http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ Unless required by applicable law or agreed to in writing, software
11
+ distributed under the License is distributed on an "AS IS" BASIS,
12
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ See the License for the specific language governing permissions and
14
+ limitations under the License.
15
+ =end #####################################################################################
16
+
17
+ # (TODO)
@@ -0,0 +1,74 @@
1
+ =begin ###################################################################################
2
+ Copyright 2010 Christopher Nicholson-Sauls
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+
8
+ http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ Unless required by applicable law or agreed to in writing, software
11
+ distributed under the License is distributed on an "AS IS" BASIS,
12
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ See the License for the specific language governing permissions and
14
+ limitations under the License.
15
+ =end #####################################################################################
16
+
17
+ ##########################################################################################
18
+ #
19
+ #
20
+ require 'pathname'
21
+ require 'rbconfig'
22
+ require 'singleton'
23
+
24
+ ##########################################################################################
25
+ #
26
+ #
27
+ module Refuge::Native
28
+
29
+ ##################################################################################
30
+ #
31
+ #
32
+ module_function
33
+
34
+ ##################################################################################
35
+ #
36
+ #
37
+ def instance
38
+ @@success ||= require Refuge::LIBBASE_NATIVE + RbConfig::CONFIG[ 'host_os' ]
39
+ Refuge::exit :os_not_supported unless @@success
40
+ Impl.instance
41
+ end
42
+
43
+ end # module Refuge::Native
44
+
45
+ ##########################################################################################
46
+ #
47
+ #
48
+ class Refuge::Native::Base
49
+
50
+ STANDARD_API = {
51
+ :config_paths => '',
52
+ :fetch => 'path'
53
+ }
54
+
55
+ STANDARD_API.each_pair do | msg, params |
56
+ signature = "#{ msg }( #{ params } ) "
57
+ class_eval %Q{
58
+ def #{ signature }
59
+ Refuge::exit :native_not_impl, '#{ signature }'
60
+ end
61
+ }
62
+ end
63
+
64
+ end # end class Refuge::Native::Base
65
+
66
+ ##########################################################################################
67
+ #
68
+ #
69
+ class Refuge::Native::Impl < Refuge::Native::Base
70
+
71
+ include Singleton
72
+
73
+ end # end class Refuge::Native::Impl
74
+
@@ -0,0 +1,17 @@
1
+ =begin ###################################################################################
2
+ Copyright 2010 Christopher Nicholson-Sauls
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+
8
+ http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ Unless required by applicable law or agreed to in writing, software
11
+ distributed under the License is distributed on an "AS IS" BASIS,
12
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ See the License for the specific language governing permissions and
14
+ limitations under the License.
15
+ =end #####################################################################################
16
+
17
+ require Refuge::LIBBASE_NATIVE + 'linux'
@@ -0,0 +1,34 @@
1
+ =begin ###################################################################################
2
+ Copyright 2010 Christopher Nicholson-Sauls
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+
8
+ http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ Unless required by applicable law or agreed to in writing, software
11
+ distributed under the License is distributed on an "AS IS" BASIS,
12
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ See the License for the specific language governing permissions and
14
+ limitations under the License.
15
+ =end #####################################################################################
16
+
17
+ ##########################################################################################
18
+ #
19
+ #
20
+ class Refuge::Native::Impl
21
+
22
+ def config_paths
23
+ [
24
+ '/etc/conf.d/refuge', # Global configuration
25
+ '~/.refuge_conf', # Per-user configuration
26
+ '.refuge/conf' # Local configuration
27
+ ]
28
+ end
29
+
30
+ def fetch ( path )
31
+ status = `wget #{ path }`
32
+ end
33
+
34
+ end # class Refuge::Native::Impl
@@ -0,0 +1,71 @@
1
+ =begin ###################################################################################
2
+ Copyright 2010 Christopher Nicholson-Sauls
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+
8
+ http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ Unless required by applicable law or agreed to in writing, software
11
+ distributed under the License is distributed on an "AS IS" BASIS,
12
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ See the License for the specific language governing permissions and
14
+ limitations under the License.
15
+ =end #####################################################################################
16
+
17
+ ##########################################################################################
18
+ #
19
+ #
20
+ require 'optparse'
21
+ require 'ostruct'
22
+ require 'singleton'
23
+
24
+ ##########################################################################################
25
+ #
26
+ #
27
+ module Refuge;
28
+
29
+ DEFAULT_SETTINGS = {
30
+ :help => false,
31
+ :verbose => false
32
+ }
33
+
34
+ COMMON_OPTIONS = {
35
+ :verbose => 'Run with verbose output.'
36
+ }
37
+
38
+ @@options = OpenStruct.new DEFAULT_SETTINGS
39
+
40
+ module_function
41
+
42
+ def options; @@options; end
43
+
44
+ def option_parser
45
+ @@option_parser ||= OptionParser.new do | op |
46
+ op.banner = "Usage: #{ $0 } [common-options] command [options]"
47
+
48
+ op.separator ''
49
+ op.separator 'Common Options:'
50
+
51
+ op.on( '-?', '--help', 'Show quick usage information.' ) do | x |
52
+ @@options.help = x
53
+ end
54
+
55
+ COMMON_OPTIONS.sort.each do | tag, desc |
56
+ op.on( "-#{ tag.to_s[ 0, 1 ] }", "--[no-]#{ tag }", desc ) do | x |
57
+ #@@options.__send__( "#{ tag }=", x )
58
+ @@options[ tag ] = x
59
+ end
60
+ end
61
+ end
62
+ end
63
+
64
+ def update_options ( table )
65
+ table.each_pair do | key, value |
66
+ #@@options.__send__( "#{ key }=", value )
67
+ @@options[ key ] = value
68
+ end
69
+ end
70
+
71
+ end; #
@@ -0,0 +1,30 @@
1
+ =begin ###################################################################################
2
+ Copyright 2010 Christopher Nicholson-Sauls
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+
8
+ http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ Unless required by applicable law or agreed to in writing, software
11
+ distributed under the License is distributed on an "AS IS" BASIS,
12
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ See the License for the specific language governing permissions and
14
+ limitations under the License.
15
+ =end #####################################################################################
16
+
17
+ ##########################################################################################
18
+ #
19
+ #
20
+ class Array
21
+
22
+ def find ( &block )
23
+ result = nil
24
+ self.each do | elem |
25
+ ( result = elem ; break ) if yield elem
26
+ end
27
+ return result
28
+ end
29
+
30
+ end #
@@ -0,0 +1,30 @@
1
+ =begin ###################################################################################
2
+ Copyright 2010 Christopher Nicholson-Sauls
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+
8
+ http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ Unless required by applicable law or agreed to in writing, software
11
+ distributed under the License is distributed on an "AS IS" BASIS,
12
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ See the License for the specific language governing permissions and
14
+ limitations under the License.
15
+ =end #####################################################################################
16
+
17
+ ##########################################################################################
18
+ #
19
+ #
20
+ class OpenStruct
21
+
22
+ def [] ( msg )
23
+ self.__send__ msg
24
+ end
25
+
26
+ def []= ( msg, *args )
27
+ self.__send__ "#{ msg }=", *args
28
+ end
29
+
30
+ end
@@ -0,0 +1,26 @@
1
+ =begin ###################################################################################
2
+ Copyright 2010 Christopher Nicholson-Sauls
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+
8
+ http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ Unless required by applicable law or agreed to in writing, software
11
+ distributed under the License is distributed on an "AS IS" BASIS,
12
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ See the License for the specific language governing permissions and
14
+ limitations under the License.
15
+ =end #####################################################################################
16
+
17
+ ##########################################################################################
18
+ #
19
+ #
20
+ class Symbol
21
+
22
+ def <=> ( other )
23
+ to_s <=> other.to_s
24
+ end
25
+
26
+ end # class Symbol
@@ -0,0 +1,26 @@
1
+ =begin ###################################################################################
2
+ Copyright 2010 Christopher Nicholson-Sauls
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+
8
+ http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ Unless required by applicable law or agreed to in writing, software
11
+ distributed under the License is distributed on an "AS IS" BASIS,
12
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ See the License for the specific language governing permissions and
14
+ limitations under the License.
15
+ =end #####################################################################################
16
+
17
+ require 'test/unit'
18
+ require 'refuge'
19
+
20
+ class TestRefuge < Test::Unit::TestCase
21
+
22
+ def test_sanity
23
+ # flunk 'write tests or I will kneecap you'
24
+ end
25
+
26
+ end
metadata CHANGED
@@ -1,24 +1,60 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refuge
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 0
9
8
  - 1
10
- version: 0.0.1
9
+ - 4
10
+ version: 0.1.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Christopher Nicholson-Sauls
14
14
  autorequire:
15
15
  bindir: bin
16
- cert_chain: []
16
+ cert_chain:
17
+ - |
18
+ -----BEGIN CERTIFICATE-----
19
+ MIIDODCCAiCgAwIBAgIBADANBgkqhkiG9w0BAQUFADBCMRQwEgYDVQQDDAtpYmlz
20
+ YmFzZW5qaTEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYD
21
+ Y29tMB4XDTEwMDgxNzA3NTAyMloXDTExMDgxNzA3NTAyMlowQjEUMBIGA1UEAwwL
22
+ aWJpc2Jhc2VuamkxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixk
23
+ ARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAN+cIksSHraW
24
+ Xz8zI6xleh74Ya9qsByAB+uqtXXmWXtE9KiN2XtiZe0Mex88m29VvPuNazH45MJp
25
+ ZzyRxlmMqZIAofTyIzdPmRPebNeeb1hkSh3ltbF4sZESa2pOHjPCAEYlUmEaysUk
26
+ oORVPCXieZhssMwYnsao/6runNmkqRAeoAPWOVWtgpDEk0fAKeO14sG98MIQ8aTE
27
+ WLBFxKAM/RCE1lfuk62vm1vxytKFZ4JEuFxp/e6aaajYPFwt4qU4HdtrIiXxVbg1
28
+ 2sjssStDAgLz/+VKbc6KrhDFR2+U5vh4uTDA87hQ+4oLu/+hFXCuCcisafsTyrkY
29
+ 6xCSahY/VgUCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0O
30
+ BBYEFPxQ5EBJsdvvClZMIgkU3hrmr+1OMA0GCSqGSIb3DQEBBQUAA4IBAQB8tPz/
31
+ f5xZszXkdsnHGnSA2rOR5JBjtqP839bzC1IH74bpHiRiJsPI01e+O50cS9nsRPGq
32
+ 8mU16WGfTNMp/3A6zsePmJHUy9xHhnRs0aiis8JKRBXxgASJP3C1Z7A53XUkBiMS
33
+ mMSGtUsknsb0pW2ji0/sXztqBR41tdjWwcwMlSoBzetGy+IxvDGrifKTV55i7ef/
34
+ bsTPobh2Qfj90r2E6P0fDR30M+e6BOZD/nF9pjslfq5nerPeUU+b4WDjkEnCxMV8
35
+ JJJOPfJLbGI+6e4AQPvlW67Qj0cEkda6Xt85P3sjN/z5jRmlqo/UiOD/nV1Ikk22
36
+ mV6JwQu+cUlbtLkO
37
+ -----END CERTIFICATE-----
17
38
 
18
39
  date: 2010-08-17 00:00:00 -05:00
19
40
  default_executable:
20
- dependencies: []
21
-
41
+ dependencies:
42
+ - !ruby/object:Gem::Dependency
43
+ name: log4r
44
+ prerelease: false
45
+ requirement: &id001 !ruby/object:Gem::Requirement
46
+ none: false
47
+ requirements:
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ hash: 25
51
+ segments:
52
+ - 1
53
+ - 1
54
+ - 5
55
+ version: 1.1.5
56
+ type: :runtime
57
+ version_requirements: *id001
22
58
  description: A tool for creating and managing sandboxed D Progamming Language projects, including automated builds and package based tool/library availability.
23
59
  email: ibisbasenji@gmail.com
24
60
  executables:
@@ -28,13 +64,28 @@ extensions: []
28
64
  extra_rdoc_files: []
29
65
 
30
66
  files:
67
+ - History.txt
68
+ - README.txt
69
+ - LICENSE.txt
70
+ - Rakefile
71
+ - Manifest.txt
31
72
  - bin/refuge
32
- - lib/refuge/sandbox.rb
73
+ - lib/refuge/native/linux-gnu.rb
74
+ - lib/refuge/native/linux.rb
75
+ - lib/refuge/options.rb
76
+ - lib/refuge/utils/symbol.rb
77
+ - lib/refuge/utils/array.rb
78
+ - lib/refuge/utils/ostruct.rb
79
+ - lib/refuge/commands/help.rb
80
+ - lib/refuge/native.rb
81
+ - lib/refuge/commands.rb
82
+ - lib/refuge.rb
83
+ - test/test_refuge.rb
33
84
  has_rdoc: true
34
85
  homepage: http://refuge.invironz.com/
35
- licenses: []
36
-
37
- post_install_message:
86
+ licenses:
87
+ - Apache License 2.0
88
+ post_install_message: Thank you for seeking Refuge.
38
89
  rdoc_options: []
39
90
 
40
91
  require_paths:
@@ -44,10 +95,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
44
95
  requirements:
45
96
  - - ">="
46
97
  - !ruby/object:Gem::Version
47
- hash: 3
98
+ hash: 53
48
99
  segments:
49
- - 0
50
- version: "0"
100
+ - 1
101
+ - 8
102
+ - 1
103
+ version: 1.8.1
51
104
  required_rubygems_version: !ruby/object:Gem::Requirement
52
105
  none: false
53
106
  requirements:
@@ -59,10 +112,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
59
112
  version: "0"
60
113
  requirements: []
61
114
 
62
- rubyforge_project:
115
+ rubyforge_project: refuge
63
116
  rubygems_version: 1.3.7
64
117
  signing_key:
65
118
  specification_version: 3
66
- summary: sandboxing tool for the D Programming Language
119
+ summary: Sandboxing toolchain for the D Programming Language
67
120
  test_files: []
68
121
 
Binary file
@@ -1,20 +0,0 @@
1
- module Refuge
2
-
3
- class Sandbox
4
-
5
- def self.create ( a_path )
6
- self.new a_path
7
- end
8
-
9
- def self.exists? ( a_path )
10
- end
11
-
12
- attr_reader :path
13
-
14
- def initialize ( a_path )
15
- @path = a_path
16
- end
17
-
18
- end
19
-
20
- end