andhapp-decoct 1.7.4 → 1.8.4
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/VERSION.yml +1 -1
- data/decoct.gemspec +2 -2
- data/lib/templates/spec/app_spec.rb +8 -4
- metadata +2 -2
data/VERSION.yml
CHANGED
data/decoct.gemspec
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = %q{decoct}
|
|
5
|
-
s.version = "1.
|
|
5
|
+
s.version = "1.8.4"
|
|
6
6
|
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
8
8
|
s.authors = ["Anuj Dutta"]
|
|
9
|
-
s.date = %q{2009-07-
|
|
9
|
+
s.date = %q{2009-07-12}
|
|
10
10
|
s.default_executable = %q{decoct}
|
|
11
11
|
s.description = %q{Sinatra Rspec project generator}
|
|
12
12
|
s.email = %q{anuj@andhapp.com}
|
|
@@ -1,15 +1,19 @@
|
|
|
1
|
-
require
|
|
2
|
-
require "spec/interop/test"
|
|
3
|
-
require "rack/test"
|
|
1
|
+
%w{spec spec/interop/test rack/test}.each {|x| require x}
|
|
4
2
|
|
|
5
3
|
set :environment, :test
|
|
6
4
|
|
|
7
5
|
describe 'App' do
|
|
8
|
-
include Rack::Test::Methods
|
|
9
6
|
|
|
7
|
+
include Rack::Test::Methods
|
|
8
|
+
|
|
9
|
+
def app
|
|
10
|
+
Sinatra::Application
|
|
11
|
+
end
|
|
12
|
+
|
|
10
13
|
it "should pick the spec files for autotest and display error messages with growl" do
|
|
11
14
|
get '/'
|
|
12
15
|
last_response.should be_ok
|
|
13
16
|
last_response.body.should == 'It works!!!'
|
|
14
17
|
end
|
|
18
|
+
|
|
15
19
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: andhapp-decoct
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.8.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Anuj Dutta
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-07-
|
|
12
|
+
date: 2009-07-12 00:00:00 -07:00
|
|
13
13
|
default_executable: decoct
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|