webapp 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/templates/test/server_test.rb +11 -0
- data/webapp.gemspec +2 -1
- metadata +2 -1
@@ -0,0 +1,11 @@
|
|
1
|
+
require File.join(File.dirname(__FILE__), 'test_helper')
|
2
|
+
require "rack/test"
|
3
|
+
|
4
|
+
class ServerTest < Test::Unit::TestCase
|
5
|
+
include Rack::Test::Methods
|
6
|
+
def app ; Sinatra::Application end
|
7
|
+
|
8
|
+
def test_you_suck
|
9
|
+
assert(false, "Write some tests.")
|
10
|
+
end
|
11
|
+
end
|
data/webapp.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'webapp'
|
3
|
-
s.version = '0.0.
|
3
|
+
s.version = '0.0.5'
|
4
4
|
s.platform = Gem::Platform::RUBY
|
5
5
|
s.summary, s.description = 'Cmd that generates a webapp skeleton'
|
6
6
|
s.author = 'George Malamidis'
|
@@ -16,6 +16,7 @@ Gem::Specification.new do |s|
|
|
16
16
|
'lib/templates/lib/server.rb',
|
17
17
|
'lib/templates/lib/project.rb',
|
18
18
|
'lib/templates/test/test_helper.rb',
|
19
|
+
'lib/templates/test/server_test.rb',
|
19
20
|
'lib/templates/Rakefile',
|
20
21
|
'lib/webapp.rb',
|
21
22
|
'webapp.gemspec',
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webapp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- George Malamidis
|
@@ -68,6 +68,7 @@ files:
|
|
68
68
|
- lib/templates/lib/server.rb
|
69
69
|
- lib/templates/lib/project.rb
|
70
70
|
- lib/templates/test/test_helper.rb
|
71
|
+
- lib/templates/test/server_test.rb
|
71
72
|
- lib/templates/Rakefile
|
72
73
|
- lib/webapp.rb
|
73
74
|
- webapp.gemspec
|