Commit 4131a978 authored by IamIpanda's avatar IamIpanda

Merge pull request #1 from mycard/master

gemfile & fix typoes
parents 668f6cd2 4f32cd3f
FROM ruby:onbuild
CMD ["./Server.rb"]
source 'https://rubygems.org'
gem 'sinatra'
gem 'json'
gem 'sqlite3'
gem 'zip'
GEM
remote: https://rubygems.org/
specs:
json (1.8.3)
rack (1.6.4)
rack-protection (1.5.3)
rack
sinatra (1.4.7)
rack (~> 1.5)
rack-protection (~> 1.4)
tilt (>= 1.3, < 3)
sqlite3 (1.3.11)
tilt (2.0.2)
zip (2.0.2)
PLATFORMS
ruby
DEPENDENCIES
json
sinatra
sqlite3
zip
BUNDLED WITH
1.11.2
# Judge the hash.
# Use the JSON Version.
require 'JSON'
require 'json'
require File.dirname(__FILE__) + '/Authorize.rb'
require File.dirname(__FILE__) + '/Global.rb'
require File.dirname(__FILE__) + '/Log.rb'
......@@ -98,4 +98,4 @@ module HashJudger
# 返还
return [adds, removes, changes]
end
end
\ No newline at end of file
end
......@@ -2,7 +2,7 @@
require "sinatra"
require File.dirname(__FILE__) + "/Git.rb"
require File.dirname(__FILE__) + "/Command.rb"
require File.dirname(__FILE__) + "/Commands.rb"
post '/command' do
......@@ -13,4 +13,4 @@ post '/hook' do
Commands.generate_delta
Git.commit
Git.push
end
\ No newline at end of file
end
......@@ -35,7 +35,7 @@ CREATE TABLE texts(
select * from datas join
=end
require File.dirname(__FILE__) + '/YgocoreConstants.rb'
require File.dirname(__FILE__) + '/YgoCoreConstants.rb'
require File.dirname(__FILE__) + '/MSEConstants.rb'
require File.dirname(__FILE__) + '/LanguageConstants.rb'
......@@ -335,4 +335,4 @@ module YGOCoreJudgers
def get_log_str(card)
"[#{self.get_id_str(card)}]#{self.get_name(card)}"
end
end
\ No newline at end of file
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment