configliere 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1 @@
1
+ --color
@@ -0,0 +1,16 @@
1
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
2
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
3
+
4
+ require 'tempfile'
5
+ # module Configliere ; DEFAULT_FILE = Tempfile.new("configliere_spec-") ;DEFAULT_FILE.close(false) ; DEFAULT_CONFIG_FILE = DEFAULT_FILE.path ; end
6
+
7
+ require 'configliere'
8
+ require 'spec'
9
+ require 'spec/autorun'
10
+
11
+ Spec::Runner.configure do |config|
12
+
13
+ end
14
+
15
+ # Configliere::DEFAULT_FILE.close!
16
+
metadata ADDED
@@ -0,0 +1,164 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: configliere
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - mrflip
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2010-01-06 00:00:00 -06:00
13
+ default_executable: configliere
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: rspec
17
+ type: :development
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 1.2.9
24
+ version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: yard
27
+ type: :development
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: "0"
34
+ version:
35
+ - !ruby/object:Gem::Dependency
36
+ name: highline
37
+ type: :runtime
38
+ version_requirement:
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: "0"
44
+ version:
45
+ - !ruby/object:Gem::Dependency
46
+ name: yaml
47
+ type: :runtime
48
+ version_requirement:
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: "0"
54
+ version:
55
+ - !ruby/object:Gem::Dependency
56
+ name: openssl
57
+ type: :runtime
58
+ version_requirement:
59
+ version_requirements: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: "0"
64
+ version:
65
+ description: " You've got a script. It's got some settings. Some settings are for this module, some are for that module. Most of them don't change. Except on your laptop, where the paths are different. Or when you're in production mode. Or when you're testing from the command line.\n\n \"\" So, Consigliere of mine, I think you should tell your Don what everyone knows. \"\" -- Don Corleone\n\n\
66
+ Configliere's wise counsel takes care of these problems. Design goals:\n\n\
67
+ * *Don't go outside the family*. Requires almost no external resources and almost no code in your script.\n\
68
+ * *Don't mess with my crew*. Settings for a model over here can be done independently of settings for a model over there, and don't require asking the boss to set something up.\n\
69
+ * *Be willing to sit down with the Five Families*. Takes settings from (at your option):\n\
70
+ ** Pre-defined defaults from constants\n\
71
+ ** Simple config files\n\
72
+ ** Environment variables\n\
73
+ ** Commandline options\n\
74
+ ** Ruby block called when all other options are in place\n\
75
+ * *Code of Silence*. Most commandline parsers force you to pre-define all your parameters in a centralized and wordy syntax. In configliere, you pre-define nothing -- commandline parameters map directly to values in the Configliere hash.\n\
76
+ * *Can hide your assets*. Rather than storing passwords and API keys in plain sight, configliere has a protection racket that can obscure values when stored to disk.\n\n\
77
+ fuhgeddaboudit.\n"
78
+ email: flip@infochimps.org
79
+ executables:
80
+ - configliere
81
+ extensions: []
82
+
83
+ extra_rdoc_files:
84
+ - LICENSE
85
+ - README.textile
86
+ files:
87
+ - .document
88
+ - .gitignore
89
+ - LICENSE
90
+ - README.textile
91
+ - Rakefile
92
+ - VERSION
93
+ - bin/configliere
94
+ - configliere.gemspec
95
+ - examples/commandline_script.rb
96
+ - examples/commandline_script.yaml
97
+ - examples/foo.yaml
98
+ - examples/simple_script.rb
99
+ - examples/simple_script.yaml
100
+ - lib/configliere.rb
101
+ - lib/configliere/commandline.rb
102
+ - lib/configliere/commandline/commands.rb
103
+ - lib/configliere/commandline/options.rb
104
+ - lib/configliere/config_blocks.rb
105
+ - lib/configliere/core_ext.rb
106
+ - lib/configliere/core_ext/hash.rb
107
+ - lib/configliere/crypter.rb
108
+ - lib/configliere/define.rb
109
+ - lib/configliere/encrypted.rb
110
+ - lib/configliere/environment.rb
111
+ - lib/configliere/param.rb
112
+ - lib/configliere/param_store.rb
113
+ - spec/configliere/commandline_spec.rb
114
+ - spec/configliere/config_blocks_spec.rb
115
+ - spec/configliere/crypter_spec.rb
116
+ - spec/configliere/define_spec.rb
117
+ - spec/configliere/encrypted_spec.rb
118
+ - spec/configliere/environment_spec.rb
119
+ - spec/configliere/param_spec.rb
120
+ - spec/configliere/param_store_spec.rb
121
+ - spec/configliere_spec.rb
122
+ - spec/spec.opts
123
+ - spec/spec_helper.rb
124
+ has_rdoc: true
125
+ homepage: http://github.com/mrflip/configliere
126
+ licenses: []
127
+
128
+ post_install_message:
129
+ rdoc_options:
130
+ - --charset=UTF-8
131
+ require_paths:
132
+ - lib
133
+ required_ruby_version: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - ">="
136
+ - !ruby/object:Gem::Version
137
+ version: "0"
138
+ version:
139
+ required_rubygems_version: !ruby/object:Gem::Requirement
140
+ requirements:
141
+ - - ">="
142
+ - !ruby/object:Gem::Version
143
+ version: "0"
144
+ version:
145
+ requirements: []
146
+
147
+ rubyforge_project:
148
+ rubygems_version: 1.3.5
149
+ signing_key:
150
+ specification_version: 3
151
+ summary: Wise, discreet configuration management
152
+ test_files:
153
+ - spec/configliere/commandline_spec.rb
154
+ - spec/configliere/config_blocks_spec.rb
155
+ - spec/configliere/crypter_spec.rb
156
+ - spec/configliere/define_spec.rb
157
+ - spec/configliere/encrypted_spec.rb
158
+ - spec/configliere/environment_spec.rb
159
+ - spec/configliere/param_spec.rb
160
+ - spec/configliere/param_store_spec.rb
161
+ - spec/configliere_spec.rb
162
+ - spec/spec_helper.rb
163
+ - examples/commandline_script.rb
164
+ - examples/simple_script.rb