acclimate 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/acclimate.gemspec +2 -0
- data/lib/acclimate.rb +2 -6
- data/lib/acclimate/command.rb +1 -1
- data/lib/acclimate/formatter.rb +21 -0
- data/lib/acclimate/shell_helper.rb +10 -0
- data/lib/acclimate/version.rb +1 -1
- metadata +32 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 974bdaf3d34b34590dec398062926a478a99fe49
|
4
|
+
data.tar.gz: 9f8adcc02d410c9d90d79383d8c4f0f282759eab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2dfd82c10e948ba263fd717d02e4bae2b28463e3d2709cc14a5c69291d47bf98bf7de2834ac60241522bbddfa44f4f521caf9b536071dc91bb98e62ae9ffd5e8
|
7
|
+
data.tar.gz: 74b8613d8cfaaf063253fdcf3d10f8c3fe5f63aadb4f06ca4a8b390832d48382c81c3e65d12c7b0b6603e2c4a4eb2d2b8be02739db5f1bf8e72271d63e21aead
|
data/acclimate.gemspec
CHANGED
@@ -23,6 +23,8 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.add_development_dependency "pry-debugger"
|
24
24
|
spec.add_development_dependency "rake"
|
25
25
|
|
26
|
+
spec.add_dependency "autoloaded"
|
27
|
+
spec.add_dependency "command_line_reporter"
|
26
28
|
spec.add_dependency "hashie"
|
27
29
|
spec.add_dependency "rainbow"
|
28
30
|
spec.add_dependency "thor"
|
data/lib/acclimate.rb
CHANGED
@@ -1,14 +1,10 @@
|
|
1
1
|
require "acclimate/version"
|
2
|
+
require 'autoloaded'
|
2
3
|
require 'rainbow'
|
3
4
|
require 'thor'
|
4
5
|
|
5
6
|
module Acclimate
|
6
7
|
|
7
|
-
|
8
|
-
autoload :Command, 'acclimate/command'
|
9
|
-
autoload :Configuration, 'acclimate/configuration'
|
10
|
-
autoload :ConfirmationError, 'acclimate/confirmation_error'
|
11
|
-
autoload :Error, 'acclimate/error'
|
12
|
-
autoload :Output, 'acclimate/output'
|
8
|
+
extend Autoloaded
|
13
9
|
|
14
10
|
end
|
data/lib/acclimate/command.rb
CHANGED
@@ -0,0 +1,21 @@
|
|
1
|
+
require 'command_line_reporter'
|
2
|
+
|
3
|
+
module Acclimate
|
4
|
+
class Formatter
|
5
|
+
|
6
|
+
include CommandLineReporter
|
7
|
+
|
8
|
+
def render
|
9
|
+
raise NotImplementedError
|
10
|
+
end
|
11
|
+
|
12
|
+
protected
|
13
|
+
|
14
|
+
def capture( &block )
|
15
|
+
suppress_output
|
16
|
+
block.call
|
17
|
+
capture_output
|
18
|
+
end
|
19
|
+
|
20
|
+
end
|
21
|
+
end
|
data/lib/acclimate/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acclimate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- C. Jason Harrelson (midas )
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -66,6 +66,34 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: autoloaded
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: command_line_reporter
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
69
97
|
- !ruby/object:Gem::Dependency
|
70
98
|
name: hashie
|
71
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -129,7 +157,9 @@ files:
|
|
129
157
|
- lib/acclimate/configuration.rb
|
130
158
|
- lib/acclimate/confirmation_error.rb
|
131
159
|
- lib/acclimate/error.rb
|
160
|
+
- lib/acclimate/formatter.rb
|
132
161
|
- lib/acclimate/output.rb
|
162
|
+
- lib/acclimate/shell_helper.rb
|
133
163
|
- lib/acclimate/version.rb
|
134
164
|
homepage: ''
|
135
165
|
licenses:
|