dindi 0.3.0 → 0.3.3
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.
- data/Gemfile +2 -0
- data/Gemfile.lock +2 -0
- data/Rakefile +2 -1
- data/VERSION +1 -1
- data/bin/dindi +181 -131
- data/dindi.gemspec +8 -2
- metadata +33 -11
data/Gemfile
CHANGED
@@ -2,6 +2,8 @@ source "http://rubygems.org"
|
|
2
2
|
# Add dependencies required to use your gem here.
|
3
3
|
# Example:
|
4
4
|
# gem "activesupport", ">= 2.3.5"
|
5
|
+
gem "colorize"
|
6
|
+
gem "bundler", "~>1.0.0"
|
5
7
|
|
6
8
|
# Add dependencies to develop your gem here.
|
7
9
|
# Include everything needed to run rake, tests, features, etc.
|
data/Gemfile.lock
CHANGED
data/Rakefile
CHANGED
@@ -6,7 +6,7 @@ begin
|
|
6
6
|
Bundler.setup(:default, :development)
|
7
7
|
rescue Bundler::BundlerError => e
|
8
8
|
$stderr.puts e.message
|
9
|
-
$stderr.puts "Run `bundle install` to install missing gems"
|
9
|
+
$stderr.puts "Run `bundle install --path vendor/bundle` to install missing gems"
|
10
10
|
exit e.status_code
|
11
11
|
end
|
12
12
|
require 'rake'
|
@@ -21,6 +21,7 @@ Jeweler::Tasks.new do |gem|
|
|
21
21
|
gem.description = %Q{This gem will create a barebone base for a new Sinatra Project}
|
22
22
|
gem.email = "samuelchandra@yahoo.com"
|
23
23
|
gem.authors = ["Samuel Chandra"]
|
24
|
+
gem.executables = ["dindi"]
|
24
25
|
# dependencies defined in Gemfile
|
25
26
|
end
|
26
27
|
Jeweler::RubygemsDotOrgTasks.new
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.3
|
data/bin/dindi
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
require 'ostruct'
|
5
5
|
require 'optparse'
|
6
6
|
require 'fileutils'
|
7
|
+
require 'colorize'
|
7
8
|
|
8
9
|
class OptionParser
|
9
10
|
|
@@ -14,12 +15,11 @@ class OptionParser
|
|
14
15
|
options.project_name = nil
|
15
16
|
|
16
17
|
opts = OptionParser.new do |opts|
|
17
|
-
opts.banner = "Usage: dindi
|
18
|
+
opts.banner = "Usage: dindi [options]"
|
18
19
|
|
19
20
|
opts.separator " "
|
20
21
|
opts.separator "Specific options:"
|
21
22
|
|
22
|
-
# mandatory argument project directory
|
23
23
|
opts.on("-n", "--name PROJECT_NAME",
|
24
24
|
"Specify your project name PROJECT_NAME that will be created") do |lib|
|
25
25
|
options.project_name = lib
|
@@ -34,20 +34,28 @@ class OptionParser
|
|
34
34
|
# Try it and see!
|
35
35
|
opts.on_tail("-h", "--help", "Show this message") do
|
36
36
|
puts opts
|
37
|
-
exit
|
37
|
+
exit!
|
38
38
|
end
|
39
39
|
|
40
40
|
end
|
41
41
|
|
42
42
|
opts.parse!(args)
|
43
43
|
options
|
44
|
+
|
45
|
+
rescue Exception => e
|
46
|
+
if e.message.match(/invalid option/i) or e.message.match(/missing argument/i)
|
47
|
+
puts "ERROR: #{e.message}".red
|
48
|
+
puts ""
|
49
|
+
puts opts
|
50
|
+
end
|
51
|
+
exit
|
44
52
|
end
|
45
53
|
|
46
54
|
end
|
47
55
|
|
48
56
|
# make sure ARGV has values
|
49
57
|
if ARGV.size == 0
|
50
|
-
puts "ERROR: Parameters needed. Run with -h to view options"
|
58
|
+
puts "ERROR: Parameters needed. Run with -h to view options".red
|
51
59
|
exit
|
52
60
|
end
|
53
61
|
|
@@ -80,14 +88,15 @@ if options.ruby_version == "1.9.2"
|
|
80
88
|
# create Gemfile
|
81
89
|
#=================
|
82
90
|
gemfile_contents = <<-gemfile
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
+
source "http://rubygems.org"
|
92
|
+
gem "sinatra"
|
93
|
+
gem "mysql2"
|
94
|
+
gem "haml"
|
95
|
+
gem "activesupport"
|
96
|
+
gem "activerecord"
|
97
|
+
gem "json"
|
98
|
+
gem "pony"
|
99
|
+
gem "compass"
|
91
100
|
gemfile
|
92
101
|
|
93
102
|
File.open("#{project_absolute_dir}/Gemfile", "w") do |file|
|
@@ -99,51 +108,59 @@ if options.ruby_version == "1.9.2"
|
|
99
108
|
#=================
|
100
109
|
|
101
110
|
config_ru_contents = <<-config_ru
|
102
|
-
|
111
|
+
$: << "."
|
103
112
|
|
104
|
-
|
105
|
-
|
113
|
+
# we use bundler
|
114
|
+
require 'bundler/setup'
|
106
115
|
|
107
|
-
|
108
|
-
|
116
|
+
# modular sinatra app
|
117
|
+
require 'sinatra/base'
|
109
118
|
|
110
|
-
|
111
|
-
|
119
|
+
# gems
|
120
|
+
%w(logger json haml csv digest date time active_support pony).each {|lib| require lib}
|
112
121
|
|
113
|
-
|
114
|
-
|
122
|
+
# load db config and models
|
123
|
+
require 'models'
|
115
124
|
|
116
|
-
|
117
|
-
|
125
|
+
# extra library
|
126
|
+
Dir.glob("./extlibs/*.rb").each {|extlib| require extlib}
|
118
127
|
|
119
|
-
|
120
|
-
|
128
|
+
# helpers
|
129
|
+
Dir.glob("./helpers/*.rb").each {|helper| require helper}
|
121
130
|
|
122
|
-
|
123
|
-
|
131
|
+
# controllers
|
132
|
+
Dir.glob("./routes/*.rb").each {|route| require route}
|
124
133
|
|
125
|
-
|
126
|
-
|
134
|
+
# app file
|
135
|
+
require '#{options.project_name}'
|
127
136
|
|
128
|
-
|
129
|
-
|
137
|
+
# custom app logger different from sintra logging
|
138
|
+
$APP_LOG = ::Logger.new("log/#{options.project_name}.log")
|
130
139
|
|
131
|
-
|
132
|
-
|
133
|
-
set :environment, :production
|
134
|
-
enable :sessions, :logging, :dump_errors, :show_exceptions
|
135
|
-
disable :run, :reload
|
136
|
-
end
|
140
|
+
# app name
|
141
|
+
$APP_NAME = "#{options.project_name.gsub(/(?:^|_)(.)/) { $1.upcase }}"
|
137
142
|
|
138
|
-
|
139
|
-
|
143
|
+
class Sinatra::Base
|
144
|
+
# helpers
|
145
|
+
include DebugOn
|
146
|
+
|
147
|
+
# set sinatra's variables
|
148
|
+
set :root, File.dirname(__FILE__)
|
149
|
+
set :environment, :production
|
150
|
+
enable :sessions, :logging, :dump_errors, :show_exceptions
|
151
|
+
disable :run, :reload
|
152
|
+
end
|
140
153
|
|
141
|
-
|
142
|
-
|
154
|
+
# app routes
|
155
|
+
App = Rack::Builder.app do
|
156
|
+
# routes
|
157
|
+
# use Cms
|
143
158
|
|
144
|
-
#
|
145
|
-
|
159
|
+
run #{options.project_name.gsub(/(?:^|_)(.)/) { $1.upcase }}
|
160
|
+
end
|
146
161
|
|
162
|
+
# finally
|
163
|
+
run App
|
147
164
|
config_ru
|
148
165
|
|
149
166
|
File.open("#{project_absolute_dir}/config.ru", "w") do |file|
|
@@ -154,18 +171,18 @@ if options.ruby_version == "1.9.2"
|
|
154
171
|
#====================
|
155
172
|
|
156
173
|
database_yml_contents = <<-database_yml
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
174
|
+
login: &login
|
175
|
+
adapter: mysql2
|
176
|
+
username: root
|
177
|
+
password: password
|
178
|
+
host: localhost
|
179
|
+
timezone: SGT
|
180
|
+
reconnect: true
|
181
|
+
|
182
|
+
production:
|
183
|
+
<<: *login
|
184
|
+
database: #{options.project_name}
|
185
|
+
encoding: utf8
|
169
186
|
database_yml
|
170
187
|
|
171
188
|
File.open("#{project_absolute_dir}/database.yml", "w") do |file|
|
@@ -177,13 +194,13 @@ if options.ruby_version == "1.9.2"
|
|
177
194
|
#=======================
|
178
195
|
|
179
196
|
models_rb_contents = <<-models_rb
|
180
|
-
|
181
|
-
|
197
|
+
require 'mysql2'
|
198
|
+
require 'active_record'
|
182
199
|
|
183
|
-
|
184
|
-
|
200
|
+
config = YAML.load_file('database.yml')
|
201
|
+
ActiveRecord::Base.establish_connection(config["production"])
|
185
202
|
|
186
|
-
|
203
|
+
Dir.glob("#{project_absolute_dir}/models/*.rb").each {|model| require model}
|
187
204
|
models_rb
|
188
205
|
|
189
206
|
File.open("#{project_absolute_dir}/models.rb", "w") do |file|
|
@@ -195,14 +212,15 @@ else
|
|
195
212
|
# create Gemfile.191
|
196
213
|
#=================
|
197
214
|
gemfile191_contents = <<-gemfile191
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
215
|
+
source "http://rubygems.org"
|
216
|
+
gem "rack", "1.2.2"
|
217
|
+
gem "sinatra", "1.2.6"
|
218
|
+
gem "haml"
|
219
|
+
gem "activesupport", "=2.3.14"
|
220
|
+
gem "activerecord", "=2.3.14"
|
221
|
+
gem "json"
|
222
|
+
gem "pony"
|
223
|
+
gem "compass"
|
206
224
|
gemfile191
|
207
225
|
|
208
226
|
File.open("#{project_absolute_dir}/Gemfile", "w") do |file|
|
@@ -213,51 +231,59 @@ else
|
|
213
231
|
#=================
|
214
232
|
|
215
233
|
config_ru_contents = <<-config_ru
|
216
|
-
|
234
|
+
$: << "."
|
217
235
|
|
218
|
-
|
219
|
-
|
236
|
+
# we use bundler
|
237
|
+
require 'bundler/setup'
|
220
238
|
|
221
|
-
|
222
|
-
|
239
|
+
# modular sinatra app
|
240
|
+
require 'sinatra/base'
|
223
241
|
|
224
|
-
|
225
|
-
|
242
|
+
# gems
|
243
|
+
%w(logger json haml csv digest date time activesupport pony).each {|lib| require lib}
|
226
244
|
|
227
|
-
|
228
|
-
|
245
|
+
# load db config and models
|
246
|
+
require 'models'
|
229
247
|
|
230
|
-
|
231
|
-
|
248
|
+
# extra library
|
249
|
+
Dir.glob("./extlibs/*.rb").each {|extlib| require extlib}
|
232
250
|
|
233
|
-
|
234
|
-
|
251
|
+
# helpers
|
252
|
+
Dir.glob("./helpers/*.rb").each {|helper| require helper}
|
235
253
|
|
236
|
-
|
237
|
-
|
254
|
+
# controllers
|
255
|
+
Dir.glob("./routes/*.rb").each {|route| require route}
|
238
256
|
|
239
|
-
|
240
|
-
|
257
|
+
# app file
|
258
|
+
require '#{options.project_name}'
|
241
259
|
|
242
|
-
|
243
|
-
|
260
|
+
# custom app logger different from sinatra logging
|
261
|
+
$APP_LOG = ::Logger.new("log/#{options.project_name}.log")
|
244
262
|
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
263
|
+
# app name
|
264
|
+
$APP_NAME = "#{options.project_name.gsub(/(?:^|_)(.)/) { $1.upcase }}"
|
265
|
+
|
266
|
+
class Sinatra::Base
|
267
|
+
# helpers
|
268
|
+
include DebugOn
|
251
269
|
|
252
|
-
#
|
253
|
-
|
270
|
+
# set sinatra's variables
|
271
|
+
set :root, File.dirname(__FILE__)
|
272
|
+
set :environment, :production
|
273
|
+
enable :sessions, :logging, :dump_errors, :show_exceptions
|
274
|
+
disable :run, :reload
|
275
|
+
end
|
254
276
|
|
255
|
-
|
256
|
-
|
277
|
+
# app routes
|
278
|
+
App = Rack::Builder.app do
|
279
|
+
# routes
|
280
|
+
# use Cms
|
257
281
|
|
258
|
-
#
|
259
|
-
|
282
|
+
run #{options.project_name.gsub(/(?:^|_)(.)/) { $1.upcase }}
|
283
|
+
end
|
260
284
|
|
285
|
+
# finally
|
286
|
+
run App
|
261
287
|
config_ru
|
262
288
|
|
263
289
|
File.open("#{project_absolute_dir}/config.ru", "w") do |file|
|
@@ -269,18 +295,18 @@ else
|
|
269
295
|
#====================
|
270
296
|
|
271
297
|
database_yml_contents = <<-database_yml
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
298
|
+
login: &login
|
299
|
+
adapter: mysql
|
300
|
+
username: root
|
301
|
+
password: password
|
302
|
+
host: localhost
|
303
|
+
timezone: SGT
|
304
|
+
reconnect: true
|
305
|
+
|
306
|
+
production:
|
307
|
+
<<: *login
|
308
|
+
database: #{options.project_name}
|
309
|
+
encoding: utf8
|
284
310
|
database_yml
|
285
311
|
|
286
312
|
File.open("#{project_absolute_dir}/database.yml", "w") do |file|
|
@@ -292,12 +318,12 @@ else
|
|
292
318
|
#=======================
|
293
319
|
|
294
320
|
models_rb_contents = <<-models_rb
|
295
|
-
|
321
|
+
require 'activerecord'
|
296
322
|
|
297
|
-
|
298
|
-
|
323
|
+
config = YAML.load_file('database.yml')
|
324
|
+
ActiveRecord::Base.establish_connection(config["production"])
|
299
325
|
|
300
|
-
|
326
|
+
Dir.glob("#{project_absolute_dir}/models/*.rb").each {|model| require model}
|
301
327
|
models_rb
|
302
328
|
|
303
329
|
File.open("#{project_absolute_dir}/models.rb", "w") do |file|
|
@@ -311,19 +337,28 @@ end
|
|
311
337
|
#==================
|
312
338
|
|
313
339
|
helpers_rb_contents = <<-helpers_rb
|
314
|
-
|
340
|
+
module DebugOn
|
315
341
|
|
316
342
|
def debug_on
|
317
|
-
|
318
|
-
|
319
|
-
|
343
|
+
logger.info("===== START =====> #{Time.now.strftime("%d/%m/%Y %H:%M %p")}")
|
344
|
+
logger.info(request.url)
|
345
|
+
logger.info("Params:")
|
346
|
+
params.each do |key, value|
|
347
|
+
logger.info("\#{key} => \#{value}")
|
348
|
+
end
|
349
|
+
end
|
350
|
+
|
351
|
+
def app_debug_on
|
352
|
+
$APP_LOG.info("===== START =====> #{Time.now.strftime("%d/%m/%Y %H:%M %p")}")
|
353
|
+
$APP_LOG.info(request.url)
|
354
|
+
$APP_LOG.info("Params:")
|
320
355
|
params.each do |key, value|
|
321
|
-
$
|
356
|
+
$APP_LOG.info("\#{key} => \#{value}")
|
322
357
|
end
|
323
358
|
end
|
324
359
|
|
325
|
-
def
|
326
|
-
$
|
360
|
+
def app_logger(text)
|
361
|
+
$APP_LOG.info(text)
|
327
362
|
end
|
328
363
|
|
329
364
|
end
|
@@ -348,6 +383,7 @@ class #{options.project_name.gsub(/(?:^|_)(.)/) { $1.upcase }} < Sinatra::Base
|
|
348
383
|
|
349
384
|
# docs
|
350
385
|
get '/docs' do
|
386
|
+
@page_title = "Docs"
|
351
387
|
haml :docs
|
352
388
|
end
|
353
389
|
|
@@ -363,13 +399,20 @@ end
|
|
363
399
|
#=======================
|
364
400
|
|
365
401
|
docs_haml_contents = <<-docs_haml
|
366
|
-
%
|
367
|
-
|
368
|
-
%
|
369
|
-
%
|
370
|
-
|
371
|
-
|
372
|
-
|
402
|
+
%table{:border => "0", :cellpadding => "0", :cellspacing => "0", :summary => "API Docs"}
|
403
|
+
%caption
|
404
|
+
%em API Docs
|
405
|
+
%thead
|
406
|
+
%tr
|
407
|
+
%th.span-4 URL
|
408
|
+
%th.span-4.last Description
|
409
|
+
%tfoot
|
410
|
+
%tr
|
411
|
+
%td{:colspan => "2"} Change http://servername with the correct address
|
412
|
+
%tbody
|
413
|
+
%tr
|
414
|
+
%td http://servername
|
415
|
+
%td (GET) Returns app name
|
373
416
|
docs_haml
|
374
417
|
|
375
418
|
File.open("#{project_absolute_dir}/views/docs.haml", "w") do |file|
|
@@ -377,5 +420,12 @@ File.open("#{project_absolute_dir}/views/docs.haml", "w") do |file|
|
|
377
420
|
end
|
378
421
|
|
379
422
|
# Completion
|
380
|
-
puts "Your project folder #{options.project_name} was successfully created"
|
381
|
-
|
423
|
+
puts "Your project folder #{options.project_name} was successfully created".green
|
424
|
+
|
425
|
+
puts "Running 'bundle install --path vendor/bundle' ......."
|
426
|
+
bundler_result = system("cd #{project_absolute_dir}; bundle install --path vendor/bundle")
|
427
|
+
if bundler_result
|
428
|
+
puts "passed".green + " bundler install"
|
429
|
+
else
|
430
|
+
puts "failed".red + " bundler install"
|
431
|
+
end
|
data/dindi.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "dindi"
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Samuel Chandra"]
|
12
|
-
s.date = "2011-
|
12
|
+
s.date = "2011-12-04"
|
13
13
|
s.description = "This gem will create a barebone base for a new Sinatra Project"
|
14
14
|
s.email = "samuelchandra@yahoo.com"
|
15
15
|
s.executables = ["dindi"]
|
@@ -41,17 +41,23 @@ Gem::Specification.new do |s|
|
|
41
41
|
s.specification_version = 3
|
42
42
|
|
43
43
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
44
|
+
s.add_runtime_dependency(%q<colorize>, [">= 0"])
|
45
|
+
s.add_runtime_dependency(%q<bundler>, ["~> 1.0.0"])
|
44
46
|
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
45
47
|
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
46
48
|
s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
|
47
49
|
s.add_development_dependency(%q<rcov>, [">= 0"])
|
48
50
|
else
|
51
|
+
s.add_dependency(%q<colorize>, [">= 0"])
|
52
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
49
53
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
50
54
|
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
51
55
|
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
52
56
|
s.add_dependency(%q<rcov>, [">= 0"])
|
53
57
|
end
|
54
58
|
else
|
59
|
+
s.add_dependency(%q<colorize>, [">= 0"])
|
60
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
55
61
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
56
62
|
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
57
63
|
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dindi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,33 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-
|
12
|
+
date: 2011-12-04 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: colorize
|
16
|
+
requirement: &70290785071120 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70290785071120
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: bundler
|
27
|
+
requirement: &70290785063740 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ~>
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 1.0.0
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70290785063740
|
14
36
|
- !ruby/object:Gem::Dependency
|
15
37
|
name: shoulda
|
16
|
-
requirement: &
|
38
|
+
requirement: &70290785059900 !ruby/object:Gem::Requirement
|
17
39
|
none: false
|
18
40
|
requirements:
|
19
41
|
- - ! '>='
|
@@ -21,10 +43,10 @@ dependencies:
|
|
21
43
|
version: '0'
|
22
44
|
type: :development
|
23
45
|
prerelease: false
|
24
|
-
version_requirements: *
|
46
|
+
version_requirements: *70290785059900
|
25
47
|
- !ruby/object:Gem::Dependency
|
26
48
|
name: bundler
|
27
|
-
requirement: &
|
49
|
+
requirement: &70290785053300 !ruby/object:Gem::Requirement
|
28
50
|
none: false
|
29
51
|
requirements:
|
30
52
|
- - ~>
|
@@ -32,10 +54,10 @@ dependencies:
|
|
32
54
|
version: 1.0.0
|
33
55
|
type: :development
|
34
56
|
prerelease: false
|
35
|
-
version_requirements: *
|
57
|
+
version_requirements: *70290785053300
|
36
58
|
- !ruby/object:Gem::Dependency
|
37
59
|
name: jeweler
|
38
|
-
requirement: &
|
60
|
+
requirement: &70290785050840 !ruby/object:Gem::Requirement
|
39
61
|
none: false
|
40
62
|
requirements:
|
41
63
|
- - ~>
|
@@ -43,10 +65,10 @@ dependencies:
|
|
43
65
|
version: 1.6.4
|
44
66
|
type: :development
|
45
67
|
prerelease: false
|
46
|
-
version_requirements: *
|
68
|
+
version_requirements: *70290785050840
|
47
69
|
- !ruby/object:Gem::Dependency
|
48
70
|
name: rcov
|
49
|
-
requirement: &
|
71
|
+
requirement: &70290785039860 !ruby/object:Gem::Requirement
|
50
72
|
none: false
|
51
73
|
requirements:
|
52
74
|
- - ! '>='
|
@@ -54,7 +76,7 @@ dependencies:
|
|
54
76
|
version: '0'
|
55
77
|
type: :development
|
56
78
|
prerelease: false
|
57
|
-
version_requirements: *
|
79
|
+
version_requirements: *70290785039860
|
58
80
|
description: This gem will create a barebone base for a new Sinatra Project
|
59
81
|
email: samuelchandra@yahoo.com
|
60
82
|
executables:
|
@@ -91,7 +113,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
91
113
|
version: '0'
|
92
114
|
segments:
|
93
115
|
- 0
|
94
|
-
hash:
|
116
|
+
hash: 1096923821419218757
|
95
117
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
96
118
|
none: false
|
97
119
|
requirements:
|