clamp 0.6.3 → 0.6.4

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.
@@ -43,3 +43,15 @@ module CommandFactory
43
43
  end
44
44
 
45
45
  end
46
+
47
+ module SetEnv
48
+
49
+ def set_env(name, value)
50
+ if value
51
+ ENV[name] = value
52
+ else
53
+ ENV.delete(name)
54
+ end
55
+ end
56
+
57
+ end
metadata CHANGED
@@ -1,29 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clamp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-14 00:00:00.000000000 Z
11
+ date: 2015-02-26 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: ! 'Clamp provides an object-model for command-line utilities.
14
-
13
+ description: |
14
+ Clamp provides an object-model for command-line utilities.
15
15
  It handles parsing of command-line options, and generation of usage help.
16
-
17
- '
18
16
  email: mdub@dogbiscuit.org
19
17
  executables: []
20
18
  extensions: []
21
19
  extra_rdoc_files: []
22
20
  files:
23
- - .autotest
24
- - .gitignore
25
- - .rspec
26
- - .travis.yml
21
+ - ".autotest"
22
+ - ".gitignore"
23
+ - ".rspec"
24
+ - ".travis.yml"
27
25
  - CHANGES.md
28
26
  - Gemfile
29
27
  - LICENSE
@@ -71,17 +69,17 @@ require_paths:
71
69
  - lib
72
70
  required_ruby_version: !ruby/object:Gem::Requirement
73
71
  requirements:
74
- - - ! '>='
72
+ - - ">="
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  required_rubygems_version: !ruby/object:Gem::Requirement
78
76
  requirements:
79
- - - ! '>='
77
+ - - ">="
80
78
  - !ruby/object:Gem::Version
81
79
  version: '0'
82
80
  requirements: []
83
81
  rubyforge_project:
84
- rubygems_version: 2.0.7
82
+ rubygems_version: 2.2.2
85
83
  signing_key:
86
84
  specification_version: 4
87
85
  summary: a minimal framework for command-line utilities