shoes 4.0.0.pre2 → 4.0.0.pre3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (311) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +32 -21
  3. metadata +18 -337
  4. data/CHANGELOG +0 -84
  5. data/Gemfile +0 -24
  6. data/Guardfile +0 -11
  7. data/Rakefile +0 -14
  8. data/app.yaml +0 -60
  9. data/benchmark/app_clear.rb +0 -21
  10. data/benchmark/clear.rb +0 -69
  11. data/benchmark/memory/text_dispose.rb +0 -9
  12. data/benchmark/para_creator.rb +0 -9
  13. data/benchmark/paras.rb +0 -52
  14. data/benchmark/urls.rb +0 -40
  15. data/bin/ruby-shoes +0 -6
  16. data/bin/shoes-guard +0 -8
  17. data/bin/shoes-stub +0 -59
  18. data/ext/install/Rakefile +0 -29
  19. data/ext/install/shoes.bat +0 -9
  20. data/lib/shoes.rb +0 -5
  21. data/lib/shoes/ui/cli.rb +0 -102
  22. data/lib/shoes/ui/help.rb +0 -535
  23. data/lib/shoes/ui/manual.rb +0 -6
  24. data/lib/shoes/version.rb +0 -3
  25. data/manifests/common.rb +0 -34
  26. data/manifests/shoes.rb +0 -44
  27. data/samples/Gemfile +0 -3
  28. data/samples/Gemfile.lock +0 -35
  29. data/samples/README +0 -97
  30. data/samples/boom.rb +0 -239
  31. data/samples/class-book-adjusted.rb +0 -45
  32. data/samples/class-book.rb +0 -43
  33. data/samples/class-book.yaml +0 -387
  34. data/samples/clicky.rb +0 -24
  35. data/samples/cy.png +0 -0
  36. data/samples/expert-definr.rb +0 -23
  37. data/samples/expert-funnies.rb +0 -60
  38. data/samples/expert-game-of-life-adjusted.rb +0 -249
  39. data/samples/expert-game-of-life.rb +0 -243
  40. data/samples/expert-irb-adjusted.rb +0 -110
  41. data/samples/expert-irb.rb +0 -112
  42. data/samples/expert-minesweeper-adjusted.rb +0 -272
  43. data/samples/expert-minesweeper.rb +0 -267
  44. data/samples/expert-othello-adjusted.rb +0 -325
  45. data/samples/expert-othello.rb +0 -318
  46. data/samples/expert-pong.rb +0 -62
  47. data/samples/expert-snake.rb +0 -78
  48. data/samples/expert-tankspank.rb +0 -385
  49. data/samples/flow.rb +0 -63
  50. data/samples/good-arc.rb +0 -45
  51. data/samples/good-clock.rb +0 -51
  52. data/samples/good-displace.rb +0 -98
  53. data/samples/good-follow.rb +0 -26
  54. data/samples/good-potato-chopping.rb +0 -22
  55. data/samples/good-reminder.rb +0 -174
  56. data/samples/good-vjot.rb +0 -58
  57. data/samples/gray.rb +0 -11
  58. data/samples/loogink.png +0 -0
  59. data/samples/nks_booklist.rb +0 -24
  60. data/samples/nks_breadsticks.rb +0 -7
  61. data/samples/nks_dancing_circle.rb +0 -13
  62. data/samples/nks_dictionary.rb +0 -23
  63. data/samples/nks_edit_box.rb +0 -4
  64. data/samples/nks_edit_line.rb +0 -6
  65. data/samples/nks_notes.rb +0 -16
  66. data/samples/nks_poem.rb +0 -22
  67. data/samples/nks_self.rb +0 -6
  68. data/samples/nks_text_sizes.rb +0 -10
  69. data/samples/nks_trurl.rb +0 -5
  70. data/samples/original-manual-adjusted.rb +0 -475
  71. data/samples/original-manual.rb +0 -472
  72. data/samples/packaging/package_me.rb +0 -6
  73. data/samples/potato_chopping/1258_s001.gif +0 -0
  74. data/samples/potato_chopping/1258_s002.gif +0 -0
  75. data/samples/potato_chopping/1258_s003.gif +0 -0
  76. data/samples/potato_chopping/1258_s004.gif +0 -0
  77. data/samples/potato_chopping/1258_s005.gif +0 -0
  78. data/samples/potato_chopping/1258_s006.gif +0 -0
  79. data/samples/potato_chopping/1258_s007.gif +0 -0
  80. data/samples/potato_chopping/1258_s008.gif +0 -0
  81. data/samples/potato_chopping/1258_s009.gif +0 -0
  82. data/samples/potato_chopping/1258_s010.gif +0 -0
  83. data/samples/potato_chopping/1258_s011.gif +0 -0
  84. data/samples/potato_chopping/1258_s012.gif +0 -0
  85. data/samples/potato_chopping/1258_s013.gif +0 -0
  86. data/samples/potato_chopping/1258_s014.gif +0 -0
  87. data/samples/potato_chopping/1258_s015.gif +0 -0
  88. data/samples/potato_chopping/1258_s016.gif +0 -0
  89. data/samples/potato_chopping/1258_s017.gif +0 -0
  90. data/samples/potato_chopping/1258_s018.gif +0 -0
  91. data/samples/potato_chopping/1258_s019.gif +0 -0
  92. data/samples/potato_chopping/1258_s020.gif +0 -0
  93. data/samples/potato_chopping/1258_s021.gif +0 -0
  94. data/samples/potato_chopping/1258_s022.gif +0 -0
  95. data/samples/potato_chopping/1258_s023.gif +0 -0
  96. data/samples/potato_chopping/1258_s024.gif +0 -0
  97. data/samples/potato_chopping/1258_s025.gif +0 -0
  98. data/samples/potato_chopping/1258_s026.gif +0 -0
  99. data/samples/potato_chopping/1258_s027.gif +0 -0
  100. data/samples/potato_chopping/1258_s028.gif +0 -0
  101. data/samples/potato_chopping/1258_s029.gif +0 -0
  102. data/samples/potato_chopping/1258_s030.gif +0 -0
  103. data/samples/potato_chopping/1258_s031.gif +0 -0
  104. data/samples/potato_chopping/1258_s032.gif +0 -0
  105. data/samples/potato_chopping/1258_s033.gif +0 -0
  106. data/samples/potato_chopping/1258_s034.gif +0 -0
  107. data/samples/potato_chopping/1258_s035.gif +0 -0
  108. data/samples/potato_chopping/1258_s036.gif +0 -0
  109. data/samples/potato_chopping/1258_s037.gif +0 -0
  110. data/samples/potato_chopping/1258_s038.gif +0 -0
  111. data/samples/potato_chopping/1258_s039.gif +0 -0
  112. data/samples/potato_chopping/1258_s040.gif +0 -0
  113. data/samples/potato_chopping/1258_s041.gif +0 -0
  114. data/samples/potato_chopping/1258_s042.gif +0 -0
  115. data/samples/potato_chopping/1258_s043.gif +0 -0
  116. data/samples/potato_chopping/1258_s044.gif +0 -0
  117. data/samples/potato_chopping/1258_s045.gif +0 -0
  118. data/samples/potato_chopping/1258_s046.gif +0 -0
  119. data/samples/potato_chopping/1258_s047.gif +0 -0
  120. data/samples/potato_chopping/1258_s048.gif +0 -0
  121. data/samples/potato_chopping/1258_s049.gif +0 -0
  122. data/samples/potato_chopping/1258_s050.gif +0 -0
  123. data/samples/potato_chopping/1258_s051.gif +0 -0
  124. data/samples/potato_chopping/1258_s052.gif +0 -0
  125. data/samples/potato_chopping/1258_s053.gif +0 -0
  126. data/samples/potato_chopping/1258_s054.gif +0 -0
  127. data/samples/potato_chopping/1258_s055.gif +0 -0
  128. data/samples/potato_chopping/1258_s056.gif +0 -0
  129. data/samples/potato_chopping/1258_s057.gif +0 -0
  130. data/samples/potato_chopping/1258_s058.gif +0 -0
  131. data/samples/potato_chopping/1258_s059.gif +0 -0
  132. data/samples/present.rb +0 -27
  133. data/samples/progress.rb +0 -10
  134. data/samples/sample1.rb +0 -30
  135. data/samples/sample12.rb +0 -21
  136. data/samples/sample13.rb +0 -13
  137. data/samples/sample14.rb +0 -64
  138. data/samples/sample15.rb +0 -18
  139. data/samples/sample16.rb +0 -10
  140. data/samples/sample17.rb +0 -10
  141. data/samples/sample2.rb +0 -14
  142. data/samples/sample21.rb +0 -5
  143. data/samples/sample23.rb +0 -8
  144. data/samples/sample24.rb +0 -21
  145. data/samples/sample27.rb +0 -18
  146. data/samples/sample3.rb +0 -14
  147. data/samples/sample31.rb +0 -22
  148. data/samples/sample34.rb +0 -27
  149. data/samples/sample35.rb +0 -32
  150. data/samples/sample37.rb +0 -8
  151. data/samples/sample4.rb +0 -7
  152. data/samples/sample42.rb +0 -14
  153. data/samples/sample45.rb +0 -11
  154. data/samples/sample56.rb +0 -10
  155. data/samples/sample6.rb +0 -9
  156. data/samples/sample7.rb +0 -3
  157. data/samples/sample8.rb +0 -7
  158. data/samples/sample9.rb +0 -10
  159. data/samples/simple-accordion.rb +0 -75
  160. data/samples/simple-anim-shapes.rb +0 -17
  161. data/samples/simple-anim-text.rb +0 -13
  162. data/samples/simple-animate.rb +0 -12
  163. data/samples/simple-arc.rb +0 -23
  164. data/samples/simple-bounce.rb +0 -24
  165. data/samples/simple-brightness-transitions.rb +0 -8
  166. data/samples/simple-button-animate.rb +0 -16
  167. data/samples/simple-calc-2.rb +0 -34
  168. data/samples/simple-calc.rb +0 -70
  169. data/samples/simple-color-selector.rb +0 -10
  170. data/samples/simple-color-transitions.rb +0 -11
  171. data/samples/simple-control-sizes.rb +0 -24
  172. data/samples/simple-curve.rb +0 -26
  173. data/samples/simple-dialogs-outside.rb +0 -12
  174. data/samples/simple-dialogs.rb +0 -32
  175. data/samples/simple-displace.rb +0 -15
  176. data/samples/simple-downloader.rb +0 -27
  177. data/samples/simple-draw.rb +0 -13
  178. data/samples/simple-editor.rb +0 -28
  179. data/samples/simple-face.rb +0 -14
  180. data/samples/simple-flow-wrap.rb +0 -11
  181. data/samples/simple-font.rb +0 -17
  182. data/samples/simple-form.rb +0 -29
  183. data/samples/simple-form.shy +0 -0
  184. data/samples/simple-fullscreen.rb +0 -4
  185. data/samples/simple-guess-game.rb +0 -28
  186. data/samples/simple-keypress.rb +0 -14
  187. data/samples/simple-manual.rb +0 -2
  188. data/samples/simple-mask.rb +0 -21
  189. data/samples/simple-menu.rb +0 -47
  190. data/samples/simple-mouse-follow.rb +0 -8
  191. data/samples/simple-move.rb +0 -13
  192. data/samples/simple-oval.rb +0 -3
  193. data/samples/simple-sample-executor.rb +0 -6
  194. data/samples/simple-shoes-intro.rb +0 -22
  195. data/samples/simple-slide.rb +0 -56
  196. data/samples/simple-sound.rb +0 -30
  197. data/samples/simple-sphere.rb +0 -28
  198. data/samples/simple-stripes.rb +0 -8
  199. data/samples/simple-tictactoe.rb +0 -238
  200. data/samples/simple-timer.rb +0 -15
  201. data/samples/simple-video.rb +0 -13
  202. data/samples/simple-visibility.rb +0 -11
  203. data/samples/simple-widget.rb +0 -9
  204. data/samples/sounds/102719__sarge4267__explosion.mp3 +0 -0
  205. data/samples/sounds/145622__andybrannan__train-fog-horn-long-wyomming.aiff +0 -0
  206. data/samples/sounds/46492__phreaksaccount__shields1.ogg +0 -0
  207. data/samples/sounds/61847__simon-rue__boink-v3.wav +0 -0
  208. data/samples/swt-raw.rb +0 -20
  209. data/samples/troll.rb +0 -22
  210. data/shoes.gemspec +0 -29
  211. data/snapshots/sample1.png +0 -0
  212. data/snapshots/sample10.png +0 -0
  213. data/snapshots/sample11.png +0 -0
  214. data/snapshots/sample12.png +0 -0
  215. data/snapshots/sample13.png +0 -0
  216. data/snapshots/sample14.png +0 -0
  217. data/snapshots/sample15.png +0 -0
  218. data/snapshots/sample16.png +0 -0
  219. data/snapshots/sample17.png +0 -0
  220. data/snapshots/sample18.png +0 -0
  221. data/snapshots/sample19.png +0 -0
  222. data/snapshots/sample2.png +0 -0
  223. data/snapshots/sample20.png +0 -0
  224. data/snapshots/sample21.png +0 -0
  225. data/snapshots/sample22.png +0 -0
  226. data/snapshots/sample23.png +0 -0
  227. data/snapshots/sample24.png +0 -0
  228. data/snapshots/sample27.png +0 -0
  229. data/snapshots/sample28.png +0 -0
  230. data/snapshots/sample29.png +0 -0
  231. data/snapshots/sample3.png +0 -0
  232. data/snapshots/sample30.png +0 -0
  233. data/snapshots/sample31.png +0 -0
  234. data/snapshots/sample34.png +0 -0
  235. data/snapshots/sample35.png +0 -0
  236. data/snapshots/sample36.png +0 -0
  237. data/snapshots/sample37.png +0 -0
  238. data/snapshots/sample4.png +0 -0
  239. data/snapshots/sample42.png +0 -0
  240. data/snapshots/sample44.png +0 -0
  241. data/snapshots/sample45.png +0 -0
  242. data/snapshots/sample46.png +0 -0
  243. data/snapshots/sample5.png +0 -0
  244. data/snapshots/sample56.png +0 -0
  245. data/snapshots/sample6.png +0 -0
  246. data/snapshots/sample7.png +0 -0
  247. data/snapshots/sample8.png +0 -0
  248. data/snapshots/sample9.png +0 -0
  249. data/snapshots/sample99.png +0 -0
  250. data/static/PKGBUILD +0 -47
  251. data/static/Shoes.icns +0 -0
  252. data/static/avatar.png +0 -0
  253. data/static/code_highlighter.js +0 -188
  254. data/static/code_highlighter_ruby.js +0 -26
  255. data/static/downloading.png +0 -0
  256. data/static/icon-debug.png +0 -0
  257. data/static/icon-error.png +0 -0
  258. data/static/icon-info.png +0 -0
  259. data/static/icon-warn.png +0 -0
  260. data/static/listbox_button1.png +0 -0
  261. data/static/listbox_button2.png +0 -0
  262. data/static/man-app.png +0 -0
  263. data/static/man-builds.png +0 -0
  264. data/static/man-builds1.png +0 -0
  265. data/static/man-editor-notepad.png +0 -0
  266. data/static/man-editor-osx.png +0 -0
  267. data/static/man-ele-background.png +0 -0
  268. data/static/man-ele-border.png +0 -0
  269. data/static/man-ele-button.png +0 -0
  270. data/static/man-ele-check.png +0 -0
  271. data/static/man-ele-editbox.png +0 -0
  272. data/static/man-ele-editline.png +0 -0
  273. data/static/man-ele-image.png +0 -0
  274. data/static/man-ele-listbox.png +0 -0
  275. data/static/man-ele-progress.png +0 -0
  276. data/static/man-ele-radio.png +0 -0
  277. data/static/man-ele-shape.png +0 -0
  278. data/static/man-ele-textblock.png +0 -0
  279. data/static/man-ele-video.png +0 -0
  280. data/static/man-intro-dmg.png +0 -0
  281. data/static/man-intro-exe.png +0 -0
  282. data/static/man-look-tiger.png +0 -0
  283. data/static/man-look-ubuntu.png +0 -0
  284. data/static/man-look-vista.png +0 -0
  285. data/static/man-run-osx.png +0 -0
  286. data/static/man-run-vista.png +0 -0
  287. data/static/man-run-xp.png +0 -0
  288. data/static/man-shot1.png +0 -0
  289. data/static/manual-en.txt +0 -3531
  290. data/static/manual-ja.txt +0 -2829
  291. data/static/manual.css +0 -184
  292. data/static/menu-corner1.png +0 -0
  293. data/static/menu-corner2.png +0 -0
  294. data/static/menu-gray.png +0 -0
  295. data/static/menu-left.png +0 -0
  296. data/static/menu-right.png +0 -0
  297. data/static/menu-top.png +0 -0
  298. data/static/shoes-dmg.jpg +0 -0
  299. data/static/shoes-icon-blue.png +0 -0
  300. data/static/shoes-icon-brown.png +0 -0
  301. data/static/shoes-icon.png +0 -0
  302. data/static/shoes-manual-apps.gif +0 -0
  303. data/static/shoes-manual-apps.png +0 -0
  304. data/static/shoes_main_window.png +0 -0
  305. data/static/stripe.png +0 -0
  306. data/static/tutor-back.png +0 -0
  307. data/tasks/changelog.rb +0 -92
  308. data/tasks/gem.rb +0 -38
  309. data/tasks/rspec.rb +0 -106
  310. data/tasks/sample.rb +0 -66
  311. data/tasks/yard.rb +0 -13
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ce88c2a93a5c4f95d25f734a138a98260f0768ec
4
- data.tar.gz: 4222af5bcbe6eaa05726264d582a86de18af5291
3
+ metadata.gz: 43adf57ca5373a5d1479f863bab84512d1928be9
4
+ data.tar.gz: ac2752cb1a7b943436c2a4a15ca624aab83429ad
5
5
  SHA512:
6
- metadata.gz: b0a085199ce52ed003ae3fc4a3ae09bca5908d1e02f68aa70060489c22f314e0e474add7ca02bf83b8fc0c925b8e0a60d140ac85b010b888535a81fe249ab5a7
7
- data.tar.gz: fecd14c2ac9b6413e6cf813446856f79545abcf8144393ae39af89c41c097f041435562ce933d9fce1094c76f5f616d7a8d0cd2b9d3d1fe3364803acb4b1e73c
6
+ metadata.gz: b0f8be6eb83e80a804bf322739f265ab82633034b3cb4e480720e6d99e5ebe3f7599e96e82ef49c353a455873b9a7662de59e84089d97ef96a075387db8f7ecc
7
+ data.tar.gz: 3b2c744abbe3b51a4151a01a9c3e003498ad80bd250043db2f972df7fd57eb1e3c14d415a8100be97d98f3388efea3cc0278815a77cd99caed1f9498354c6cee
data/README.md CHANGED
@@ -1,29 +1,26 @@
1
- # shoes4 [![Build Status](https://secure.travis-ci.org/shoes/shoes4.svg?branch=master)](http://travis-ci.org/shoes/shoes4)[![Code Climate](https://img.shields.io/codeclimate/github/shoes/shoes4.svg)](https://codeclimate.com/github/shoes/shoes4)[![Coverage Status](https://img.shields.io/coveralls/shoes/shoes4.svg)](https://coveralls.io/r/shoes/shoes4?branch=master)[![Dependency Status](https://img.shields.io/gemnasium/shoes/shoes4.svg)](https://gemnasium.com/shoes/shoes4)
1
+ # shoes4 [![Build Status](https://secure.travis-ci.org/shoes/shoes4.svg?branch=master)](http://travis-ci.org/shoes/shoes4)[![Code Climate](https://codeclimate.com/github/shoes/shoes4/badges/gpa.svg)](https://codeclimate.com/github/shoes/shoes4)[![Test Coverage](https://codeclimate.com/github/shoes/shoes4/badges/coverage.svg)](https://codeclimate.com/github/shoes/shoes4/code?sort=covered_percent&sort_direction=desc)[![Dependency Status](https://img.shields.io/gemnasium/shoes/shoes4.svg)](https://gemnasium.com/shoes/shoes4)
2
2
 
3
3
  Shoes 4 : the next version of Shoes
4
4
 
5
- ## Pre-alpha
5
+ ## Preview Version
6
6
 
7
- Hi there, thanks for checking by! Shoes 4 is still pre-alpha software. It currently supports almost all of the shoes DSL, but there are still some spots where you might get surprising results. If you're not too adventurous just yet you can still use the [old shoes](https://github.com/shoes/shoes)!
7
+ Hi there, thanks for checking by! Shoes 4 is in the preview stage. It currently supports almost all of the shoes DSL, but there are still some unsupported spots and [known issues](https://github.com/shoes/shoes4/issues). We are now regularly releasing updated preview versions to [rubygems](http://rubygems.org/gems/shoes/versions/), for easy installation. If you're not too adventurous just yet you can still use the [old shoes](https://github.com/shoes/shoes)!
8
8
 
9
- There is a first [preview release](https://rubygems.org/gems/shoes/versions/4.0.0.pre1) now :)
10
-
11
- ## Installing Shoes4
12
-
13
- There are two ways to get your hands on shoes 4 - the preview gem release and installing it straight from github. For both you need a current [JRuby](http://www.jruby.org/) installation.
9
+ ## Installing Shoes 4
14
10
 
11
+ There are two ways to get your hands on Shoes 4 - the preview gem release and installing it straight from github. For both you need a current [JRuby](http://www.jruby.org/) installation.
15
12
 
16
13
  ### Get a JDK and JRuby
17
14
 
18
15
  So your first step is to install a [JDK](http://www.oracle.com/technetwork/java/javase/downloads/) (shoes also works with [OpenJDK](http://openjdk.java.net/)) and [JRuby](http://jruby.org). Make sure to grab the appropriate JRuby version for your operating system. On Linux/Mac you can also use ruby installation tools to install JRuby. For instance [rvm](http://rvm.io/):
19
16
 
20
17
  $ rvm install jruby
21
-
22
- **Important JRuby version note:** JRuby 1.7.14 and 1.7.15 have a bug where `bundle install` won't work with shoes4. Make sure to use JRuby 1.7.16 or JRuby-1.7.13 with shoes4.
23
-
24
- **JDK version note:** While shoes4 should generally work with JDK version 6 and up we recommend to use newer version. Also within the JDK major version make sure to have the latest updates installed, we had cases where newer versions resolved bugs.
25
18
 
26
- ### Installing Shoes4 as a gem
19
+ **JDK version note:** While Shoes 4 should generally work with JDK version 6 and up we recommend to use newer version. Also within the JDK major version make sure to have the latest updates installed, we had cases where newer versions resolved bugs.
20
+
21
+ **SWT requirement:** Be aware that Shoes 4 builds on [SWT](http://www.eclipse.org/swt/) for its default backend. That is usually no concern (other than the need for JRuby/JDK, described above) as you do not have to install SWT yourself. However, that means we have the same basic system requirements SWT does. For Linux that means you need GTK+ >= 2.10 or >= 3.0 if you like. Moreover, as of now there is no ARM support (as the Raspberry Pi would need).
22
+
23
+ ### Installing Shoes 4 as a gem
27
24
 
28
25
  #### *nix (Mac OSX/Linux)
29
26
 
@@ -33,7 +30,7 @@ So your first step is to install a [JDK](http://www.oracle.com/technetwork/java/
33
30
 
34
31
  C:\tmp> jruby -S gem install shoes --pre
35
32
 
36
- ### Installing Shoes4 from github
33
+ ### Installing Shoes 4 from github
37
34
 
38
35
  If you want to be on the bleeding edge or want to contribute code you need to install it straight from the github repository.
39
36
 
@@ -48,7 +45,7 @@ If you want to be on the bleeding edge or want to contribute code you need to in
48
45
  $ cd shoes4
49
46
  $ gem install bundler && bundle install
50
47
 
51
- Note: If you got rvm, rbenv or something like that installed it might complain that you should use jruby version xx. That's because we keep our .ruby-version files up to date. You should be able to run it with a JRuby version >= 1.7.0. We recommend up to date versions though.
48
+ Note: If you got rvm, rbenv or something like that installed it might complain that you should use jruby version xx. That's because we keep our .ruby-version files up to date. You should be able to run it with a JRuby version >= 1.7.0. We recommend up to date versions though.
52
49
 
53
50
  3. You're ready to go!
54
51
 
@@ -72,15 +69,15 @@ Shoes 4 comes with a command-line app runner. Just pass it the filename of your
72
69
 
73
70
  $ bin/shoes samples/simple-sound.rb
74
71
 
75
- **Note:** For Windows, `C:\tmp\shoes4>bin\shoes samples\simple-sound.rb` If you installed Shoes4 as a gem, just do `C:\tmp> shoes path\to\file.rb`
72
+ **Note:** For Windows, `C:\tmp\shoes4>bin\shoes samples\simple-sound.rb` If you installed Shoes 4 as a gem, just do `C:\tmp> shoes path\to\file.rb`
76
73
 
77
- There is also a simple ruby starter script which you may use as follows:
74
+ There is also a simple ruby starter script when using the SWT backend which you may use as follows:
78
75
 
79
- $ bin/ruby-shoes samples/simple-sound.rb
76
+ $ bin/shoes-swt samples/simple-sound.rb
80
77
 
81
78
  This does not work yet on Mac as JRuby (the JVM) needs some additional parameters. Here you can just do the following (which basically is what bin/shoes does):
82
79
 
83
- $ jruby -J-XstartOnFirstThread bin/ruby-shoes samples/simple-sound.rb
80
+ $ jruby -J-XstartOnFirstThread bin/shoes-swt samples/simple-sound.rb
84
81
 
85
82
  Another alternative yet is to put `require 'shoes'` at the top of your applications, then you can simply do
86
83
 
@@ -154,7 +151,7 @@ With all you do, please make sure to write specs as Shoes 4 is developed TDD-sty
154
151
 
155
152
  If you feel unsure about testing or your implementation just open an issue or a pull request. Pull requests don't need to be done - they are great discussion starters! We're happy to help you get your contribution ready to be merged in order to help build Shoes 4!
156
153
 
157
- In fact we greatly appreciate early pull requests to review code and help you find your way around Shoes4! =)
154
+ In fact we greatly appreciate early pull requests to review code and help you find your way around Shoes 4! =)
158
155
 
159
156
  If you have questions, also feel free to drop by on the #shoes channel on FreeNode irc. People might not respond instantly, but after some time someone will respond :-)
160
157
 
@@ -177,7 +174,7 @@ There are two kinds of Shoes 4 specs:
177
174
  backend, in isolation from the DSL. Shoes 4 comes with an isolation spec
178
175
  suite for the Swt backend.
179
176
 
180
- There are rake tasks for running specs. Some examples:
177
+ There are rake tasks for running specs. Some examples (run `rake --tasks` to see a more complete list):
181
178
 
182
179
  $ rake spec # Run the whole spec suite
183
180
  $ rake spec:shoes # Run integration specs using the mock backend
@@ -191,6 +188,20 @@ There are rake tasks for running specs. Some examples:
191
188
 
192
189
  **Note:** For Windows, `C:\tmp\shoes4>jruby -S rake spec`
193
190
 
191
+ Sometimes you only want to run specs from individual files rather than entire suites. You can run individual specs from the project root directory like this:
192
+
193
+ $ rspec shoes-swt/spec/shoes/swt/app_spec.rb
194
+
195
+ If you're on OS X and you are running specs that require SWT, you will have to set the `JRUBY_OPTS` environment variable first:
196
+
197
+ $ export JRUBY_OPTS=-J-XstartOnFirstThread
198
+ $ rspec shoes-swt/spec/shoes/swt/app_spec.rb
199
+
200
+ or set `JRUBY_OPTS` directly on the command line:
201
+
202
+ $ JRUBY_OPTS=-J-XstartOnFirstThread rspec shoes-swt/spec/shoes/swt/app_spec.rb
203
+
204
+
194
205
  ## Contact
195
206
 
196
207
  Want to get in touch with the shoes community? That's great! You can get in touch here:
metadata CHANGED
@@ -1,35 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shoes
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.pre2
4
+ version: 4.0.0.pre3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Team Shoes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-14 00:00:00.000000000 Z
11
+ date: 2015-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
16
  - - '='
17
17
  - !ruby/object:Gem::Version
18
- version: 4.0.0.pre2
19
- name: shoes-dsl
18
+ version: 4.0.0.pre3
19
+ name: shoes-core
20
20
  prerelease: false
21
21
  type: :runtime
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 4.0.0.pre2
26
+ version: 4.0.0.pre3
27
27
  - !ruby/object:Gem::Dependency
28
28
  requirement: !ruby/object:Gem::Requirement
29
29
  requirements:
30
30
  - - '='
31
31
  - !ruby/object:Gem::Version
32
- version: 4.0.0.pre2
32
+ version: 4.0.0.pre3
33
33
  name: shoes-swt
34
34
  prerelease: false
35
35
  type: :runtime
@@ -37,355 +37,36 @@ dependencies:
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 4.0.0.pre2
40
+ version: 4.0.0.pre3
41
41
  - !ruby/object:Gem::Dependency
42
42
  requirement: !ruby/object:Gem::Requirement
43
43
  requirements:
44
- - - '>='
44
+ - - ~>
45
45
  - !ruby/object:Gem::Version
46
- version: 0.1.2
47
- name: furoshiki
48
- prerelease: false
49
- type: :runtime
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
46
+ version: 4.0.0
52
47
  - - '>='
53
48
  - !ruby/object:Gem::Version
54
- version: 0.1.2
55
- - !ruby/object:Gem::Dependency
56
- requirement: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - '>='
59
- - !ruby/object:Gem::Version
60
- version: '0'
61
- name: nokogiri
49
+ version: 4.0.0
50
+ name: shoes-manual
62
51
  prerelease: false
63
52
  type: :runtime
64
53
  version_requirements: !ruby/object:Gem::Requirement
65
54
  requirements:
55
+ - - ~>
56
+ - !ruby/object:Gem::Version
57
+ version: 4.0.0
66
58
  - - '>='
67
59
  - !ruby/object:Gem::Version
68
- version: '0'
60
+ version: 4.0.0
69
61
  description: Shoes is the best little GUI toolkit for Ruby. Shoes makes building for Mac, Windows, and Linux super simple. Shoes runs on JRuby only for now.
70
62
  email:
71
63
  - shoes@librelist.com
72
- executables:
73
- - shoes-stub
74
- - ruby-shoes
75
- extensions:
76
- - ext/install/Rakefile
64
+ executables: []
65
+ extensions: []
77
66
  extra_rdoc_files: []
78
67
  files:
79
- - CHANGELOG
80
- - Gemfile
81
- - Guardfile
82
68
  - LICENSE
83
69
  - README.md
84
- - manifests/common.rb
85
- - Rakefile
86
- - app.yaml
87
- - benchmark/app_clear.rb
88
- - benchmark/clear.rb
89
- - benchmark/memory/text_dispose.rb
90
- - benchmark/para_creator.rb
91
- - benchmark/paras.rb
92
- - benchmark/urls.rb
93
- - bin/ruby-shoes
94
- - bin/shoes-guard
95
- - bin/shoes-stub
96
- - ext/install/Rakefile
97
- - ext/install/shoes.bat
98
- - lib/shoes.rb
99
- - lib/shoes/ui/cli.rb
100
- - lib/shoes/ui/help.rb
101
- - lib/shoes/ui/manual.rb
102
- - lib/shoes/version.rb
103
- - manifests/shoes.rb
104
- - samples/Gemfile
105
- - samples/Gemfile.lock
106
- - samples/README
107
- - samples/boom.rb
108
- - samples/class-book-adjusted.rb
109
- - samples/class-book.rb
110
- - samples/class-book.yaml
111
- - samples/clicky.rb
112
- - samples/cy.png
113
- - samples/expert-definr.rb
114
- - samples/expert-funnies.rb
115
- - samples/expert-game-of-life-adjusted.rb
116
- - samples/expert-game-of-life.rb
117
- - samples/expert-irb-adjusted.rb
118
- - samples/expert-irb.rb
119
- - samples/expert-minesweeper-adjusted.rb
120
- - samples/expert-minesweeper.rb
121
- - samples/expert-othello-adjusted.rb
122
- - samples/expert-othello.rb
123
- - samples/expert-pong.rb
124
- - samples/expert-snake.rb
125
- - samples/expert-tankspank.rb
126
- - samples/flow.rb
127
- - samples/good-arc.rb
128
- - samples/good-clock.rb
129
- - samples/good-displace.rb
130
- - samples/good-follow.rb
131
- - samples/good-potato-chopping.rb
132
- - samples/good-reminder.rb
133
- - samples/good-vjot.rb
134
- - samples/gray.rb
135
- - samples/loogink.png
136
- - samples/nks_booklist.rb
137
- - samples/nks_breadsticks.rb
138
- - samples/nks_dancing_circle.rb
139
- - samples/nks_dictionary.rb
140
- - samples/nks_edit_box.rb
141
- - samples/nks_edit_line.rb
142
- - samples/nks_notes.rb
143
- - samples/nks_poem.rb
144
- - samples/nks_self.rb
145
- - samples/nks_text_sizes.rb
146
- - samples/nks_trurl.rb
147
- - samples/original-manual-adjusted.rb
148
- - samples/original-manual.rb
149
- - samples/packaging/package_me.rb
150
- - samples/potato_chopping/1258_s001.gif
151
- - samples/potato_chopping/1258_s002.gif
152
- - samples/potato_chopping/1258_s003.gif
153
- - samples/potato_chopping/1258_s004.gif
154
- - samples/potato_chopping/1258_s005.gif
155
- - samples/potato_chopping/1258_s006.gif
156
- - samples/potato_chopping/1258_s007.gif
157
- - samples/potato_chopping/1258_s008.gif
158
- - samples/potato_chopping/1258_s009.gif
159
- - samples/potato_chopping/1258_s010.gif
160
- - samples/potato_chopping/1258_s011.gif
161
- - samples/potato_chopping/1258_s012.gif
162
- - samples/potato_chopping/1258_s013.gif
163
- - samples/potato_chopping/1258_s014.gif
164
- - samples/potato_chopping/1258_s015.gif
165
- - samples/potato_chopping/1258_s016.gif
166
- - samples/potato_chopping/1258_s017.gif
167
- - samples/potato_chopping/1258_s018.gif
168
- - samples/potato_chopping/1258_s019.gif
169
- - samples/potato_chopping/1258_s020.gif
170
- - samples/potato_chopping/1258_s021.gif
171
- - samples/potato_chopping/1258_s022.gif
172
- - samples/potato_chopping/1258_s023.gif
173
- - samples/potato_chopping/1258_s024.gif
174
- - samples/potato_chopping/1258_s025.gif
175
- - samples/potato_chopping/1258_s026.gif
176
- - samples/potato_chopping/1258_s027.gif
177
- - samples/potato_chopping/1258_s028.gif
178
- - samples/potato_chopping/1258_s029.gif
179
- - samples/potato_chopping/1258_s030.gif
180
- - samples/potato_chopping/1258_s031.gif
181
- - samples/potato_chopping/1258_s032.gif
182
- - samples/potato_chopping/1258_s033.gif
183
- - samples/potato_chopping/1258_s034.gif
184
- - samples/potato_chopping/1258_s035.gif
185
- - samples/potato_chopping/1258_s036.gif
186
- - samples/potato_chopping/1258_s037.gif
187
- - samples/potato_chopping/1258_s038.gif
188
- - samples/potato_chopping/1258_s039.gif
189
- - samples/potato_chopping/1258_s040.gif
190
- - samples/potato_chopping/1258_s041.gif
191
- - samples/potato_chopping/1258_s042.gif
192
- - samples/potato_chopping/1258_s043.gif
193
- - samples/potato_chopping/1258_s044.gif
194
- - samples/potato_chopping/1258_s045.gif
195
- - samples/potato_chopping/1258_s046.gif
196
- - samples/potato_chopping/1258_s047.gif
197
- - samples/potato_chopping/1258_s048.gif
198
- - samples/potato_chopping/1258_s049.gif
199
- - samples/potato_chopping/1258_s050.gif
200
- - samples/potato_chopping/1258_s051.gif
201
- - samples/potato_chopping/1258_s052.gif
202
- - samples/potato_chopping/1258_s053.gif
203
- - samples/potato_chopping/1258_s054.gif
204
- - samples/potato_chopping/1258_s055.gif
205
- - samples/potato_chopping/1258_s056.gif
206
- - samples/potato_chopping/1258_s057.gif
207
- - samples/potato_chopping/1258_s058.gif
208
- - samples/potato_chopping/1258_s059.gif
209
- - samples/present.rb
210
- - samples/progress.rb
211
- - samples/sample1.rb
212
- - samples/sample12.rb
213
- - samples/sample13.rb
214
- - samples/sample14.rb
215
- - samples/sample15.rb
216
- - samples/sample16.rb
217
- - samples/sample17.rb
218
- - samples/sample2.rb
219
- - samples/sample21.rb
220
- - samples/sample23.rb
221
- - samples/sample24.rb
222
- - samples/sample27.rb
223
- - samples/sample3.rb
224
- - samples/sample31.rb
225
- - samples/sample34.rb
226
- - samples/sample35.rb
227
- - samples/sample37.rb
228
- - samples/sample4.rb
229
- - samples/sample42.rb
230
- - samples/sample45.rb
231
- - samples/sample56.rb
232
- - samples/sample6.rb
233
- - samples/sample7.rb
234
- - samples/sample8.rb
235
- - samples/sample9.rb
236
- - samples/simple-accordion.rb
237
- - samples/simple-anim-shapes.rb
238
- - samples/simple-anim-text.rb
239
- - samples/simple-animate.rb
240
- - samples/simple-arc.rb
241
- - samples/simple-bounce.rb
242
- - samples/simple-brightness-transitions.rb
243
- - samples/simple-button-animate.rb
244
- - samples/simple-calc-2.rb
245
- - samples/simple-calc.rb
246
- - samples/simple-color-selector.rb
247
- - samples/simple-color-transitions.rb
248
- - samples/simple-control-sizes.rb
249
- - samples/simple-curve.rb
250
- - samples/simple-dialogs-outside.rb
251
- - samples/simple-dialogs.rb
252
- - samples/simple-displace.rb
253
- - samples/simple-downloader.rb
254
- - samples/simple-draw.rb
255
- - samples/simple-editor.rb
256
- - samples/simple-face.rb
257
- - samples/simple-flow-wrap.rb
258
- - samples/simple-font.rb
259
- - samples/simple-form.rb
260
- - samples/simple-form.shy
261
- - samples/simple-fullscreen.rb
262
- - samples/simple-guess-game.rb
263
- - samples/simple-keypress.rb
264
- - samples/simple-manual.rb
265
- - samples/simple-mask.rb
266
- - samples/simple-menu.rb
267
- - samples/simple-mouse-follow.rb
268
- - samples/simple-move.rb
269
- - samples/simple-oval.rb
270
- - samples/simple-sample-executor.rb
271
- - samples/simple-shoes-intro.rb
272
- - samples/simple-slide.rb
273
- - samples/simple-sound.rb
274
- - samples/simple-sphere.rb
275
- - samples/simple-stripes.rb
276
- - samples/simple-tictactoe.rb
277
- - samples/simple-timer.rb
278
- - samples/simple-video.rb
279
- - samples/simple-visibility.rb
280
- - samples/simple-widget.rb
281
- - samples/sounds/102719__sarge4267__explosion.mp3
282
- - samples/sounds/145622__andybrannan__train-fog-horn-long-wyomming.aiff
283
- - samples/sounds/46492__phreaksaccount__shields1.ogg
284
- - samples/sounds/61847__simon-rue__boink-v3.wav
285
- - samples/swt-raw.rb
286
- - samples/troll.rb
287
- - snapshots/sample1.png
288
- - snapshots/sample10.png
289
- - snapshots/sample11.png
290
- - snapshots/sample12.png
291
- - snapshots/sample13.png
292
- - snapshots/sample14.png
293
- - snapshots/sample15.png
294
- - snapshots/sample16.png
295
- - snapshots/sample17.png
296
- - snapshots/sample18.png
297
- - snapshots/sample19.png
298
- - snapshots/sample2.png
299
- - snapshots/sample20.png
300
- - snapshots/sample21.png
301
- - snapshots/sample22.png
302
- - snapshots/sample23.png
303
- - snapshots/sample24.png
304
- - snapshots/sample27.png
305
- - snapshots/sample28.png
306
- - snapshots/sample29.png
307
- - snapshots/sample3.png
308
- - snapshots/sample30.png
309
- - snapshots/sample31.png
310
- - snapshots/sample34.png
311
- - snapshots/sample35.png
312
- - snapshots/sample36.png
313
- - snapshots/sample37.png
314
- - snapshots/sample4.png
315
- - snapshots/sample42.png
316
- - snapshots/sample44.png
317
- - snapshots/sample45.png
318
- - snapshots/sample46.png
319
- - snapshots/sample5.png
320
- - snapshots/sample56.png
321
- - snapshots/sample6.png
322
- - snapshots/sample7.png
323
- - snapshots/sample8.png
324
- - snapshots/sample9.png
325
- - snapshots/sample99.png
326
- - static/PKGBUILD
327
- - static/Shoes.icns
328
- - static/avatar.png
329
- - static/code_highlighter.js
330
- - static/code_highlighter_ruby.js
331
- - static/downloading.png
332
- - static/icon-debug.png
333
- - static/icon-error.png
334
- - static/icon-info.png
335
- - static/icon-warn.png
336
- - static/listbox_button1.png
337
- - static/listbox_button2.png
338
- - static/man-app.png
339
- - static/man-builds.png
340
- - static/man-builds1.png
341
- - static/man-editor-notepad.png
342
- - static/man-editor-osx.png
343
- - static/man-ele-background.png
344
- - static/man-ele-border.png
345
- - static/man-ele-button.png
346
- - static/man-ele-check.png
347
- - static/man-ele-editbox.png
348
- - static/man-ele-editline.png
349
- - static/man-ele-image.png
350
- - static/man-ele-listbox.png
351
- - static/man-ele-progress.png
352
- - static/man-ele-radio.png
353
- - static/man-ele-shape.png
354
- - static/man-ele-textblock.png
355
- - static/man-ele-video.png
356
- - static/man-intro-dmg.png
357
- - static/man-intro-exe.png
358
- - static/man-look-tiger.png
359
- - static/man-look-ubuntu.png
360
- - static/man-look-vista.png
361
- - static/man-run-osx.png
362
- - static/man-run-vista.png
363
- - static/man-run-xp.png
364
- - static/man-shot1.png
365
- - static/manual-en.txt
366
- - static/manual-ja.txt
367
- - static/manual.css
368
- - static/menu-corner1.png
369
- - static/menu-corner2.png
370
- - static/menu-gray.png
371
- - static/menu-left.png
372
- - static/menu-right.png
373
- - static/menu-top.png
374
- - static/shoes-dmg.jpg
375
- - static/shoes-icon-blue.png
376
- - static/shoes-icon-brown.png
377
- - static/shoes-icon.png
378
- - static/shoes-manual-apps.gif
379
- - static/shoes-manual-apps.png
380
- - static/shoes_main_window.png
381
- - static/stripe.png
382
- - static/tutor-back.png
383
- - tasks/changelog.rb
384
- - tasks/gem.rb
385
- - tasks/rspec.rb
386
- - tasks/sample.rb
387
- - tasks/yard.rb
388
- - shoes.gemspec
389
70
  homepage: https://github.com/shoes/shoes4
390
71
  licenses:
391
72
  - MIT
@@ -406,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
406
87
  version: 1.3.1
407
88
  requirements: []
408
89
  rubyforge_project:
409
- rubygems_version: 2.1.9
90
+ rubygems_version: 2.4.2
410
91
  signing_key:
411
92
  specification_version: 4
412
93
  summary: Shoes is the best little GUI toolkit for Ruby. Shoes runs on JRuby only for now.