Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-images-generator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
ygopro-images-generator
Commits
676aefc9
Commit
676aefc9
authored
Sep 18, 2016
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
encoding
parent
eb6b6750
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
17 additions
and
2 deletions
+17
-2
Authorize.rb
Authorize.rb
+2
-1
Commands.rb
Commands.rb
+1
-0
Git.rb
Git.rb
+1
-0
Global.rb
Global.rb
+1
-0
HashJudger.rb
HashJudger.rb
+1
-0
LanguageConstants.rb
LanguageConstants.rb
+1
-0
Log.rb
Log.rb
+1
-0
MSEConstants.rb
MSEConstants.rb
+1
-0
MSETranslator.rb
MSETranslator.rb
+1
-0
Server.rb
Server.rb
+1
-0
Sqlite.rb
Sqlite.rb
+1
-0
Test.rb
Test.rb
+2
-1
YgoCoreConstants.rb
YgoCoreConstants.rb
+1
-0
YgoCoreJudgers.rb
YgoCoreJudgers.rb
+1
-0
generate.rb
generate.rb
+1
-0
No files found.
Authorize.rb
View file @
676aefc9
# encoding: UTF-8
# Check the command is legal or not
require
'json'
require
'digest/md5'
...
...
@@ -35,4 +36,4 @@ module Authorize
def
change_password
(
password
)
@@command_password
=
Aunthorize
.
md5
(
password
)
end
end
\ No newline at end of file
end
Commands.rb
View file @
676aefc9
# encoding: UTF-8
# Commands Reflector
require
File
.
dirname
(
__FILE__
)
+
'/Global.rb'
require
File
.
dirname
(
__FILE__
)
+
'/Sqlite.rb'
...
...
Git.rb
View file @
676aefc9
# encoding: UTF-8
# git commands
require
File
.
dirname
(
__FILE__
)
+
'/Global.rb'
...
...
Global.rb
View file @
676aefc9
# encoding: UTF-8
# Global Settings
module
Global
...
...
HashJudger.rb
View file @
676aefc9
# encoding: UTF-8
# Judge the hash.
# Use the JSON Version.
...
...
LanguageConstants.rb
View file @
676aefc9
# encoding: UTF-8
require
'yaml'
require
File
.
dirname
(
__FILE__
)
+
'/Global.rb'
...
...
Log.rb
View file @
676aefc9
# encoding: UTF-8
# Log
require
'logger'
...
...
MSEConstants.rb
View file @
676aefc9
# encoding: UTF-8
# mse set constants
module
MSEConstants
...
...
MSETranslator.rb
View file @
676aefc9
# encoding: UTF-8
require
File
.
dirname
(
__FILE__
)
+
'/MSEConstants.rb'
require
File
.
dirname
(
__FILE__
)
+
'/YgoCoreJudgers.rb'
require
File
.
dirname
(
__FILE__
)
+
'/Global.rb'
...
...
Server.rb
View file @
676aefc9
#!/usr/bin/env ruby
# encoding: UTF-8
# sinatra server core
...
...
Sqlite.rb
View file @
676aefc9
# encoding: UTF-8
require
'sqlite3'
require
'fileutils'
require
File
.
dirname
(
__FILE__
)
+
'/Git.rb'
...
...
Test.rb
View file @
676aefc9
# encoding: UTF-8
# This is a test file.
def
unit_test1
...
...
@@ -29,4 +30,4 @@ def unit_test_god
Commands
.
generate_single
(
10000040
)
end
unit_test_god
\ No newline at end of file
unit_test_god
YgoCoreConstants.rb
View file @
676aefc9
# encoding: UTF-8
# ygocore constants
module
YGOCoreConstants
...
...
YgoCoreJudgers.rb
View file @
676aefc9
# encoding: UTF-8
=begin
CREATE TABLE datas(
...
...
generate.rb
View file @
676aefc9
#!/usr/bin/env ruby
# encoding: UTF-8
#usage: ./generator.rb zh-CN
require_relative
'Commands.rb'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment