ttt_web 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 68d6d05688523d7d84ec478cb4b4a47b5358b7db
4
- data.tar.gz: 64f3aa4df7a46df8e4911c23b62571c8dfc2e61a
3
+ metadata.gz: 1b9423a0225e8b48d43ed2cd9b5ac3a6e4e8faf3
4
+ data.tar.gz: 195f5aa96e0fbe50894dbfa82d1d3d30e9d1052d
5
5
  SHA512:
6
- metadata.gz: e2a3c64ec3cc45089cdc219d756e9dca933d088794496fefdb27e725caeabbdb2b635b0389a3a3b0662965f32e88680605ee33ec74ab3aa9432be8c594b19b58
7
- data.tar.gz: 477e6ee77961462d54b2c5a49d009ed70013a65e7ecb777ebe05309c6bc50d4853e14534f0b8740a4303eb1f18560a3c7fb27f7e1ed9fd18e9005ee6e04b61e8
6
+ metadata.gz: abac659b8a5a9cb9136b3fd7565f3446b4bce317fcacd810cb985ab532ee452d897c83f1b8b20b09d224e2bdbc278933ed236cafa313ce5332687d89b8e2dcf7
7
+ data.tar.gz: facddf3491eff00220286c59c7c300931cfc0218c9d3fa97bc83be642c7762431bc42c36e7a689c908c7cab8909426e68e2110949b4871ff1c459c9ac873263d
data/bin/ttt_web CHANGED
@@ -1,3 +1,4 @@
1
- #!/bin/bash
1
+ #!/usr/bin/env ruby
2
+ require "./lib/app"
2
3
 
3
- ruby './lib/app.rb'
4
+ Web.run!
data/lib/app.rb CHANGED
@@ -51,5 +51,4 @@ class Web < Sinatra::Base
51
51
  redirect @game.game_over? ? '/outcome' : '/play'
52
52
  end
53
53
 
54
- run! if app_file == $0
55
54
  end
@@ -1,3 +1,3 @@
1
1
  module TttWeb
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
data/ttt_web.gemspec CHANGED
@@ -26,5 +26,4 @@ Gem::Specification.new do |spec|
26
26
  spec.add_development_dependency "capybara"
27
27
  spec.add_dependency "ttt_core", "~> 0.5.0"
28
28
  spec.add_dependency "sinatra"
29
- spec.add_dependency "shotgun"
30
29
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ttt_web
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Pelensky
@@ -94,20 +94,6 @@ dependencies:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
- - !ruby/object:Gem::Dependency
98
- name: shotgun
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :runtime
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
97
  description: Can be run on localhost. Uses my Core gem
112
98
  email:
113
99
  - dan@pelensky.com