cf3 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +6 -1
- data/Gemfile +1 -0
- data/README.md +36 -12
- data/bin/cf3samples +1 -1
- data/lib/cf3/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abf03ff4ab58c68a6bd23d96f7d63b8470e0dc0d
|
4
|
+
data.tar.gz: 91aefce6f4a52cc9a045876bb90a2762b66b7fb2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd7e9fff158ddf4928772873aa5fa703693dfdee81873330c7dc1c05bfe4ca70a219d85866be5c0fdddbd6f1cd2ba2a1009ffdb75c842ed326a27441485cfee7
|
7
|
+
data.tar.gz: e80cab9e1fca1a36863f3722651ebb913f0b1c5fabd511a4f33a63791e46b672bbd29bf18e1c8e077ccb3b492336942c08a9810ded36991e909f8cab5b7a7ecd
|
data/CHANGELOG
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
-
v0.
|
1
|
+
v0.0.2 Second Gem Release
|
2
|
+
* extract samples to cf3work/samples, was cf3samples/samples
|
3
|
+
* gives me an opportunity to create a lock for bundler?
|
4
|
+
|
5
|
+
|
6
|
+
v0.0.1. First Gem Release
|
2
7
|
* very much base on jashkenas context-free.rb updated
|
3
8
|
* for ruby-1.9 syntax (and DSL nearer to CF3 than the original cfdg)
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -7,29 +7,53 @@ Very much derived from [context-free.rb][] by Jeremy Ashkenas this version is up
|
|
7
7
|
[version]:https://github.com/monkstone/ruby-processing/releases/
|
8
8
|
## Installation
|
9
9
|
|
10
|
-
|
10
|
+
To use this library you need install jruby (preferably jruby-1.7.4+), you will also need [ruby-processing][] to be installed (minimum version 1.0.11, preferred version 2.1.0). There are three ways you can install this library:-
|
11
11
|
|
12
|
-
|
12
|
+
***rake test and gem install***
|
13
13
|
|
14
|
-
|
14
|
+
Either clone this repository, or download a [snapshot][].
|
15
15
|
|
16
|
-
|
16
|
+
```bash
|
17
|
+
cd cf3ruby
|
18
|
+
jruby -S rake test # builds and tests gem (mouse click on frame for test image to show)
|
19
|
+
jruby -S gem install cf3-0.0.1.gem # may need sudo access
|
20
|
+
```
|
17
21
|
|
18
|
-
|
22
|
+
***local bundle install***
|
19
23
|
|
20
|
-
|
24
|
+
Either clone this repository, or download a [snapshot].
|
25
|
+
|
26
|
+
```bash
|
27
|
+
cd cf3
|
28
|
+
bundle install
|
29
|
+
```
|
30
|
+
|
31
|
+
***gem install from rubygems***
|
32
|
+
```bash
|
33
|
+
gem install cf3
|
34
|
+
```
|
35
|
+
it couldn't be easier could it?
|
21
36
|
|
22
37
|
## Usage
|
23
38
|
|
24
|
-
|
39
|
+
Extract the included samples to your home directory
|
40
|
+
```bash
|
41
|
+
jruby -S cf3samples
|
42
|
+
```
|
43
|
+
|
44
|
+
As for running ruby-processing, it requires the external jruby flag
|
45
|
+
```bash
|
46
|
+
rp5 run --jruby city.rb # this is why you should install both ruby-processing and cf3ruby using jruby
|
47
|
+
|
48
|
+
```
|
49
|
+
You should read the [ruby-processing_documentation][] on using rubygems.
|
25
50
|
|
26
51
|
## Contributing
|
27
52
|
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
5. Create new Pull Request
|
53
|
+
[Contributing][]
|
54
|
+
[contributing]:CONTRIBUTING.md
|
55
|
+
[ruby-processing_documentation]:https://github.com/jashkenas/ruby-processing/wiki/Using-Rubygems/
|
56
|
+
[snapshot]:https://github.com/monkstone/cf3ruby/releases
|
33
57
|
|
34
58
|
![Y](http://3.bp.blogspot.com/-KNBKD7lArMA/UNBayboXQFI/AAAAAAAAD7A/YAgZCewTOxQ/s400/y.png)
|
35
59
|
|
data/bin/cf3samples
CHANGED
data/lib/cf3/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cf3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Ashkenas
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-07-
|
12
|
+
date: 2013-07-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ruby-processing
|