cf3 0.0.4 → 0.0.5

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: 7e17853f9381b6ed49bc8167e843761fa8a14f21
4
- data.tar.gz: 5dc00b417e9f3bfe81809b418507f30d015fd72c
3
+ metadata.gz: 3a43e223b34bc4d0176687c3fe5ca7cb300922a7
4
+ data.tar.gz: 6000229d2e1fbd9430b9c0e089af616483f6cd4f
5
5
  SHA512:
6
- metadata.gz: 042745bf5d971d9f3f3d63d55f6ca0a99c1604e888b223ee29e2b6cf062f41cab21b7a6d5170d470a8dcff0dceab6b33e461e38a2d6a2271e7985741a3231c5a
7
- data.tar.gz: f7bc02c7d7492ebef52e4c29c3ccffbefeb80ee1f42f8e7c8685b7fcd0d289b5c1a89bfccb3be6d28bce80a6a43128c7bd4ecb6c4d7d65e542abbc9fbe116f38
6
+ metadata.gz: 5f51b3aca67a217c2703e1d3d5032732c91da2c2ee0480f38a3eca8e9da78b15911404b3996ba15a57609ae2dd408026ab253289cf9a939c53bc673b26c72c9b
7
+ data.tar.gz: 738c38f20fbf60890f34353e47d7d7155d2de3f5199e712ebc4cbc08fe61ae728c400c055824fbc71230d7f7a4257a91cfdaa3171f7e2683700ad43e61970357
data/Gemfile CHANGED
@@ -1,5 +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
+ ruby "1.9.3", :engine => "jruby", :engine_version => "1.7.5"
5
5
  gemspec
data/README.md CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
3
  **context-free DSL for ruby-1.9 and CF3 syntax**
4
4
 
5
- Very much derived from [context-free.rb][] by Jeremy Ashkenas this version is updated to be more in line with CF3 and ruby 1.9 syntax. Tested as working with last rubygems release of ruby-processing (v 1.0.11) as well as the current [version][] (v 2.1.4).
5
+ Very much derived from [context-free.rb][] by Jeremy Ashkenas this version is updated to be more in line with CF3 and ruby 1.9 syntax. Tested as working with last rubygems release of ruby-processing (v 1.0.11) as well as the current [version][] (v 2.4.0).
6
6
  [context-free.rb]:https://github.com/jashkenas/context_free/
7
7
  [version]:https://github.com/monkstone/ruby-processing/releases/
8
8
  ## Installation
9
9
 
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.4). There are three ways you can install this library:-
10
+ To use this library you need install jruby (preferably jruby-1.7.9+), you will also need [ruby-processing][] to be installed (minimum version 1.0.11, preferred version 2.4.0). There are three ways you can install this library:-
11
11
 
12
12
  ***rake test and gem install***
13
13
 
@@ -1,3 +1,3 @@
1
1
  module Cf3
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -11,13 +11,13 @@ def setup_the_fern
11
11
  @fern = ContextFree.define do
12
12
 
13
13
  shape :start do
14
- fern rotation: 50, hue: 306
14
+ fern rotation: 8, hue: 306
15
15
  end
16
16
 
17
17
  shape :fern do
18
- circle size: 0.75, rotation: -10
18
+ square size: 0.75, rotation: -49
19
19
  split do
20
- fern size: 0.92, y: -2, rotation: -5, hue: 306
20
+ fern size: 0.92, y: -2, rotation: 5, hue: 306
21
21
  rewind
22
22
  fern size: 0.5, y: -2, rotation: 90
23
23
  rewind
@@ -10,7 +10,7 @@ attr_reader :panel, :hide
10
10
  def setup_the_trees
11
11
  control_panel do |panel|
12
12
  panel.look_feel "Metal"
13
- panel.slider :srand, 0..100
13
+ panel.slider :srand, (0..100), 50
14
14
  @panel = panel
15
15
  end
16
16
 
@@ -58,7 +58,7 @@ end
58
58
 
59
59
  def setup
60
60
  size 800, 800
61
- @hide = true
61
+ @hide = false
62
62
  setup_the_trees
63
63
  no_stroke
64
64
  frame_rate 5
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
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Ashkenas
@@ -9,48 +9,48 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-09-03 00:00:00.000000000 Z
12
+ date: 2013-12-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ruby-processing
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - '>='
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
20
  version: 1.0.11
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - '>='
25
+ - - ">="
26
26
  - !ruby/object:Gem::Version
27
27
  version: 1.0.11
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: bundler
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - ~>
32
+ - - "~>"
33
33
  - !ruby/object:Gem::Version
34
34
  version: '1.3'
35
35
  type: :development
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - ~>
39
+ - - "~>"
40
40
  - !ruby/object:Gem::Version
41
41
  version: '1.3'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: rake
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - '>='
46
+ - - ">="
47
47
  - !ruby/object:Gem::Version
48
48
  version: '0'
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - '>='
53
+ - - ">="
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
56
  description: " A library for ruby-processing, that allows the writing of context
@@ -65,8 +65,8 @@ executables:
65
65
  extensions: []
66
66
  extra_rdoc_files: []
67
67
  files:
68
- - .gitignore
69
- - .yardopts
68
+ - ".gitignore"
69
+ - ".yardopts"
70
70
  - CHANGELOG
71
71
  - CONTRIBUTING.md
72
72
  - Gemfile
@@ -111,20 +111,19 @@ require_paths:
111
111
  - lib
112
112
  required_ruby_version: !ruby/object:Gem::Requirement
113
113
  requirements:
114
- - - '>='
114
+ - - ">="
115
115
  - !ruby/object:Gem::Version
116
116
  version: '0'
117
117
  required_rubygems_version: !ruby/object:Gem::Requirement
118
118
  requirements:
119
- - - '>='
119
+ - - ">="
120
120
  - !ruby/object:Gem::Version
121
121
  version: '0'
122
122
  requirements: []
123
123
  rubyforge_project:
124
- rubygems_version: 2.0.5
124
+ rubygems_version: 2.1.11
125
125
  signing_key:
126
126
  specification_version: 4
127
127
  summary: A ruby-DSL library for CF3 sketches
128
128
  test_files:
129
129
  - test/test_cf3.rb
130
- has_rdoc: