shoes 4.0.0.pre4 → 4.0.0.pre5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +14 -35
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1a58f3cb8183f55c32624b2fbbde82f22a83fd2
|
4
|
+
data.tar.gz: b61b129e17774807b93e7746b1d587637289f0f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5ee346c9fe9cfac125fb0ea9c56fef494fa8dcf0b5c18de7d1606a923ad9c847fc57dfd8ab002cbbc0966f3519d08d72570e696231b17cd48dcc5c4a906257c
|
7
|
+
data.tar.gz: ff63aea95be51f7d1a8a9bc5b40c4c830bcf29dbaf6b12952adba0d3abd00612eec5ce1b947f6487ee6508c56fb03bb5a9ee699e572c702ca51d7a470c86f317
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
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)
|
1
|
+
# shoes4 [![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
|
|
@@ -16,7 +16,7 @@ So your first step is to install a [JDK](http://www.oracle.com/technetwork/java/
|
|
16
16
|
|
17
17
|
$ rvm install jruby
|
18
18
|
|
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.
|
19
|
+
**JDK version note:** While Shoes 4 should generally work with JDK version 6 and up we recommend to use newer version. Also please note that the newest JRuby version 9 requires a JDK version of **7 and up**. If you want to stick with JDK 6 you can do `rvm install jruby-1.7`. Also within the JDK major version make sure to have the latest updates installed, we had cases where newer versions resolved bugs.
|
20
20
|
|
21
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
22
|
|
@@ -45,7 +45,7 @@ If you want to be on the bleeding edge or want to contribute code you need to in
|
|
45
45
|
$ cd shoes4
|
46
46
|
$ gem install bundler && bundle install
|
47
47
|
|
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.
|
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. Yes it even works with the brand new JRuby 9.0.0.0! We recommend up to date versions though.
|
49
49
|
|
50
50
|
3. You're ready to go!
|
51
51
|
|
@@ -92,6 +92,8 @@ On OS X you still need to supply the additional parameters to JRuby
|
|
92
92
|
You can run `rake samples` and random samples we believe are working will be run until you quit with Ctr + C. Some of them are really simple, while others are more complex or even games!
|
93
93
|
If you notice any issue with those samples please [let us know](https://github.com/shoes/shoes4/issues/new)!
|
94
94
|
|
95
|
+
By setting the `SHOES_USE_INSTALLED` environment variable to true, you can also use your installed version of shoes (`shoes` command) to run the samples instead of the local `bin/shoes`.
|
96
|
+
|
95
97
|
## Packaging a Shoes App
|
96
98
|
|
97
99
|
Packaging is just a baby, so be gentle.
|
@@ -161,46 +163,23 @@ Refer to the following section for information on how to run the specs, that wer
|
|
161
163
|
|
162
164
|
## Running Specs
|
163
165
|
|
164
|
-
Shoes 4 is developed in a TDD style. You should be writing and running the specs :)
|
165
|
-
|
166
|
-
There are two kinds of Shoes 4 specs:
|
167
|
-
|
168
|
-
1. **Integration specs:** These specify the functionality of the Shoes
|
169
|
-
DSL. They can be run with any compatible Shoes backend. Shoes 4 comes
|
170
|
-
with a mock backend and an Swt backend that can run the integration
|
171
|
-
specs.
|
172
|
-
|
173
|
-
2. **Isolation specs:** These specify the internal behavior of a Shoes
|
174
|
-
backend, in isolation from the DSL. Shoes 4 comes with an isolation spec
|
175
|
-
suite for the Swt backend.
|
166
|
+
Shoes 4 is developed in a TDD style using RSpec. You should be writing and running the specs :)
|
176
167
|
|
177
|
-
|
168
|
+
The simplest way to do this is with rake tasks.
|
178
169
|
|
179
|
-
$ rake spec
|
180
|
-
$ rake spec:shoes # Run integration specs using the mock backend
|
181
|
-
$ rake spec:swt # Run integration specs using the Swt backend, plus isolation specs for the Swt backend
|
182
|
-
$ rake spec:swt:isolation # Run isolation specs for the Swt backend
|
183
|
-
$ rake spec:swt:integration # Run integration specs using the Swt backend
|
184
|
-
$ rake spec[Shape] # Run the whole spec suite, but only for Shape
|
185
|
-
$ rake spec:shoes[Shape] # Run integration specs for Shape using the mock backend
|
186
|
-
$ rake spec:swt[Shape] # Run integration and isolation specs for Shape, using the Swt backend
|
187
|
-
$ rake spec:swt:isolation[Shape] # Run isolation specs for Shape using the Swt backend
|
170
|
+
$ rake spec
|
188
171
|
|
189
|
-
|
172
|
+
(Try `rake --tasks` for a full list)
|
190
173
|
|
191
|
-
|
174
|
+
If you want more details on other modes to run specs in, philosophy on how and what to tests, check out the [Testing Shoes entry in the wiki](https://github.com/shoes/shoes4/wiki/Testing-Shoes).
|
192
175
|
|
193
|
-
|
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:
|
176
|
+
## Code of Conduct
|
196
177
|
|
197
|
-
|
198
|
-
$ rspec shoes-swt/spec/shoes/swt/app_spec.rb
|
178
|
+
Way way back in the day, there was a guy named _why. He created a project known as Hackety Hack 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.
|
199
179
|
|
200
|
-
or
|
180
|
+
Shoes was born to teach programming to everyone, in all corners of the earth. It's not cool to make new programmers or programmers with bad English feel bad because they don't write Ruby / English very well. And clearly any other anti-social comments directed at someone's religion, ethnicity, race, gender identity, or any of that personal stuff won't be tolerated here in the land of chunky-bacon! If community members feel like your comments are out of line in any project space (code, issues, chat rooms, mailing lists), they'll kindly let you know how to improve per our [code of conduct](https://github.com/shoes/shoes4/blob/master/CODE_OF_CONDUCT.md).
|
201
181
|
|
202
|
-
|
203
|
-
|
182
|
+
The bottom-line is: Have Fun with Shoes!
|
204
183
|
|
205
184
|
## Contact
|
206
185
|
|
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.pre5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Team Shoes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-14 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.pre5
|
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.pre5
|
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.pre5
|
33
33
|
name: shoes-swt
|
34
34
|
prerelease: false
|
35
35
|
type: :runtime
|
@@ -37,14 +37,14 @@ dependencies:
|
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 4.0.0.
|
40
|
+
version: 4.0.0.pre5
|
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
46
|
version: 4.0.0
|
47
|
-
- -
|
47
|
+
- - ">="
|
48
48
|
- !ruby/object:Gem::Version
|
49
49
|
version: 4.0.0
|
50
50
|
name: shoes-manual
|
@@ -52,10 +52,10 @@ dependencies:
|
|
52
52
|
type: :runtime
|
53
53
|
version_requirements: !ruby/object:Gem::Requirement
|
54
54
|
requirements:
|
55
|
-
- - ~>
|
55
|
+
- - "~>"
|
56
56
|
- !ruby/object:Gem::Version
|
57
57
|
version: 4.0.0
|
58
|
-
- -
|
58
|
+
- - ">="
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: 4.0.0
|
61
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.
|
@@ -77,17 +77,17 @@ require_paths:
|
|
77
77
|
- lib
|
78
78
|
required_ruby_version: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
84
84
|
requirements:
|
85
|
-
- -
|
85
|
+
- - ">"
|
86
86
|
- !ruby/object:Gem::Version
|
87
87
|
version: 1.3.1
|
88
88
|
requirements: []
|
89
89
|
rubyforge_project:
|
90
|
-
rubygems_version: 2.4.
|
90
|
+
rubygems_version: 2.4.8
|
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.
|