engineyard-serverside 2.0.6 → 2.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -31,6 +31,9 @@ module EY
31
31
 
32
32
  # a nice info outputter that prepends spermy operators for some reason.
33
33
  def status(msg)
34
+ if msg.respond_to?(:force_encoding)
35
+ msg.force_encoding("UTF-8")
36
+ end
34
37
  info msg.gsub(/^/, '~> ')
35
38
  end
36
39
 
@@ -1,5 +1,5 @@
1
1
  module EY
2
2
  module Serverside
3
- VERSION = '2.0.6'
3
+ VERSION = '2.0.7'
4
4
  end
5
5
  end
data/spec/shell_spec.rb CHANGED
@@ -3,6 +3,14 @@ require 'tempfile'
3
3
  require 'timecop'
4
4
 
5
5
  describe EY::Serverside::Shell do
6
+ if "".respond_to?(:force_encoding)
7
+ it "status works for ut8" do
8
+ output = StringIO.new
9
+ shell = EY::Serverside::Shell.new(:verbose => true, :stdout => @output, :stderr => @output, :log_path => tmpdir.join("engineyard-serverside-#{Time.now.to_i}-#{$$}.log"), :start_time => Time.local(2008, 9, 1, 12, 10, 25))
10
+ shell.status("\u2603".force_encoding("binary"))
11
+ end
12
+ end
13
+
6
14
  it "has a timestamp before each line" do
7
15
  time1 = Time.local(2008, 9, 1, 12, 0, 0)
8
16
  time2 = Time.local(2008, 9, 1, 12, 3, 5)
metadata CHANGED
@@ -1,157 +1,159 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: engineyard-serverside
3
- version: !ruby/object:Gem::Version
4
- version: 2.0.6
3
+ version: !ruby/object:Gem::Version
4
+ hash: 1
5
5
  prerelease:
6
+ segments:
7
+ - 2
8
+ - 0
9
+ - 7
10
+ version: 2.0.7
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - EY Cloud Team
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2013-04-08 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2013-05-16 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
15
21
  name: rspec
16
- requirement: !ruby/object:Gem::Requirement
22
+ version_requirements: &id001 !ruby/object:Gem::Requirement
17
23
  none: false
18
- requirements:
19
- - - '='
20
- - !ruby/object:Gem::Version
24
+ requirements:
25
+ - - "="
26
+ - !ruby/object:Gem::Version
27
+ hash: 31
28
+ segments:
29
+ - 1
30
+ - 3
31
+ - 2
21
32
  version: 1.3.2
22
- type: :development
23
33
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - '='
28
- - !ruby/object:Gem::Version
29
- version: 1.3.2
30
- - !ruby/object:Gem::Dependency
34
+ type: :development
35
+ requirement: *id001
36
+ - !ruby/object:Gem::Dependency
31
37
  name: rake
32
- requirement: !ruby/object:Gem::Requirement
38
+ version_requirements: &id002 !ruby/object:Gem::Requirement
33
39
  none: false
34
- requirements:
35
- - - ! '>='
36
- - !ruby/object:Gem::Version
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ hash: 11
44
+ segments:
45
+ - 0
46
+ - 9
47
+ - 2
48
+ - 2
37
49
  version: 0.9.2.2
38
50
  - - <
39
- - !ruby/object:Gem::Version
40
- version: '10.0'
41
- type: :development
51
+ - !ruby/object:Gem::Version
52
+ hash: 35
53
+ segments:
54
+ - 10
55
+ - 0
56
+ version: "10.0"
42
57
  prerelease: false
43
- version_requirements: !ruby/object:Gem::Requirement
44
- none: false
45
- requirements:
46
- - - ! '>='
47
- - !ruby/object:Gem::Version
48
- version: 0.9.2.2
49
- - - <
50
- - !ruby/object:Gem::Version
51
- version: '10.0'
52
- - !ruby/object:Gem::Dependency
58
+ type: :development
59
+ requirement: *id002
60
+ - !ruby/object:Gem::Dependency
53
61
  name: rdoc
54
- requirement: !ruby/object:Gem::Requirement
62
+ version_requirements: &id003 !ruby/object:Gem::Requirement
55
63
  none: false
56
- requirements:
57
- - - ! '>='
58
- - !ruby/object:Gem::Version
59
- version: '0'
60
- type: :development
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ hash: 3
68
+ segments:
69
+ - 0
70
+ version: "0"
61
71
  prerelease: false
62
- version_requirements: !ruby/object:Gem::Requirement
63
- none: false
64
- requirements:
65
- - - ! '>='
66
- - !ruby/object:Gem::Version
67
- version: '0'
68
- - !ruby/object:Gem::Dependency
72
+ type: :development
73
+ requirement: *id003
74
+ - !ruby/object:Gem::Dependency
69
75
  name: timecop
70
- requirement: !ruby/object:Gem::Requirement
76
+ version_requirements: &id004 !ruby/object:Gem::Requirement
71
77
  none: false
72
- requirements:
73
- - - ! '>='
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :development
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ hash: 3
82
+ segments:
83
+ - 0
84
+ version: "0"
77
85
  prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- none: false
80
- requirements:
81
- - - ! '>='
82
- - !ruby/object:Gem::Version
83
- version: '0'
84
- - !ruby/object:Gem::Dependency
86
+ type: :development
87
+ requirement: *id004
88
+ - !ruby/object:Gem::Dependency
85
89
  name: simplecov
86
- requirement: !ruby/object:Gem::Requirement
90
+ version_requirements: &id005 !ruby/object:Gem::Requirement
87
91
  none: false
88
- requirements:
89
- - - ! '>='
90
- - !ruby/object:Gem::Version
91
- version: '0'
92
- type: :development
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ hash: 3
96
+ segments:
97
+ - 0
98
+ version: "0"
93
99
  prerelease: false
94
- version_requirements: !ruby/object:Gem::Requirement
95
- none: false
96
- requirements:
97
- - - ! '>='
98
- - !ruby/object:Gem::Version
99
- version: '0'
100
- - !ruby/object:Gem::Dependency
100
+ type: :development
101
+ requirement: *id005
102
+ - !ruby/object:Gem::Dependency
101
103
  name: engineyard-cloud-client
102
- requirement: !ruby/object:Gem::Requirement
104
+ version_requirements: &id006 !ruby/object:Gem::Requirement
103
105
  none: false
104
- requirements:
106
+ requirements:
105
107
  - - ~>
106
- - !ruby/object:Gem::Version
108
+ - !ruby/object:Gem::Version
109
+ hash: 29
110
+ segments:
111
+ - 1
112
+ - 0
113
+ - 5
107
114
  version: 1.0.5
108
- type: :development
109
115
  prerelease: false
110
- version_requirements: !ruby/object:Gem::Requirement
111
- none: false
112
- requirements:
113
- - - ~>
114
- - !ruby/object:Gem::Version
115
- version: 1.0.5
116
- - !ruby/object:Gem::Dependency
116
+ type: :development
117
+ requirement: *id006
118
+ - !ruby/object:Gem::Dependency
117
119
  name: sqlite3
118
- requirement: !ruby/object:Gem::Requirement
120
+ version_requirements: &id007 !ruby/object:Gem::Requirement
119
121
  none: false
120
- requirements:
121
- - - ! '>='
122
- - !ruby/object:Gem::Version
123
- version: '0'
124
- type: :development
122
+ requirements:
123
+ - - ">="
124
+ - !ruby/object:Gem::Version
125
+ hash: 3
126
+ segments:
127
+ - 0
128
+ version: "0"
125
129
  prerelease: false
126
- version_requirements: !ruby/object:Gem::Requirement
127
- none: false
128
- requirements:
129
- - - ! '>='
130
- - !ruby/object:Gem::Version
131
- version: '0'
132
- - !ruby/object:Gem::Dependency
130
+ type: :development
131
+ requirement: *id007
132
+ - !ruby/object:Gem::Dependency
133
133
  name: pg
134
- requirement: !ruby/object:Gem::Requirement
134
+ version_requirements: &id008 !ruby/object:Gem::Requirement
135
135
  none: false
136
- requirements:
137
- - - '='
138
- - !ruby/object:Gem::Version
136
+ requirements:
137
+ - - "="
138
+ - !ruby/object:Gem::Version
139
+ hash: 47
140
+ segments:
141
+ - 0
142
+ - 13
143
+ - 2
139
144
  version: 0.13.2
140
- type: :development
141
145
  prerelease: false
142
- version_requirements: !ruby/object:Gem::Requirement
143
- none: false
144
- requirements:
145
- - - '='
146
- - !ruby/object:Gem::Version
147
- version: 0.13.2
146
+ type: :development
147
+ requirement: *id008
148
148
  description:
149
149
  email: cloud@engineyard.com
150
- executables:
150
+ executables:
151
151
  - engineyard-serverside
152
152
  extensions: []
153
+
153
154
  extra_rdoc_files: []
154
- files:
155
+
156
+ files:
155
157
  - bin/engineyard-serverside
156
158
  - lib/engineyard-serverside/about.rb
157
159
  - lib/engineyard-serverside/cli.rb
@@ -363,32 +365,40 @@ files:
363
365
  - spec/support/integration.rb
364
366
  homepage: http://github.com/engineyard/engineyard-serverside
365
367
  licenses: []
368
+
366
369
  post_install_message:
367
370
  rdoc_options: []
368
- require_paths:
371
+
372
+ require_paths:
369
373
  - lib
370
- required_ruby_version: !ruby/object:Gem::Requirement
374
+ required_ruby_version: !ruby/object:Gem::Requirement
371
375
  none: false
372
- requirements:
373
- - - ! '>='
374
- - !ruby/object:Gem::Version
375
- version: '0'
376
- segments:
376
+ requirements:
377
+ - - ">="
378
+ - !ruby/object:Gem::Version
379
+ hash: 3
380
+ segments:
377
381
  - 0
378
- hash: 4362728545433932873
379
- required_rubygems_version: !ruby/object:Gem::Requirement
382
+ version: "0"
383
+ required_rubygems_version: !ruby/object:Gem::Requirement
380
384
  none: false
381
- requirements:
382
- - - ! '>='
383
- - !ruby/object:Gem::Version
385
+ requirements:
386
+ - - ">="
387
+ - !ruby/object:Gem::Version
388
+ hash: 23
389
+ segments:
390
+ - 1
391
+ - 3
392
+ - 6
384
393
  version: 1.3.6
385
394
  requirements: []
395
+
386
396
  rubyforge_project:
387
397
  rubygems_version: 1.8.25
388
398
  signing_key:
389
399
  specification_version: 3
390
400
  summary: A gem that deploys ruby applications on EY Cloud instances
391
- test_files:
401
+ test_files:
392
402
  - spec/basic_deploy_spec.rb
393
403
  - spec/bundler_deploy_spec.rb
394
404
  - spec/configuration_spec.rb