hotplate 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +4 -0
  3. data/Rakefile +1 -0
  4. data/bin/toast +2 -0
  5. data/hotplate.gemspec +30 -0
  6. data/lib/hotplate/cli/build.rb +51 -0
  7. data/lib/hotplate/cli/init.rb +64 -0
  8. data/lib/hotplate/cli/main.rb +39 -0
  9. data/lib/hotplate/gems/rubyzip-1.1.7/README.md +271 -0
  10. data/lib/hotplate/gems/rubyzip-1.1.7/Rakefile +19 -0
  11. data/lib/hotplate/gems/rubyzip-1.1.7/TODO +15 -0
  12. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip/central_directory.rb +208 -0
  13. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip/compressor.rb +10 -0
  14. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip/constants.rb +63 -0
  15. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip/crypto/encryption.rb +11 -0
  16. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip/crypto/null_encryption.rb +45 -0
  17. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip/crypto/traditional_encryption.rb +99 -0
  18. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip/decompressor.rb +13 -0
  19. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip/deflater.rb +32 -0
  20. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip/dos_time.rb +49 -0
  21. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip/entry.rb +696 -0
  22. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip/entry_set.rb +86 -0
  23. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip/errors.rb +16 -0
  24. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip/extra_field/generic.rb +43 -0
  25. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip/extra_field/ntfs.rb +92 -0
  26. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip/extra_field/old_unix.rb +45 -0
  27. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip/extra_field/universal_time.rb +47 -0
  28. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip/extra_field/unix.rb +38 -0
  29. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip/extra_field/zip64.rb +67 -0
  30. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip/extra_field/zip64_placeholder.rb +16 -0
  31. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip/extra_field.rb +101 -0
  32. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip/file.rb +436 -0
  33. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip/filesystem.rb +626 -0
  34. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip/inflater.rb +66 -0
  35. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip/input_stream.rb +164 -0
  36. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip/ioextras/abstract_input_stream.rb +115 -0
  37. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip/ioextras/abstract_output_stream.rb +45 -0
  38. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip/ioextras.rb +38 -0
  39. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip/null_compressor.rb +15 -0
  40. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip/null_decompressor.rb +27 -0
  41. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip/null_input_stream.rb +10 -0
  42. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip/output_stream.rb +190 -0
  43. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip/pass_thru_compressor.rb +23 -0
  44. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip/pass_thru_decompressor.rb +41 -0
  45. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip/streamable_directory.rb +15 -0
  46. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip/streamable_stream.rb +56 -0
  47. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip/version.rb +3 -0
  48. data/lib/hotplate/gems/rubyzip-1.1.7/lib/zip.rb +63 -0
  49. data/lib/hotplate/gems/rubyzip-1.1.7/samples/example.rb +91 -0
  50. data/lib/hotplate/gems/rubyzip-1.1.7/samples/example_filesystem.rb +33 -0
  51. data/lib/hotplate/gems/rubyzip-1.1.7/samples/example_recursive.rb +48 -0
  52. data/lib/hotplate/gems/rubyzip-1.1.7/samples/gtkRubyzip.rb +86 -0
  53. data/lib/hotplate/gems/rubyzip-1.1.7/samples/qtzip.rb +101 -0
  54. data/lib/hotplate/gems/rubyzip-1.1.7/samples/write_simple.rb +13 -0
  55. data/lib/hotplate/gems/rubyzip-1.1.7/samples/zipfind.rb +74 -0
  56. data/lib/hotplate/gems/rubyzip-1.1.7/test/basic_zip_file_test.rb +64 -0
  57. data/lib/hotplate/gems/rubyzip-1.1.7/test/central_directory_entry_test.rb +73 -0
  58. data/lib/hotplate/gems/rubyzip-1.1.7/test/central_directory_test.rb +104 -0
  59. data/lib/hotplate/gems/rubyzip-1.1.7/test/crypto/null_encryption_test.rb +53 -0
  60. data/lib/hotplate/gems/rubyzip-1.1.7/test/crypto/traditional_encryption_test.rb +80 -0
  61. data/lib/hotplate/gems/rubyzip-1.1.7/test/data/WarnInvalidDate.zip +0 -0
  62. data/lib/hotplate/gems/rubyzip-1.1.7/test/data/file1.txt +46 -0
  63. data/lib/hotplate/gems/rubyzip-1.1.7/test/data/file1.txt.deflatedData +0 -0
  64. data/lib/hotplate/gems/rubyzip-1.1.7/test/data/file2.txt +1504 -0
  65. data/lib/hotplate/gems/rubyzip-1.1.7/test/data/globTest/foo/bar/baz/foo.txt +0 -0
  66. data/lib/hotplate/gems/rubyzip-1.1.7/test/data/globTest/foo.txt +0 -0
  67. data/lib/hotplate/gems/rubyzip-1.1.7/test/data/globTest/food.txt +0 -0
  68. data/lib/hotplate/gems/rubyzip-1.1.7/test/data/globTest.zip +0 -0
  69. data/lib/hotplate/gems/rubyzip-1.1.7/test/data/mimetype +1 -0
  70. data/lib/hotplate/gems/rubyzip-1.1.7/test/data/notzippedruby.rb +7 -0
  71. data/lib/hotplate/gems/rubyzip-1.1.7/test/data/ntfs.zip +0 -0
  72. data/lib/hotplate/gems/rubyzip-1.1.7/test/data/rubycode.zip +0 -0
  73. data/lib/hotplate/gems/rubyzip-1.1.7/test/data/rubycode2.zip +0 -0
  74. data/lib/hotplate/gems/rubyzip-1.1.7/test/data/testDirectory.bin +0 -0
  75. data/lib/hotplate/gems/rubyzip-1.1.7/test/data/zip64-sample.zip +0 -0
  76. data/lib/hotplate/gems/rubyzip-1.1.7/test/data/zipWithDirs.zip +0 -0
  77. data/lib/hotplate/gems/rubyzip-1.1.7/test/data/zipWithEncryption.zip +0 -0
  78. data/lib/hotplate/gems/rubyzip-1.1.7/test/deflater_test.rb +67 -0
  79. data/lib/hotplate/gems/rubyzip-1.1.7/test/encryption_test.rb +42 -0
  80. data/lib/hotplate/gems/rubyzip-1.1.7/test/entry_set_test.rb +138 -0
  81. data/lib/hotplate/gems/rubyzip-1.1.7/test/entry_test.rb +165 -0
  82. data/lib/hotplate/gems/rubyzip-1.1.7/test/errors_test.rb +36 -0
  83. data/lib/hotplate/gems/rubyzip-1.1.7/test/extra_field_test.rb +78 -0
  84. data/lib/hotplate/gems/rubyzip-1.1.7/test/file_extract_directory_test.rb +56 -0
  85. data/lib/hotplate/gems/rubyzip-1.1.7/test/file_extract_test.rb +90 -0
  86. data/lib/hotplate/gems/rubyzip-1.1.7/test/file_split_test.rb +60 -0
  87. data/lib/hotplate/gems/rubyzip-1.1.7/test/file_test.rb +559 -0
  88. data/lib/hotplate/gems/rubyzip-1.1.7/test/filesystem/dir_iterator_test.rb +62 -0
  89. data/lib/hotplate/gems/rubyzip-1.1.7/test/filesystem/directory_test.rb +131 -0
  90. data/lib/hotplate/gems/rubyzip-1.1.7/test/filesystem/file_mutating_test.rb +100 -0
  91. data/lib/hotplate/gems/rubyzip-1.1.7/test/filesystem/file_nonmutating_test.rb +514 -0
  92. data/lib/hotplate/gems/rubyzip-1.1.7/test/filesystem/file_stat_test.rb +66 -0
  93. data/lib/hotplate/gems/rubyzip-1.1.7/test/gentestfiles.rb +134 -0
  94. data/lib/hotplate/gems/rubyzip-1.1.7/test/inflater_test.rb +14 -0
  95. data/lib/hotplate/gems/rubyzip-1.1.7/test/input_stream_test.rb +170 -0
  96. data/lib/hotplate/gems/rubyzip-1.1.7/test/ioextras/abstract_input_stream_test.rb +103 -0
  97. data/lib/hotplate/gems/rubyzip-1.1.7/test/ioextras/abstract_output_stream_test.rb +106 -0
  98. data/lib/hotplate/gems/rubyzip-1.1.7/test/ioextras/fake_io_test.rb +18 -0
  99. data/lib/hotplate/gems/rubyzip-1.1.7/test/local_entry_test.rb +156 -0
  100. data/lib/hotplate/gems/rubyzip-1.1.7/test/output_stream_test.rb +129 -0
  101. data/lib/hotplate/gems/rubyzip-1.1.7/test/pass_thru_compressor_test.rb +31 -0
  102. data/lib/hotplate/gems/rubyzip-1.1.7/test/pass_thru_decompressor_test.rb +15 -0
  103. data/lib/hotplate/gems/rubyzip-1.1.7/test/settings_test.rb +92 -0
  104. data/lib/hotplate/gems/rubyzip-1.1.7/test/test_helper.rb +228 -0
  105. data/lib/hotplate/gems/rubyzip-1.1.7/test/unicode_file_names_and_comments_test.rb +52 -0
  106. data/lib/hotplate/gems/rubyzip-1.1.7/test/zip64_full_test.rb +53 -0
  107. data/lib/hotplate/gems/rubyzip-1.1.7/test/zip64_support_test.rb +15 -0
  108. data/lib/hotplate/java/build.gradle +38 -0
  109. data/lib/hotplate/java/gradle/wrapper/gradle-wrapper.jar +0 -0
  110. data/lib/hotplate/java/gradle/wrapper/gradle-wrapper.properties +6 -0
  111. data/lib/hotplate/java/gradlew +164 -0
  112. data/lib/hotplate/java/gradlew.bat +90 -0
  113. data/lib/hotplate/java/template.java +25 -0
  114. data/lib/hotplate/version.rb +3 -0
  115. data/lib/hotplate.rb +2 -0
  116. metadata +186 -0
@@ -0,0 +1,53 @@
1
+ if ENV['FULL_ZIP64_TEST']
2
+ require 'minitest/autorun'
3
+ require 'minitest/unit'
4
+ require 'fileutils'
5
+ require 'zip'
6
+
7
+ # test zip64 support for real, by actually exceeding the 32-bit size/offset limits
8
+ # this test does not, of course, run with the normal unit tests! ;)
9
+
10
+ class Zip64FullTest < MiniTest::Test
11
+ def teardown
12
+ ::Zip.reset!
13
+ end
14
+
15
+ def prepareTestFile(test_filename)
16
+ ::File.delete(test_filename) if ::File.exist?(test_filename)
17
+ return test_filename
18
+ end
19
+
20
+ def test_largeZipFile
21
+ ::Zip.write_zip64_support = true
22
+ first_text = 'starting out small'
23
+ last_text = 'this tests files starting after 4GB in the archive'
24
+ test_filename = prepareTestFile('huge.zip')
25
+ ::Zip::OutputStream.open(test_filename) do |io|
26
+ io.put_next_entry('first_file.txt')
27
+ io.write(first_text)
28
+
29
+ # write just over 4GB (stored, so the zip file exceeds 4GB)
30
+ buf = 'blah' * 16384
31
+ io.put_next_entry('huge_file', nil, nil, ::Zip::Entry::STORED)
32
+ 65537.times { io.write(buf) }
33
+
34
+ io.put_next_entry('last_file.txt')
35
+ io.write(last_text)
36
+ end
37
+
38
+ ::Zip::File.open(test_filename) do |zf|
39
+ assert_equal %w(first_file.txt huge_file last_file.txt), zf.entries.map(&:name)
40
+ assert_equal first_text, zf.read('first_file.txt')
41
+ assert_equal last_text, zf.read('last_file.txt')
42
+ end
43
+
44
+ # note: if this fails, be sure you have UnZip version 6.0 or newer
45
+ # as this is the first version to support zip64 extensions
46
+ # but some OSes (*cough* OSX) still bundle a 5.xx release
47
+ assert system("unzip -t #{test_filename}"), "third-party zip validation failed"
48
+ end
49
+
50
+ end
51
+
52
+ end
53
+
@@ -0,0 +1,15 @@
1
+ require 'test_helper'
2
+
3
+ class Zip64SupportTest < MiniTest::Test
4
+ TEST_FILE = File.join(File.dirname(__FILE__), 'data', 'zip64-sample.zip')
5
+
6
+ def test_open_zip64_file
7
+ zip_file = ::Zip::File.open(TEST_FILE)
8
+ assert(!zip_file.nil?)
9
+ assert(zip_file.entries.count == 2)
10
+ test_rb = zip_file.entries.find { |x| x.name == 'test.rb' }
11
+ assert(test_rb.size == 482)
12
+ assert(test_rb.compressed_size == 229)
13
+ end
14
+
15
+ end
@@ -0,0 +1,38 @@
1
+ /**
2
+ This is the default build.gradle for Toast modules
3
+ @author Jaci
4
+ */
5
+
6
+ buildscript {
7
+ repositories {
8
+ mavenCentral()
9
+ maven {
10
+ name = "GradleRIO"
11
+ url = "http://dev.imjac.in/maven"
12
+ }
13
+ }
14
+ dependencies {
15
+ classpath group: 'jaci.openrio.gradle', name: 'GradleRIO', version: '+', classifier: 'Toast' //Change this line if you wish to Update GradleRIO
16
+ }
17
+ }
18
+
19
+ apply plugin: 'java'
20
+ apply plugin: 'idea'
21
+ apply plugin: 'eclipse'
22
+ apply plugin: 'maven'
23
+ apply plugin: 'GradleRIO' //Apply the GradleRIO plugin
24
+
25
+ repositories {
26
+ maven {
27
+ name = "Toast"
28
+ url = "http://dev.imjac.in/maven"
29
+ }
30
+ }
31
+
32
+ gradlerio.team = "%%TEAM" //Your FRC team number (e.g. 5333 for team 'Can't C#', or 47 for Chief Delphi)
33
+ //gradlerio.rioIP = "10.53.33.20" //Uncomment to specify the IP address of the RIO
34
+ gradlerio.deployFile = "toast/modules/${archivesBaseName}"
35
+
36
+ dependencies {
37
+ compile group: 'jaci.openrio.toast', name: 'Toast', version: '+' //Change this line to update Toast
38
+ }
@@ -0,0 +1,6 @@
1
+ #Fri Jan 16 23:27:58 WST 2015
2
+ distributionBase=GRADLE_USER_HOME
3
+ distributionPath=wrapper/dists
4
+ zipStoreBase=GRADLE_USER_HOME
5
+ zipStorePath=wrapper/dists
6
+ distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-bin.zip
@@ -0,0 +1,164 @@
1
+ #!/usr/bin/env bash
2
+
3
+ ##############################################################################
4
+ ##
5
+ ## Gradle start up script for UN*X
6
+ ##
7
+ ##############################################################################
8
+
9
+ # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
10
+ DEFAULT_JVM_OPTS=""
11
+
12
+ APP_NAME="Gradle"
13
+ APP_BASE_NAME=`basename "$0"`
14
+
15
+ # Use the maximum available, or set MAX_FD != -1 to use that value.
16
+ MAX_FD="maximum"
17
+
18
+ warn ( ) {
19
+ echo "$*"
20
+ }
21
+
22
+ die ( ) {
23
+ echo
24
+ echo "$*"
25
+ echo
26
+ exit 1
27
+ }
28
+
29
+ # OS specific support (must be 'true' or 'false').
30
+ cygwin=false
31
+ msys=false
32
+ darwin=false
33
+ case "`uname`" in
34
+ CYGWIN* )
35
+ cygwin=true
36
+ ;;
37
+ Darwin* )
38
+ darwin=true
39
+ ;;
40
+ MINGW* )
41
+ msys=true
42
+ ;;
43
+ esac
44
+
45
+ # For Cygwin, ensure paths are in UNIX format before anything is touched.
46
+ if $cygwin ; then
47
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
48
+ fi
49
+
50
+ # Attempt to set APP_HOME
51
+ # Resolve links: $0 may be a link
52
+ PRG="$0"
53
+ # Need this for relative symlinks.
54
+ while [ -h "$PRG" ] ; do
55
+ ls=`ls -ld "$PRG"`
56
+ link=`expr "$ls" : '.*-> \(.*\)$'`
57
+ if expr "$link" : '/.*' > /dev/null; then
58
+ PRG="$link"
59
+ else
60
+ PRG=`dirname "$PRG"`"/$link"
61
+ fi
62
+ done
63
+ SAVED="`pwd`"
64
+ cd "`dirname \"$PRG\"`/" >&-
65
+ APP_HOME="`pwd -P`"
66
+ cd "$SAVED" >&-
67
+
68
+ CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
69
+
70
+ # Determine the Java command to use to start the JVM.
71
+ if [ -n "$JAVA_HOME" ] ; then
72
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
73
+ # IBM's JDK on AIX uses strange locations for the executables
74
+ JAVACMD="$JAVA_HOME/jre/sh/java"
75
+ else
76
+ JAVACMD="$JAVA_HOME/bin/java"
77
+ fi
78
+ if [ ! -x "$JAVACMD" ] ; then
79
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
80
+
81
+ Please set the JAVA_HOME variable in your environment to match the
82
+ location of your Java installation."
83
+ fi
84
+ else
85
+ JAVACMD="java"
86
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
87
+
88
+ Please set the JAVA_HOME variable in your environment to match the
89
+ location of your Java installation."
90
+ fi
91
+
92
+ # Increase the maximum file descriptors if we can.
93
+ if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
94
+ MAX_FD_LIMIT=`ulimit -H -n`
95
+ if [ $? -eq 0 ] ; then
96
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
97
+ MAX_FD="$MAX_FD_LIMIT"
98
+ fi
99
+ ulimit -n $MAX_FD
100
+ if [ $? -ne 0 ] ; then
101
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
102
+ fi
103
+ else
104
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
105
+ fi
106
+ fi
107
+
108
+ # For Darwin, add options to specify how the application appears in the dock
109
+ if $darwin; then
110
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
111
+ fi
112
+
113
+ # For Cygwin, switch paths to Windows format before running java
114
+ if $cygwin ; then
115
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
116
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
117
+
118
+ # We build the pattern for arguments to be converted via cygpath
119
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
120
+ SEP=""
121
+ for dir in $ROOTDIRSRAW ; do
122
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
123
+ SEP="|"
124
+ done
125
+ OURCYGPATTERN="(^($ROOTDIRS))"
126
+ # Add a user-defined pattern to the cygpath arguments
127
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
128
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
129
+ fi
130
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
131
+ i=0
132
+ for arg in "$@" ; do
133
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
134
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
135
+
136
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
137
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
138
+ else
139
+ eval `echo args$i`="\"$arg\""
140
+ fi
141
+ i=$((i+1))
142
+ done
143
+ case $i in
144
+ (0) set -- ;;
145
+ (1) set -- "$args0" ;;
146
+ (2) set -- "$args0" "$args1" ;;
147
+ (3) set -- "$args0" "$args1" "$args2" ;;
148
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
149
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
150
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
151
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
152
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
153
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
154
+ esac
155
+ fi
156
+
157
+ # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
158
+ function splitJvmOpts() {
159
+ JVM_OPTS=("$@")
160
+ }
161
+ eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
162
+ JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
163
+
164
+ exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
@@ -0,0 +1,90 @@
1
+ @if "%DEBUG%" == "" @echo off
2
+ @rem ##########################################################################
3
+ @rem
4
+ @rem Gradle startup script for Windows
5
+ @rem
6
+ @rem ##########################################################################
7
+
8
+ @rem Set local scope for the variables with windows NT shell
9
+ if "%OS%"=="Windows_NT" setlocal
10
+
11
+ @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
12
+ set DEFAULT_JVM_OPTS=
13
+
14
+ set DIRNAME=%~dp0
15
+ if "%DIRNAME%" == "" set DIRNAME=.
16
+ set APP_BASE_NAME=%~n0
17
+ set APP_HOME=%DIRNAME%
18
+
19
+ @rem Find java.exe
20
+ if defined JAVA_HOME goto findJavaFromJavaHome
21
+
22
+ set JAVA_EXE=java.exe
23
+ %JAVA_EXE% -version >NUL 2>&1
24
+ if "%ERRORLEVEL%" == "0" goto init
25
+
26
+ echo.
27
+ echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
28
+ echo.
29
+ echo Please set the JAVA_HOME variable in your environment to match the
30
+ echo location of your Java installation.
31
+
32
+ goto fail
33
+
34
+ :findJavaFromJavaHome
35
+ set JAVA_HOME=%JAVA_HOME:"=%
36
+ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
37
+
38
+ if exist "%JAVA_EXE%" goto init
39
+
40
+ echo.
41
+ echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
42
+ echo.
43
+ echo Please set the JAVA_HOME variable in your environment to match the
44
+ echo location of your Java installation.
45
+
46
+ goto fail
47
+
48
+ :init
49
+ @rem Get command-line arguments, handling Windowz variants
50
+
51
+ if not "%OS%" == "Windows_NT" goto win9xME_args
52
+ if "%@eval[2+2]" == "4" goto 4NT_args
53
+
54
+ :win9xME_args
55
+ @rem Slurp the command line arguments.
56
+ set CMD_LINE_ARGS=
57
+ set _SKIP=2
58
+
59
+ :win9xME_args_slurp
60
+ if "x%~1" == "x" goto execute
61
+
62
+ set CMD_LINE_ARGS=%*
63
+ goto execute
64
+
65
+ :4NT_args
66
+ @rem Get arguments from the 4NT Shell from JP Software
67
+ set CMD_LINE_ARGS=%$
68
+
69
+ :execute
70
+ @rem Setup the command line
71
+
72
+ set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
73
+
74
+ @rem Execute Gradle
75
+ "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
76
+
77
+ :end
78
+ @rem End local scope for the variables with windows NT shell
79
+ if "%ERRORLEVEL%"=="0" goto mainEnd
80
+
81
+ :fail
82
+ rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
83
+ rem the _cmd.exe /c_ return code!
84
+ if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
85
+ exit /b 1
86
+
87
+ :mainEnd
88
+ if "%OS%"=="Windows_NT" endlocal
89
+
90
+ :omega
@@ -0,0 +1,25 @@
1
+ package frc.team%%TEAM.%%NAMED;
2
+
3
+ import jaci.openrio.toast.lib.log.Logger;
4
+ import jaci.openrio.toast.lib.module.IterativeModule;
5
+
6
+ public class RobotModule extends IterativeModule {
7
+
8
+ public static Logger logger;
9
+
10
+ @Override
11
+ public String getModuleName() {
12
+ return "%%NAME";
13
+ }
14
+
15
+ @Override
16
+ public String getModuleVersion() {
17
+ return "0.0.1";
18
+ }
19
+
20
+ @Override
21
+ public void robotInit() {
22
+ logger = new Logger("%%NAME", Logger.ATTR_DEFAULT);
23
+ //TODO: Module Init
24
+ }
25
+ }
@@ -0,0 +1,3 @@
1
+ module HotPlate
2
+ VERSION = "0.0.1"
3
+ end
data/lib/hotplate.rb ADDED
@@ -0,0 +1,2 @@
1
+ require "hotplate/cli/main"
2
+ require "hotplate/version"
metadata ADDED
@@ -0,0 +1,186 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: hotplate
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Jaci R
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-07-20 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description:
42
+ email:
43
+ - jaci.brunning@gmail.com
44
+ executables:
45
+ - toast
46
+ extensions: []
47
+ extra_rdoc_files: []
48
+ files:
49
+ - Gemfile
50
+ - Rakefile
51
+ - bin/toast
52
+ - hotplate.gemspec
53
+ - lib/hotplate.rb
54
+ - lib/hotplate/cli/build.rb
55
+ - lib/hotplate/cli/init.rb
56
+ - lib/hotplate/cli/main.rb
57
+ - lib/hotplate/gems/rubyzip-1.1.7/README.md
58
+ - lib/hotplate/gems/rubyzip-1.1.7/Rakefile
59
+ - lib/hotplate/gems/rubyzip-1.1.7/TODO
60
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip.rb
61
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip/central_directory.rb
62
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip/compressor.rb
63
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip/constants.rb
64
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip/crypto/encryption.rb
65
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip/crypto/null_encryption.rb
66
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip/crypto/traditional_encryption.rb
67
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip/decompressor.rb
68
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip/deflater.rb
69
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip/dos_time.rb
70
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip/entry.rb
71
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip/entry_set.rb
72
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip/errors.rb
73
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip/extra_field.rb
74
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip/extra_field/generic.rb
75
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip/extra_field/ntfs.rb
76
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip/extra_field/old_unix.rb
77
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip/extra_field/universal_time.rb
78
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip/extra_field/unix.rb
79
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip/extra_field/zip64.rb
80
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip/extra_field/zip64_placeholder.rb
81
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip/file.rb
82
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip/filesystem.rb
83
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip/inflater.rb
84
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip/input_stream.rb
85
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip/ioextras.rb
86
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip/ioextras/abstract_input_stream.rb
87
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip/ioextras/abstract_output_stream.rb
88
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip/null_compressor.rb
89
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip/null_decompressor.rb
90
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip/null_input_stream.rb
91
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip/output_stream.rb
92
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip/pass_thru_compressor.rb
93
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip/pass_thru_decompressor.rb
94
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip/streamable_directory.rb
95
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip/streamable_stream.rb
96
+ - lib/hotplate/gems/rubyzip-1.1.7/lib/zip/version.rb
97
+ - lib/hotplate/gems/rubyzip-1.1.7/samples/example.rb
98
+ - lib/hotplate/gems/rubyzip-1.1.7/samples/example_filesystem.rb
99
+ - lib/hotplate/gems/rubyzip-1.1.7/samples/example_recursive.rb
100
+ - lib/hotplate/gems/rubyzip-1.1.7/samples/gtkRubyzip.rb
101
+ - lib/hotplate/gems/rubyzip-1.1.7/samples/qtzip.rb
102
+ - lib/hotplate/gems/rubyzip-1.1.7/samples/write_simple.rb
103
+ - lib/hotplate/gems/rubyzip-1.1.7/samples/zipfind.rb
104
+ - lib/hotplate/gems/rubyzip-1.1.7/test/basic_zip_file_test.rb
105
+ - lib/hotplate/gems/rubyzip-1.1.7/test/central_directory_entry_test.rb
106
+ - lib/hotplate/gems/rubyzip-1.1.7/test/central_directory_test.rb
107
+ - lib/hotplate/gems/rubyzip-1.1.7/test/crypto/null_encryption_test.rb
108
+ - lib/hotplate/gems/rubyzip-1.1.7/test/crypto/traditional_encryption_test.rb
109
+ - lib/hotplate/gems/rubyzip-1.1.7/test/data/WarnInvalidDate.zip
110
+ - lib/hotplate/gems/rubyzip-1.1.7/test/data/file1.txt
111
+ - lib/hotplate/gems/rubyzip-1.1.7/test/data/file1.txt.deflatedData
112
+ - lib/hotplate/gems/rubyzip-1.1.7/test/data/file2.txt
113
+ - lib/hotplate/gems/rubyzip-1.1.7/test/data/globTest.zip
114
+ - lib/hotplate/gems/rubyzip-1.1.7/test/data/globTest/foo.txt
115
+ - lib/hotplate/gems/rubyzip-1.1.7/test/data/globTest/foo/bar/baz/foo.txt
116
+ - lib/hotplate/gems/rubyzip-1.1.7/test/data/globTest/food.txt
117
+ - lib/hotplate/gems/rubyzip-1.1.7/test/data/mimetype
118
+ - lib/hotplate/gems/rubyzip-1.1.7/test/data/notzippedruby.rb
119
+ - lib/hotplate/gems/rubyzip-1.1.7/test/data/ntfs.zip
120
+ - lib/hotplate/gems/rubyzip-1.1.7/test/data/rubycode.zip
121
+ - lib/hotplate/gems/rubyzip-1.1.7/test/data/rubycode2.zip
122
+ - lib/hotplate/gems/rubyzip-1.1.7/test/data/testDirectory.bin
123
+ - lib/hotplate/gems/rubyzip-1.1.7/test/data/zip64-sample.zip
124
+ - lib/hotplate/gems/rubyzip-1.1.7/test/data/zipWithDirs.zip
125
+ - lib/hotplate/gems/rubyzip-1.1.7/test/data/zipWithEncryption.zip
126
+ - lib/hotplate/gems/rubyzip-1.1.7/test/deflater_test.rb
127
+ - lib/hotplate/gems/rubyzip-1.1.7/test/encryption_test.rb
128
+ - lib/hotplate/gems/rubyzip-1.1.7/test/entry_set_test.rb
129
+ - lib/hotplate/gems/rubyzip-1.1.7/test/entry_test.rb
130
+ - lib/hotplate/gems/rubyzip-1.1.7/test/errors_test.rb
131
+ - lib/hotplate/gems/rubyzip-1.1.7/test/extra_field_test.rb
132
+ - lib/hotplate/gems/rubyzip-1.1.7/test/file_extract_directory_test.rb
133
+ - lib/hotplate/gems/rubyzip-1.1.7/test/file_extract_test.rb
134
+ - lib/hotplate/gems/rubyzip-1.1.7/test/file_split_test.rb
135
+ - lib/hotplate/gems/rubyzip-1.1.7/test/file_test.rb
136
+ - lib/hotplate/gems/rubyzip-1.1.7/test/filesystem/dir_iterator_test.rb
137
+ - lib/hotplate/gems/rubyzip-1.1.7/test/filesystem/directory_test.rb
138
+ - lib/hotplate/gems/rubyzip-1.1.7/test/filesystem/file_mutating_test.rb
139
+ - lib/hotplate/gems/rubyzip-1.1.7/test/filesystem/file_nonmutating_test.rb
140
+ - lib/hotplate/gems/rubyzip-1.1.7/test/filesystem/file_stat_test.rb
141
+ - lib/hotplate/gems/rubyzip-1.1.7/test/gentestfiles.rb
142
+ - lib/hotplate/gems/rubyzip-1.1.7/test/inflater_test.rb
143
+ - lib/hotplate/gems/rubyzip-1.1.7/test/input_stream_test.rb
144
+ - lib/hotplate/gems/rubyzip-1.1.7/test/ioextras/abstract_input_stream_test.rb
145
+ - lib/hotplate/gems/rubyzip-1.1.7/test/ioextras/abstract_output_stream_test.rb
146
+ - lib/hotplate/gems/rubyzip-1.1.7/test/ioextras/fake_io_test.rb
147
+ - lib/hotplate/gems/rubyzip-1.1.7/test/local_entry_test.rb
148
+ - lib/hotplate/gems/rubyzip-1.1.7/test/output_stream_test.rb
149
+ - lib/hotplate/gems/rubyzip-1.1.7/test/pass_thru_compressor_test.rb
150
+ - lib/hotplate/gems/rubyzip-1.1.7/test/pass_thru_decompressor_test.rb
151
+ - lib/hotplate/gems/rubyzip-1.1.7/test/settings_test.rb
152
+ - lib/hotplate/gems/rubyzip-1.1.7/test/test_helper.rb
153
+ - lib/hotplate/gems/rubyzip-1.1.7/test/unicode_file_names_and_comments_test.rb
154
+ - lib/hotplate/gems/rubyzip-1.1.7/test/zip64_full_test.rb
155
+ - lib/hotplate/gems/rubyzip-1.1.7/test/zip64_support_test.rb
156
+ - lib/hotplate/java/build.gradle
157
+ - lib/hotplate/java/gradle/wrapper/gradle-wrapper.jar
158
+ - lib/hotplate/java/gradle/wrapper/gradle-wrapper.properties
159
+ - lib/hotplate/java/gradlew
160
+ - lib/hotplate/java/gradlew.bat
161
+ - lib/hotplate/java/template.java
162
+ - lib/hotplate/version.rb
163
+ homepage: http://github.com/Open-RIO/HotPlate
164
+ licenses: []
165
+ metadata: {}
166
+ post_install_message:
167
+ rdoc_options: []
168
+ require_paths:
169
+ - lib
170
+ required_ruby_version: !ruby/object:Gem::Requirement
171
+ requirements:
172
+ - - ">="
173
+ - !ruby/object:Gem::Version
174
+ version: '0'
175
+ required_rubygems_version: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - ">="
178
+ - !ruby/object:Gem::Version
179
+ version: '0'
180
+ requirements: []
181
+ rubyforge_project:
182
+ rubygems_version: 2.4.5
183
+ signing_key:
184
+ specification_version: 4
185
+ summary: Toast module deployment made easy
186
+ test_files: []