cli_miami 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 98cad737e8e444b6511a4dbd87ab913f659a63e8
4
- data.tar.gz: 06701ca3c720bd5b8996bb029b97a028f54939f9
3
+ metadata.gz: 47e57b45bdc22855bb5fae82dcc3dd12c54a7122
4
+ data.tar.gz: d13decde950c513d8bb42ffe54f6fc987c55927b
5
5
  SHA512:
6
- metadata.gz: 587e80e43748f9e0be3d4a285e469b475e5c633fb762f16f9dac5e573d8e6655cbd769beda610be313603ae499243a8a9735499abb464b284874619d3c8bfec5
7
- data.tar.gz: d41852ee387b65d3d11b3321bd2291c9b07c2218ace7c0323cc39f36729bf23cf0f314ca3a43480032dcc5a8f2b768a98234f31bb09ecb0d0b50ba9424c23688
6
+ metadata.gz: c06ffeeaa5f1afdf1614ae4d0ad6fd7a99226f70471a27ad93d61d6189eb56e8cc99b8c6213e1cf3da450102714a858ae6dbbd09c12b5786ee66c7e2f97c08a8
7
+ data.tar.gz: 89e5be978ec19120b0eb269c18eea67159cfcad43c16177e10c1705e116669f76a5be73e153c76dd30195e966191db5a06da4f859dd5844a2b678a153829fd37
@@ -4,17 +4,19 @@ GEM
4
4
  celluloid (0.16.0)
5
5
  timers (~> 4.0.0)
6
6
  coderay (1.1.0)
7
- coveralls (0.7.9)
7
+ coveralls (0.8.0)
8
8
  multi_json (~> 1.10)
9
- rest-client (~> 1.7)
9
+ rest-client (>= 1.6.8, < 2)
10
10
  simplecov (~> 0.9.1)
11
11
  term-ansicolor (~> 1.3)
12
12
  thor (~> 0.19.1)
13
13
  diff-lcs (1.2.5)
14
14
  docile (1.1.5)
15
- ffi (1.9.6)
15
+ domain_name (0.5.23)
16
+ unf (>= 0.0.5, < 1.0.0)
17
+ ffi (1.9.8)
16
18
  formatador (0.2.5)
17
- guard (2.12.1)
19
+ guard (2.12.5)
18
20
  formatador (>= 0.2.4)
19
21
  listen (~> 2.7)
20
22
  lumberjack (~> 1.0)
@@ -29,17 +31,19 @@ GEM
29
31
  guard-compat (~> 1.1)
30
32
  rspec (>= 2.99.0, < 4.0)
31
33
  hitimes (1.2.2)
32
- listen (2.8.5)
33
- celluloid (>= 0.15.2)
34
+ http-cookie (1.0.2)
35
+ domain_name (~> 0.5)
36
+ listen (2.10.0)
37
+ celluloid (~> 0.16.0)
34
38
  rb-fsevent (>= 0.9.3)
35
39
  rb-inotify (>= 0.9)
36
40
  lumberjack (1.0.9)
37
41
  method_source (0.8.2)
38
42
  mime-types (2.4.3)
39
- multi_json (1.10.1)
43
+ multi_json (1.11.0)
40
44
  nenv (0.2.0)
41
- netrc (0.10.2)
42
- notiffany (0.0.5)
45
+ netrc (0.10.3)
46
+ notiffany (0.0.6)
43
47
  nenv (~> 0.1)
44
48
  shellany (~> 0.0)
45
49
  pry (0.10.1)
@@ -49,28 +53,29 @@ GEM
49
53
  rb-fsevent (0.9.4)
50
54
  rb-inotify (0.9.5)
51
55
  ffi (>= 0.5.0)
52
- rest-client (1.7.2)
56
+ rest-client (1.8.0)
57
+ http-cookie (>= 1.0.2, < 2.0)
53
58
  mime-types (>= 1.16, < 3.0)
54
59
  netrc (~> 0.7)
55
60
  rspec (3.2.0)
56
61
  rspec-core (~> 3.2.0)
57
62
  rspec-expectations (~> 3.2.0)
58
63
  rspec-mocks (~> 3.2.0)
59
- rspec-core (3.2.0)
64
+ rspec-core (3.2.3)
60
65
  rspec-support (~> 3.2.0)
61
- rspec-expectations (3.2.0)
66
+ rspec-expectations (3.2.1)
62
67
  diff-lcs (>= 1.2.0, < 2.0)
63
68
  rspec-support (~> 3.2.0)
64
- rspec-mocks (3.2.0)
69
+ rspec-mocks (3.2.1)
65
70
  diff-lcs (>= 1.2.0, < 2.0)
66
71
  rspec-support (~> 3.2.0)
67
- rspec-support (3.2.1)
72
+ rspec-support (3.2.2)
68
73
  shellany (0.0.1)
69
- simplecov (0.9.1)
74
+ simplecov (0.9.2)
70
75
  docile (~> 1.1.0)
71
76
  multi_json (~> 1.0)
72
- simplecov-html (~> 0.8.0)
73
- simplecov-html (0.8.0)
77
+ simplecov-html (~> 0.9.0)
78
+ simplecov-html (0.9.0)
74
79
  slop (3.6.0)
75
80
  term-ansicolor (1.3.0)
76
81
  tins (~> 1.0)
@@ -78,7 +83,10 @@ GEM
78
83
  thor (0.19.1)
79
84
  timers (4.0.1)
80
85
  hitimes
81
- tins (1.3.4)
86
+ tins (1.3.5)
87
+ unf (0.1.4)
88
+ unf_ext
89
+ unf_ext (0.0.6)
82
90
 
83
91
  PLATFORMS
84
92
  ruby
@@ -38,7 +38,7 @@ class CliMiami::A
38
38
  end.rstrip
39
39
 
40
40
  # return response if no block is passed
41
- if block
41
+ if block_given?
42
42
  yield output
43
43
  else
44
44
  return output
@@ -27,7 +27,8 @@ class CliMiami::S
27
27
  # @return
28
28
  #
29
29
  def self.ay text = '', options = {}
30
- original_text = text
30
+ # backup text and convert it to a string
31
+ original_text = text = text.to_s
31
32
 
32
33
  # set default options
33
34
  @options = {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cli_miami
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Brewster
@@ -123,3 +123,4 @@ signing_key:
123
123
  specification_version: 4
124
124
  summary: A feature rich alternative for `gets` and `puts` for your cli interface
125
125
  test_files: []
126
+ has_rdoc: