dister 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,36 @@
1
+ require File.expand_path('../../lib/dister',__FILE__)
2
+ require 'test/unit'
3
+ require 'mocha'
4
+ require 'shoulda'
5
+ require 'stringio'
6
+ require 'fakefs/safe'
7
+
8
+ class Object
9
+ def capture(stream)
10
+ begin
11
+ stream = stream.to_s
12
+ eval "$#{stream} = StringIO.new"
13
+ yield
14
+ result = eval("$#{stream}").string
15
+ ensure
16
+ eval("$#{stream} = #{stream.upcase}")
17
+ end
18
+ result
19
+ end
20
+ end
21
+
22
+ module StudioApi
23
+ class Connection
24
+ def initialize username, key, api_url, options={}
25
+ true
26
+ end
27
+
28
+ def api_version
29
+ end
30
+ end
31
+
32
+ class Util
33
+ def self.configure_studio_connection connection
34
+ end
35
+ end
36
+ end
metadata ADDED
@@ -0,0 +1,235 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: dister
3
+ version: !ruby/object:Gem::Version
4
+ hash: 27
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 0
10
+ version: 0.1.0
11
+ platform: ruby
12
+ authors:
13
+ - Flavio Castelli
14
+ - Dominik Mayer
15
+ autorequire:
16
+ bindir: bin
17
+ cert_chain: []
18
+
19
+ date: 2011-05-05 00:00:00 +02:00
20
+ default_executable:
21
+ dependencies:
22
+ - !ruby/object:Gem::Dependency
23
+ name: curb
24
+ prerelease: false
25
+ requirement: &id001 !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ">="
29
+ - !ruby/object:Gem::Version
30
+ hash: 3
31
+ segments:
32
+ - 0
33
+ version: "0"
34
+ type: :runtime
35
+ version_requirements: *id001
36
+ - !ruby/object:Gem::Dependency
37
+ name: progressbar
38
+ prerelease: false
39
+ requirement: &id002 !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ hash: 3
45
+ segments:
46
+ - 0
47
+ version: "0"
48
+ type: :runtime
49
+ version_requirements: *id002
50
+ - !ruby/object:Gem::Dependency
51
+ name: studio_api
52
+ prerelease: false
53
+ requirement: &id003 !ruby/object:Gem::Requirement
54
+ none: false
55
+ requirements:
56
+ - - ~>
57
+ - !ruby/object:Gem::Version
58
+ hash: 3
59
+ segments:
60
+ - 3
61
+ - 1
62
+ - 0
63
+ version: 3.1.0
64
+ type: :runtime
65
+ version_requirements: *id003
66
+ - !ruby/object:Gem::Dependency
67
+ name: thor
68
+ prerelease: false
69
+ requirement: &id004 !ruby/object:Gem::Requirement
70
+ none: false
71
+ requirements:
72
+ - - ~>
73
+ - !ruby/object:Gem::Version
74
+ hash: 39
75
+ segments:
76
+ - 0
77
+ - 14
78
+ - 0
79
+ version: 0.14.0
80
+ type: :runtime
81
+ version_requirements: *id004
82
+ - !ruby/object:Gem::Dependency
83
+ name: bundler
84
+ prerelease: false
85
+ requirement: &id005 !ruby/object:Gem::Requirement
86
+ none: false
87
+ requirements:
88
+ - - ~>
89
+ - !ruby/object:Gem::Version
90
+ hash: 23
91
+ segments:
92
+ - 1
93
+ - 0
94
+ - 0
95
+ version: 1.0.0
96
+ type: :development
97
+ version_requirements: *id005
98
+ - !ruby/object:Gem::Dependency
99
+ name: fakefs
100
+ prerelease: false
101
+ requirement: &id006 !ruby/object:Gem::Requirement
102
+ none: false
103
+ requirements:
104
+ - - ">="
105
+ - !ruby/object:Gem::Version
106
+ hash: 3
107
+ segments:
108
+ - 0
109
+ version: "0"
110
+ type: :development
111
+ version_requirements: *id006
112
+ - !ruby/object:Gem::Dependency
113
+ name: mocha
114
+ prerelease: false
115
+ requirement: &id007 !ruby/object:Gem::Requirement
116
+ none: false
117
+ requirements:
118
+ - - ">="
119
+ - !ruby/object:Gem::Version
120
+ hash: 3
121
+ segments:
122
+ - 0
123
+ version: "0"
124
+ type: :development
125
+ version_requirements: *id007
126
+ - !ruby/object:Gem::Dependency
127
+ name: test-unit
128
+ prerelease: false
129
+ requirement: &id008 !ruby/object:Gem::Requirement
130
+ none: false
131
+ requirements:
132
+ - - "="
133
+ - !ruby/object:Gem::Version
134
+ hash: 25
135
+ segments:
136
+ - 1
137
+ - 2
138
+ - 3
139
+ version: 1.2.3
140
+ type: :development
141
+ version_requirements: *id008
142
+ - !ruby/object:Gem::Dependency
143
+ name: shoulda
144
+ prerelease: false
145
+ requirement: &id009 !ruby/object:Gem::Requirement
146
+ none: false
147
+ requirements:
148
+ - - ">="
149
+ - !ruby/object:Gem::Version
150
+ hash: 3
151
+ segments:
152
+ - 0
153
+ version: "0"
154
+ type: :development
155
+ version_requirements: *id009
156
+ description: Turn your rails app into a SUSE Studio appliance in a few steps.
157
+ email:
158
+ - flavio@castelli.name
159
+ - dmayer@novell.com
160
+ executables:
161
+ - dister
162
+ extensions: []
163
+
164
+ extra_rdoc_files: []
165
+
166
+ files:
167
+ - .gitignore
168
+ - Gemfile
169
+ - LICENSE
170
+ - README.rdoc
171
+ - Rakefile
172
+ - bin/dister
173
+ - dister.gemspec
174
+ - lib/adapters/mysql.yml
175
+ - lib/adapters/mysql2.yml
176
+ - lib/adapters/postgresql.yml
177
+ - lib/adapters/sqlite3.yml
178
+ - lib/dister.rb
179
+ - lib/dister/cli.rb
180
+ - lib/dister/core.rb
181
+ - lib/dister/db_adapter.rb
182
+ - lib/dister/downloader.rb
183
+ - lib/dister/options.rb
184
+ - lib/dister/utils.rb
185
+ - lib/dister/version.rb
186
+ - lib/studio_api/build.rb
187
+ - lib/templates/boot_script.erb
188
+ - lib/templates/build_script.erb
189
+ - lib/templates/passenger.erb
190
+ - test/cli_test.rb
191
+ - test/core_test.rb
192
+ - test/db_adapter_test.rb
193
+ - test/fixtures/supported_database.yml
194
+ - test/fixtures/templates.yml
195
+ - test/fixtures/unsupported_database.yml
196
+ - test/options_test.rb
197
+ - test/test_helper.rb
198
+ has_rdoc: true
199
+ homepage: https://features.opensuse.org/311133
200
+ licenses: []
201
+
202
+ post_install_message:
203
+ rdoc_options: []
204
+
205
+ require_paths:
206
+ - lib
207
+ required_ruby_version: !ruby/object:Gem::Requirement
208
+ none: false
209
+ requirements:
210
+ - - ">="
211
+ - !ruby/object:Gem::Version
212
+ hash: 3
213
+ segments:
214
+ - 0
215
+ version: "0"
216
+ required_rubygems_version: !ruby/object:Gem::Requirement
217
+ none: false
218
+ requirements:
219
+ - - ">="
220
+ - !ruby/object:Gem::Version
221
+ hash: 23
222
+ segments:
223
+ - 1
224
+ - 3
225
+ - 6
226
+ version: 1.3.6
227
+ requirements: []
228
+
229
+ rubyforge_project: dister
230
+ rubygems_version: 1.6.2
231
+ signing_key:
232
+ specification_version: 3
233
+ summary: Heroku like solution for SUSE Studio
234
+ test_files: []
235
+