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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b90f97ce852ffbacb4231664e4f9a2d69f6122c9
4
- data.tar.gz: 273b1d995a2e16dbe479a8ba56166aad18b1acc8
3
+ metadata.gz: abf03ff4ab58c68a6bd23d96f7d63b8470e0dc0d
4
+ data.tar.gz: 91aefce6f4a52cc9a045876bb90a2762b66b7fb2
5
5
  SHA512:
6
- metadata.gz: 110a19238348ca4a787aa8bc517b8f09acbf0d1e7a7ea4b354c8a885d2aa5ab3f39a19221dc345d7d373390a2303ad7e61b15cc1ccd43c4dde02581cea0e024b
7
- data.tar.gz: 750880f1178880ac854705918e02364a12dfbfffc9aed34e04ba620dea18e9f0f55645d8e22ec9b3942f708822e5821c8330aa5ddefe073c6962a356d7b7c1dd
6
+ metadata.gz: dd7e9fff158ddf4928772873aa5fa703693dfdee81873330c7dc1c05bfe4ca70a219d85866be5c0fdddbd6f1cd2ba2a1009ffdb75c842ed326a27441485cfee7
7
+ data.tar.gz: e80cab9e1fca1a36863f3722651ebb913f0b1c5fabd511a4f33a63791e46b672bbd29bf18e1c8e077ccb3b492336942c08a9810ded36991e909f8cab5b7a7ecd
data/CHANGELOG CHANGED
@@ -1,3 +1,8 @@
1
- v0.3. First Gem Release
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
@@ -1,4 +1,5 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in cf3ruby.gemspec
4
+ ruby "1.9.3", :engine => "jruby", :engine_version => "1.7.4"
4
5
  gemspec
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
- Add this line to your application's Gemfile:
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
- gem 'cf3ruby'
12
+ ***rake test and gem install***
13
13
 
14
- And then execute:
14
+ Either clone this repository, or download a [snapshot][].
15
15
 
16
- $ bundle
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
- Or install it yourself as:
22
+ ***local bundle install***
19
23
 
20
- $ gem install cf3
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
- TODO: Write usage instructions here
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
- 1. Fork it
29
- 2. Create your feature branch (`git checkout -b my-new-feature`)
30
- 3. Commit your changes (`git commit -am 'Add some feature'`)
31
- 4. Push to the branch (`git push origin my-new-feature`)
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
@@ -5,7 +5,7 @@
5
5
 
6
6
 
7
7
  home = ENV["HOME"]
8
- local = home + '/cf3samples'
8
+ local = home + '/cf3work'
9
9
  file = __FILE__
10
10
  require "pathname"
11
11
  require "fileutils"
data/lib/cf3/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Cf3
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
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.1
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-27 00:00:00.000000000 Z
12
+ date: 2013-07-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ruby-processing