glimmer_wordle 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +20 -0
- data/README.md +74 -0
- data/VERSION +1 -0
- data/app/wordle/launch.rb +3 -0
- data/app/wordle/model/five_letter_word.rb +69 -0
- data/app/wordle/view/app_view.rb +361 -0
- data/app/wordle.rb +27 -0
- data/bin/glimmer_wordle +13 -0
- data/config/warble.rb +183 -0
- data/config/wordle-allowed-guesses.txt +10657 -0
- data/config/wordle-answers-alphabetical.txt +2315 -0
- data/icons/linux/Glimmer Wordle.png +0 -0
- data/icons/macosx/Glimmer Wordle.icns +0 -0
- data/icons/windows/Glimmer Wordle.ico +0 -0
- data/vendor/jars/org/yaml/snakeyaml/1.28/snakeyaml-1.28.jar +0 -0
- metadata +148 -0
data/config/warble.rb
ADDED
@@ -0,0 +1,183 @@
|
|
1
|
+
|
2
|
+
# Disable Rake-environment-task framework detection by uncommenting/setting to false
|
3
|
+
# Warbler.framework_detection = false
|
4
|
+
|
5
|
+
# Warbler web application assembly configuration file
|
6
|
+
Warbler::Config.new do |config|
|
7
|
+
# Features: additional options controlling how the jar is built.
|
8
|
+
# Currently the following features are supported:
|
9
|
+
# - *gemjar*: package the gem repository in a jar file in WEB-INF/lib
|
10
|
+
# - *executable*: embed a web server and make the war executable
|
11
|
+
# - *runnable*: allows to run bin scripts e.g. `java -jar my.war -S rake -T`
|
12
|
+
# - *compiled*: compile .rb files to .class files
|
13
|
+
# config.features = %w(gemjar)
|
14
|
+
|
15
|
+
# Application directories to be included in the webapp.
|
16
|
+
config.dirs = %w(app bin config db docs fonts icons images lib package script sounds vendor videos)
|
17
|
+
|
18
|
+
# Additional files/directories to include, above those in config.dirs
|
19
|
+
config.includes = FileList['LICENSE.txt', 'VERSION']
|
20
|
+
|
21
|
+
# Additional files/directories to exclude
|
22
|
+
# config.excludes = FileList["lib/tasks/*"]
|
23
|
+
|
24
|
+
# Additional Java .jar files to include. Note that if .jar files are placed
|
25
|
+
# in lib (and not otherwise excluded) then they need not be mentioned here.
|
26
|
+
# JRuby and JRuby-Rack are pre-loaded in this list. Be sure to include your
|
27
|
+
# own versions if you directly set the value
|
28
|
+
# config.java_libs += FileList["lib/java/*.jar"]
|
29
|
+
|
30
|
+
# Loose Java classes and miscellaneous files to be included.
|
31
|
+
# config.java_classes = FileList["target/classes/**.*"]
|
32
|
+
|
33
|
+
# One or more pathmaps defining how the java classes should be copied into
|
34
|
+
# the archive. The example pathmap below accompanies the java_classes
|
35
|
+
# configuration above. See http://rake.rubyforge.org/classes/String.html#M000017
|
36
|
+
# for details of how to specify a pathmap.
|
37
|
+
# config.pathmaps.java_classes << "%{target/classes/,}p"
|
38
|
+
|
39
|
+
# Bundler support is built-in. If Warbler finds a Gemfile in the
|
40
|
+
# project directory, it will be used to collect the gems to bundle
|
41
|
+
# in your application. If you wish to explicitly disable this
|
42
|
+
# functionality, uncomment here.
|
43
|
+
# config.bundler = false
|
44
|
+
|
45
|
+
# An array of Bundler groups to avoid including in the war file.
|
46
|
+
# Defaults to ["development", "test", "assets"].
|
47
|
+
# config.bundle_without = []
|
48
|
+
|
49
|
+
# Other gems to be included. If you don't use Bundler or a gemspec
|
50
|
+
# file, you need to tell Warbler which gems your application needs
|
51
|
+
# so that they can be packaged in the archive.
|
52
|
+
# For Rails applications, the Rails gems are included by default
|
53
|
+
# unless the vendor/rails directory is present.
|
54
|
+
# config.gems += ["activerecord-jdbcmysql-adapter", "jruby-openssl"]
|
55
|
+
# config.gems << "tzinfo"
|
56
|
+
|
57
|
+
# Uncomment this if you don't want to package rails gem.
|
58
|
+
# config.gems -= ["rails"]
|
59
|
+
|
60
|
+
# The most recent versions of gems are used.
|
61
|
+
# You can specify versions of gems by using a hash assignment:
|
62
|
+
# config.gems["rails"] = "4.2.5"
|
63
|
+
|
64
|
+
# You can also use regexps or Gem::Dependency objects for flexibility or
|
65
|
+
# finer-grained control.
|
66
|
+
# config.gems << /^sinatra-/
|
67
|
+
# config.gems << Gem::Dependency.new("sinatra", "= 1.4.7")
|
68
|
+
|
69
|
+
# Include gem dependencies not mentioned specifically. Default is
|
70
|
+
# true, uncomment to turn off.
|
71
|
+
# config.gem_dependencies = false
|
72
|
+
|
73
|
+
# Array of regular expressions matching relative paths in gems to be
|
74
|
+
# excluded from the war. Defaults to empty, but you can set it like
|
75
|
+
# below, which excludes test files.
|
76
|
+
# config.gem_excludes = [/^(test|spec)\//]
|
77
|
+
|
78
|
+
# Pathmaps for controlling how application files are copied into the archive
|
79
|
+
# config.pathmaps.application = ["WEB-INF/%p"]
|
80
|
+
|
81
|
+
# Name of the archive (without the extension). Defaults to the basename
|
82
|
+
# of the project directory.
|
83
|
+
# config.jar_name = "mywar"
|
84
|
+
|
85
|
+
# File extension for the archive. Defaults to either 'jar' or 'war'.
|
86
|
+
# config.jar_extension = "jar"
|
87
|
+
|
88
|
+
# Destionation for the created archive. Defaults to project's root directory.
|
89
|
+
config.autodeploy_dir = "dist/"
|
90
|
+
|
91
|
+
# Name of the MANIFEST.MF template for the war file. Defaults to a simple
|
92
|
+
# MANIFEST.MF that contains the version of Warbler used to create the war file.
|
93
|
+
# config.manifest_file = "config/MANIFEST.MF"
|
94
|
+
|
95
|
+
# When using the 'compiled' feature and specified, only these Ruby
|
96
|
+
# files will be compiled. Default is to compile all \.rb files in
|
97
|
+
# the application.
|
98
|
+
# config.compiled_ruby_files = FileList['app/**/*.rb']
|
99
|
+
|
100
|
+
# Determines if ruby files in supporting gems will be compiled.
|
101
|
+
# Ignored unless compile feature is used.
|
102
|
+
# config.compile_gems = false
|
103
|
+
|
104
|
+
# When set it specify the bytecode version for compiled class files
|
105
|
+
# config.bytecode_version = "1.6"
|
106
|
+
|
107
|
+
# When set to true, Warbler will override the value of ENV['GEM_HOME'] even it
|
108
|
+
# has already been set. When set to false it will use any existing value of
|
109
|
+
# GEM_HOME if it is set.
|
110
|
+
# config.override_gem_home = true
|
111
|
+
|
112
|
+
# Allows for specifing custom executables
|
113
|
+
# config.executable = ["rake", "bin/rake"]
|
114
|
+
|
115
|
+
# Sets default (prefixed) parameters for the executables
|
116
|
+
# config.executable_params = "do:something"
|
117
|
+
|
118
|
+
# If set to true, moves jar files into WEB-INF/lib. Prior to version 1.4.2 of Warbler this was done
|
119
|
+
# by default. But since 1.4.2 this config defaults to false. It may need to be set to true for
|
120
|
+
# web servers that do not explode the WAR file.
|
121
|
+
# Alternatively, this option can be set to a regular expression, which will
|
122
|
+
# act as a jar selector -- only jar files that match the pattern will be
|
123
|
+
# included in the archive.
|
124
|
+
# config.move_jars_to_webinf_lib = false
|
125
|
+
|
126
|
+
# === War files only below here ===
|
127
|
+
|
128
|
+
# Embedded webserver to use with the 'executable' feature. Currently supported
|
129
|
+
# webservers are:
|
130
|
+
# - *jetty* - Embedded Jetty from Eclipse
|
131
|
+
# config.webserver = 'jetty'
|
132
|
+
|
133
|
+
# Path to the pre-bundled gem directory inside the war file. Default
|
134
|
+
# is 'WEB-INF/gems'. Specify path if gems are already bundled
|
135
|
+
# before running Warbler. This also sets 'gem.path' inside web.xml.
|
136
|
+
# config.gem_path = "WEB-INF/vendor/bundler_gems"
|
137
|
+
|
138
|
+
# Files for WEB-INF directory (next to web.xml). This contains
|
139
|
+
# web.xml by default. If there is an .erb-File it will be processed
|
140
|
+
# with webxml-config. You may want to exclude this file via
|
141
|
+
# config.excludes.
|
142
|
+
# config.webinf_files += FileList["jboss-web.xml"]
|
143
|
+
|
144
|
+
# Files to be included in the root of the webapp. Note that files in public
|
145
|
+
# will have the leading 'public/' part of the path stripped during staging.
|
146
|
+
# config.public_html = FileList["public/**/*", "doc/**/*"]
|
147
|
+
|
148
|
+
# Pathmaps for controlling how public HTML files are copied into the .war
|
149
|
+
# config.pathmaps.public_html = ["%{public/,}p"]
|
150
|
+
|
151
|
+
# Value of RAILS_ENV for the webapp -- default as shown below
|
152
|
+
# config.webxml.rails.env = ENV['RAILS_ENV'] || 'production'
|
153
|
+
|
154
|
+
# Public ROOT mapping, by default assets are copied into .war ROOT directory.
|
155
|
+
# config.public.root = ''
|
156
|
+
|
157
|
+
# Application booter to use, either :rack or :rails (autodetected by default)
|
158
|
+
# config.webxml.booter = :rails
|
159
|
+
|
160
|
+
# When using the :rack booter, "Rackup" script to use.
|
161
|
+
# - For 'rackup.path', the value points to the location of the rackup
|
162
|
+
# script in the web archive file. You need to make sure this file
|
163
|
+
# gets included in the war, possibly by adding it to config.includes
|
164
|
+
# or config.webinf_files above.
|
165
|
+
# - For 'rackup', the rackup script you provide as an inline string
|
166
|
+
# is simply embedded in web.xml.
|
167
|
+
# The script is evaluated in a Rack::Builder to load the application.
|
168
|
+
# Examples:
|
169
|
+
# config.webxml.rackup.path = 'WEB-INF/hello.ru'
|
170
|
+
# config.webxml.rackup = %{require './lib/demo'; run Rack::Adapter::Camping.new(Demo)}
|
171
|
+
# config.webxml.rackup = require 'cgi' && CGI::escapeHTML(File.read("config.ru"))
|
172
|
+
|
173
|
+
# Control the pool of Rails runtimes. Leaving unspecified means
|
174
|
+
# the pool will grow as needed to service requests. It is recommended
|
175
|
+
# that you fix these values when running a production server!
|
176
|
+
# If you're using threadsafe! mode, you probably don't want to set these values,
|
177
|
+
# since 1 runtime(default for threadsafe mode) will be enough.
|
178
|
+
# config.webxml.jruby.min.runtimes = 2
|
179
|
+
# config.webxml.jruby.max.runtimes = 4
|
180
|
+
|
181
|
+
# JNDI data source name
|
182
|
+
# config.webxml.jndi = 'jdbc/rails'
|
183
|
+
end
|