shoes 4.0.0.pre5 → 4.0.0.pre6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +45 -3
- metadata +7 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9113b4e8910bb9e40241b2d0d4451d9a5fb13211
|
4
|
+
data.tar.gz: 749a06dcacc7aef5e631add1d7ab6f84788910f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af56169dda90828b65bca3fb760e39d0caf9373b2e83f825a13eebab1169ae916eafa7d96f5e2873c59d045b6db1832f29df12a9387fb557764351534311decf
|
7
|
+
data.tar.gz: 9f9ae49ed9b185059591b92007f86b6a218856467a39b224d665387c878bccf87371fc4000b3043bed2590ae7727a5493c2dfb5faa8e3cef5f0509eaf5026c85
|
data/README.md
CHANGED
@@ -1,7 +1,38 @@
|
|
1
|
-
#
|
1
|
+
# Shoes 4 [![Linux Build Status](https://secure.travis-ci.org/shoes/shoes4.svg?branch=master)](http://travis-ci.org/shoes/shoes4)[![Windows Build status](https://ci.appveyor.com/api/projects/status/ejrrqefbfuhdmahj/branch/master?svg=true)](https://ci.appveyor.com/project/PragTob/shoes4/branch/master)[![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
|
+
## About Shoes
|
6
|
+
|
7
|
+
Shoes is a little DSL for cross-platform (Mac, Windows, and Linux) GUI programming. It feels like real Ruby, rather than just another C++ library wrapper. For some samples, the manual, and a free book, check out [the Shoes website](http://shoesrb.com/).
|
8
|
+
|
9
|
+
## Basic Usage
|
10
|
+
|
11
|
+
Want to see what Shoes looks like? Well, here you go! Given the script:
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
Shoes.app width: 300, height: 200 do
|
15
|
+
background lime..blue
|
16
|
+
|
17
|
+
stack do
|
18
|
+
para "Welcome to the world of Shoes!"
|
19
|
+
button "Click me" do alert "Nice click!" end
|
20
|
+
image "http://shoesrb.com/img/shoes-icon.png",
|
21
|
+
margin_top: 20, margin_left: 10
|
22
|
+
end
|
23
|
+
end
|
24
|
+
```
|
25
|
+
|
26
|
+
This results in the following application:
|
27
|
+
|
28
|
+
![shoes 4 screenshot Linux](http://www.pragtob.info/images/Shoes%204%20_004.png)
|
29
|
+
|
30
|
+
The look and feel will differ for your operating system, as Shoes 4 uses native widgets.
|
31
|
+
|
32
|
+
##Some history about Shoes
|
33
|
+
|
34
|
+
Way way back in the day, there was a guy named \_why. He created a project known as [Hackety Hack](http://hackety-hack.com) to teach programming to everyone. In order to reach all corners of the earth, \_why decided to make Hackety Hack work on Windows, Mac OS X, and Linux. This was a lot of work, and so \_why decided to share his toolkit with the world. Thus, Shoes was born.
|
35
|
+
|
5
36
|
## Preview Version
|
6
37
|
|
7
38
|
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)!
|
@@ -10,13 +41,15 @@ Hi there, thanks for checking by! Shoes 4 is in the preview stage. It currently
|
|
10
41
|
|
11
42
|
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.
|
12
43
|
|
44
|
+
Currently 1.7.x should still work (along with JDK 6) but we removed testing against it as dependencies started acting up and JRuby 9k has been out fairly long and the upgrade is relatively painless. **We recommend using JRuby 9+**.
|
45
|
+
|
13
46
|
### Get a JDK and JRuby
|
14
47
|
|
15
48
|
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/):
|
16
49
|
|
17
50
|
$ rvm install jruby
|
18
51
|
|
19
|
-
**JDK version note:**
|
52
|
+
**JDK version note:** JRuby version 9 requires a JDK version of **7 and up**. Also within the JDK major version make sure to have the latest updates installed, we had cases where newer versions resolved bugs.
|
20
53
|
|
21
54
|
**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
55
|
|
@@ -45,7 +78,7 @@ If you want to be on the bleeding edge or want to contribute code you need to in
|
|
45
78
|
$ cd shoes4
|
46
79
|
$ gem install bundler && bundle install
|
47
80
|
|
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 >=
|
81
|
+
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 >= 9.0.0.0 We recommend up to date versions though.
|
49
82
|
|
50
83
|
3. You're ready to go!
|
51
84
|
|
@@ -181,6 +214,15 @@ Shoes was born to teach programming to everyone, in all corners of the earth. It
|
|
181
214
|
|
182
215
|
The bottom-line is: Have Fun with Shoes!
|
183
216
|
|
217
|
+
## Shoes Around the Web
|
218
|
+
|
219
|
+
If you want to keep up to date with what's going on with Shoes, you can find us in various places:
|
220
|
+
|
221
|
+
* [Official Shoes Site](http://shoesrb.com/)
|
222
|
+
* [Source Code @ GitHub](http://github.com/shoes/shoes4)
|
223
|
+
* [Issue tracker @ GitHub](http://github.com/shoes/shoes4/issues)
|
224
|
+
* [Twitter account](http://twitter.com/shoooesrb)
|
225
|
+
|
184
226
|
## Contact
|
185
227
|
|
186
228
|
Want to get in touch with the shoes community? That's great! You can get in touch here:
|
metadata
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shoes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.0.
|
4
|
+
version: 4.0.0.pre6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Team Shoes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-11-07 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.
|
18
|
+
version: 4.0.0.pre6
|
19
19
|
name: shoes-core
|
20
20
|
prerelease: false
|
21
21
|
type: :runtime
|
@@ -23,13 +23,13 @@ dependencies:
|
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 4.0.0.
|
26
|
+
version: 4.0.0.pre6
|
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.
|
32
|
+
version: 4.0.0.pre6
|
33
33
|
name: shoes-swt
|
34
34
|
prerelease: false
|
35
35
|
type: :runtime
|
@@ -37,7 +37,7 @@ dependencies:
|
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 4.0.0.
|
40
|
+
version: 4.0.0.pre6
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
@@ -87,9 +87,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
87
|
version: 1.3.1
|
88
88
|
requirements: []
|
89
89
|
rubyforge_project:
|
90
|
-
rubygems_version: 2.
|
90
|
+
rubygems_version: 2.6.6
|
91
91
|
signing_key:
|
92
92
|
specification_version: 4
|
93
93
|
summary: Shoes is the best little GUI toolkit for Ruby. Shoes runs on JRuby only for now.
|
94
94
|
test_files: []
|
95
|
-
has_rdoc:
|