l_system 0.1.1 → 0.2.0.pre.20200226141113

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
  SHA256:
3
- metadata.gz: 48dc988372d2e07ff20bc1760e6b2e0360d5917ba4313ce294a7b8df797f3a10
4
- data.tar.gz: 49d64c46a9d9dcd58cf442f1f7163506e6674f6fb2c039bf246cce46470e50f3
3
+ metadata.gz: d27a5cc326fd3f00846c25eb80e139c6c43c863d7901b96ec4ab07d718d9a64e
4
+ data.tar.gz: 756406b13db572a1ec97d699e296e3c0af85bb94754eeac346e75f93aa00dad7
5
5
  SHA512:
6
- metadata.gz: feb2d382ad96e2f1bebe70386724d47e506117eb52c6bb80f74bc789a08c34d878d02551fc415d285dde9d91dbde86c3f50a471c0cb850b3daf8cbe88f84b63b
7
- data.tar.gz: 6b3c099b8f58238c9cedad927a98414b4cbb3206a588a9b920c5a40a49e6012d757887d4d4f82ea3926bde2a5d766253dd2d394f9821218cb227701ccc74de02
6
+ metadata.gz: 3a87646bde7d1008f29731dc4fed5ea12f4712d01ed44441c203338e310f4262e9cae9f7bde9df03cf66b8e1a054d2b44240905cf4a1e37403e89963a14fe78d
7
+ data.tar.gz: 8197a2112d3a149a203eb5bd15ecaaf31518f6946d52379025d43ac2c164d6829ae7f286c68c9f0e9c44f39562681d692985acf7c4db12f85cf5e686cafb30bf
data/History.md CHANGED
@@ -1,15 +1,7 @@
1
- # Release History for l_system
1
+ # Release History for lsystem
2
2
 
3
3
  ---
4
4
 
5
- ## v0.1.1 [2020-02-26] Michael Granger <ged@faeriemud.org>
6
-
7
- Improvements:
8
-
9
- - Mention kaki-lsystem in the README
10
- - Bump the dependency on rake-deveiate to build a better gem
11
-
12
-
13
5
  ## v0.1.0 [2020-02-26] Michael Granger <ged@faeriemud.org>
14
6
 
15
7
  Initial release.
data/README.md CHANGED
@@ -7,10 +7,10 @@ code
7
7
  : https://hg.sr.ht/~ged/LSystem
8
8
 
9
9
  github
10
- : https://github.com/ged/LSystem
10
+ : https://github.com/ged/lsystem
11
11
 
12
12
  docs
13
- : https://deveiate.org/code/l_system
13
+ : https://deveiate.org/code/lsystem
14
14
 
15
15
 
16
16
  ## Description
@@ -20,11 +20,6 @@ It consists of a class that allows for declaration of the L-system's grammar,
20
20
  and another class that allows for the definition of how the symbols output by a
21
21
  grammar should be translated into work.
22
22
 
23
- **Note** if you just want to draw with it, you should consider using
24
- [kaki-lsystem][] instead; it has a nice interface with drawing already
25
- integrated. This gem is intended for using l-systems for things other than
26
- drawing (though it can obviously do that too), so it requires a bit more work.
27
-
28
23
 
29
24
  ### Examples
30
25
 
@@ -181,14 +176,14 @@ This generates a sequence of images, which for generation 8 yields:
181
176
 
182
177
  ## Installation
183
178
 
184
- $ gem install l_system
179
+ $ gem install lsystem
185
180
 
186
181
 
187
182
  ## Contributing
188
183
 
189
184
  You can check out the current development source with Mercurial via its
190
185
  [project page](https://hg.sr.ht/~ged/LSystem). Or if you prefer Git, via
191
- [its Github mirror](https://github.com/ged/l_system).
186
+ [its Github mirror](https://github.com/ged/lsystem).
192
187
 
193
188
  After checking out the source, run:
194
189
 
@@ -234,5 +229,4 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
234
229
 
235
230
 
236
231
  [l-system]: https://en.wikipedia.org/wiki/L-system
237
- [kaki-lsystem]: https://rubygems.org/gems/kaki-lsystem
238
232
 
@@ -9,18 +9,18 @@ module LSystem
9
9
  extend Loggability
10
10
 
11
11
  # Package version
12
- VERSION = '0.1.1'
12
+ VERSION = '0.1.0'
13
13
 
14
14
  # Version control revision
15
15
  REVISION = %q$Revision$
16
16
 
17
17
 
18
- # Loggability API -- set up a logger for l_system
19
- log_as :l_system
18
+ # Loggability API -- set up a logger for lsystem
19
+ log_as :lsystem
20
20
 
21
21
 
22
- autoload :RulesEngine, 'l_system/rules_engine'
23
- autoload :ProductionAdapter, 'l_system/production_adapter'
22
+ autoload :RulesEngine, 'lsystem/rules_engine'
23
+ autoload :ProductionAdapter, 'lsystem/production_adapter'
24
24
 
25
25
 
26
26
  ### Declare a new L-System that is configured via the given +block+.
@@ -3,7 +3,7 @@
3
3
 
4
4
  require 'loggability'
5
5
 
6
- require 'l_system' unless defined?( LSystem )
6
+ require 'lsystem' unless defined?( LSystem )
7
7
 
8
8
 
9
9
  # An adapter that connects method calls to an LSystem::RulesEngine's
@@ -12,8 +12,8 @@ class LSystem::ProductionAdapter
12
12
  extend Loggability
13
13
 
14
14
 
15
- # Loggability API -- log to the l_system logger
16
- log_to :l_system
15
+ # Loggability API -- log to the lsystem logger
16
+ log_to :lsystem
17
17
 
18
18
 
19
19
  ### Inheritance callback -- add class-instance variables to the +subclass+.
@@ -4,7 +4,7 @@
4
4
  require 'set'
5
5
  require 'loggability'
6
6
 
7
- require 'l_system' unless defined?( LSystem )
7
+ require 'lsystem' unless defined?( LSystem )
8
8
 
9
9
 
10
10
  # An engine for iterating over successive applications of the L-System's
@@ -13,8 +13,8 @@ class LSystem::RulesEngine
13
13
  extend Loggability
14
14
 
15
15
 
16
- # Loggability API -- log to the l_system logger
17
- log_to :l_system
16
+ # Loggability API -- log to the lsystem logger
17
+ log_to :lsystem
18
18
 
19
19
 
20
20
  ### Create a new rules engine for an L-System. If the +block+ is present,
@@ -2,7 +2,7 @@
2
2
 
3
3
  require_relative '../spec_helper'
4
4
 
5
- require 'l_system/production_adapter'
5
+ require 'lsystem/production_adapter'
6
6
 
7
7
 
8
8
  RSpec.describe( LSystem::ProductionAdapter ) do
@@ -2,7 +2,7 @@
2
2
 
3
3
  require_relative '../spec_helper'
4
4
 
5
- require 'l_system/rules_engine'
5
+ require 'lsystem/rules_engine'
6
6
 
7
7
 
8
8
  RSpec.describe( LSystem::RulesEngine ) do
@@ -4,7 +4,7 @@
4
4
  require_relative 'spec_helper'
5
5
 
6
6
  require 'rspec'
7
- require 'l_system'
7
+ require 'lsystem'
8
8
 
9
9
  RSpec.describe( LSystem ) do
10
10
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: l_system
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0.pre.20200226141113
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Granger
@@ -10,9 +10,9 @@ bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIENDCCApygAwIBAgIBATANBgkqhkiG9w0BAQsFADAiMSAwHgYDVQQDDBdnZWQv
14
- REM9RmFlcmllTVVEL0RDPW9yZzAeFw0xOTEwMDkwMDM2NTdaFw0yMDEwMDgwMDM2
15
- NTdaMCIxIDAeBgNVBAMMF2dlZC9EQz1GYWVyaWVNVUQvREM9b3JnMIIBojANBgkq
13
+ MIID+DCCAmCgAwIBAgIBAjANBgkqhkiG9w0BAQsFADAiMSAwHgYDVQQDDBdnZWQv
14
+ REM9RmFlcmllTVVEL0RDPW9yZzAeFw0xOTEyMjQyMDE5NTFaFw0yMDEyMjMyMDE5
15
+ NTFaMCIxIDAeBgNVBAMMF2dlZC9EQz1GYWVyaWVNVUQvREM9b3JnMIIBojANBgkq
16
16
  hkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAvyVhkRzvlEs0fe7145BYLfN6njX9ih5H
17
17
  L60U0p0euIurpv84op9CNKF9tx+1WKwyQvQP7qFGuZxkSUuWcP/sFhDXL1lWUuIl
18
18
  M4uHbGCRmOshDrF4dgnBeOvkHr1fIhPlJm5FO+Vew8tSQmlDsosxLUx+VB7DrVFO
@@ -21,18 +21,17 @@ cert_chain:
21
21
  vQ66lts4alKC69TE5cuKasWBm+16A4aEe3XdZBRNmtOu/g81gvwA7fkJHKllJuaI
22
22
  dXzdHqq+zbGZVSQ7pRYHYomD0IiDe1DbIouFnPWmagaBnGHwXkDT2bKKP+s2v21m
23
23
  ozilJg4aar2okb/RA6VS87o+d7g6LpDDMMQjH4G9OPnJENLdhu8KnPw/ivSVvQw7
24
- N2I4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Ro+5QwaPMYN2zdHIjGrp8jg1neCo5zy6tVvyTv0DMI6FLrydVJYduMMDFSy
29
+ gQKR1rVOcCJtnBnLCF9+kKEUKohAHOmGsE7OBZFnjMIpH5yUDUVJKByv0gIipFt0
30
+ 1T6zff6oVU0w8WBiNKR381+6sF3wIZVnVY0XeJg6hNL+YecE8ILxLhHTmtT/BO0S
31
+ 3xPze9uXDR+iD6HYl8KU5QEg/dXFPhfQb512vVkTJDZvMcwu6PxDUjHFChLjAji/
32
+ AZXjg1C5E9znTkeUR8ieU9F1MOKoiH57a5lYSTI8Ga8PpsNXTxNeXc16Ob26CqrJ
33
+ 83uuAYSy65yXDGXXPVBeKPVnYrqp91pqpS5Nh7wfuiCrE8lgU8PATh7K4BV1UhAT
34
+ 0MHbAT42wTYkfUj3
36
35
  -----END CERTIFICATE-----
37
36
  date: 2020-02-26 00:00:00.000000000 Z
38
37
  dependencies:
@@ -70,16 +69,19 @@ dependencies:
70
69
  requirements:
71
70
  - - "~>"
72
71
  - !ruby/object:Gem::Version
73
- version: '0.11'
72
+ version: '0.10'
74
73
  type: :development
75
74
  prerelease: false
76
75
  version_requirements: !ruby/object:Gem::Requirement
77
76
  requirements:
78
77
  - - "~>"
79
78
  - !ruby/object:Gem::Version
80
- version: '0.11'
81
- description: A toolkit for creating and using Lindenmayer Systems (L-systems). It
82
- consists of a class that allows
79
+ version: '0.10'
80
+ description: |-
81
+ A toolkit for creating and using {Lindenmayer Systems}[https://en.wikipedia.org/wiki/L-system] (L-systems).
82
+ It consists of a class that allows for declaration of the L-system's grammar,
83
+ and another class that allows for the definition of how the symbols output by a
84
+ grammar should be translated into work.
83
85
  email:
84
86
  - ged@faeriemud.org
85
87
  executables: []
@@ -91,22 +93,17 @@ files:
91
93
  - README.md
92
94
  - Rakefile
93
95
  - examples/fern_gn7.png
94
- - lib/l_system.rb
95
- - lib/l_system/production_adapter.rb
96
- - lib/l_system/rules_engine.rb
97
- - spec/l_system/production_adapter_spec.rb
98
- - spec/l_system/rules_engine_spec.rb
99
- - spec/l_system_spec.rb
96
+ - lib/lsystem.rb
97
+ - lib/lsystem/production_adapter.rb
98
+ - lib/lsystem/rules_engine.rb
99
+ - spec/lsystem/production_adapter_spec.rb
100
+ - spec/lsystem/rules_engine_spec.rb
101
+ - spec/lsystem_spec.rb
100
102
  - spec/spec_helper.rb
101
103
  homepage: https://hg.sr.ht/~ged/LSystem
102
104
  licenses:
103
105
  - BSD-3-Clause
104
- metadata:
105
- homepage_uri: https://hg.sr.ht/~ged/LSystem
106
- documentation_uri: https://deveiate.org/code/l_system
107
- changelog_uri: https://deveiate.org/code/l_system/History_md.html
108
- source_uri: https://hg.sr.ht/~ged/LSystem
109
- bug_tracker_uri: https://todo.sr.ht/~ged/LSystem
106
+ metadata: {}
110
107
  post_install_message:
111
108
  rdoc_options: []
112
109
  require_paths:
@@ -118,12 +115,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
118
115
  version: '0'
119
116
  required_rubygems_version: !ruby/object:Gem::Requirement
120
117
  requirements:
121
- - - ">="
118
+ - - ">"
122
119
  - !ruby/object:Gem::Version
123
- version: '0'
120
+ version: 1.3.1
124
121
  requirements: []
125
122
  rubygems_version: 3.1.2
126
123
  signing_key:
127
124
  specification_version: 4
128
- summary: A toolkit for creating and using Lindenmayer Systems (L-systems).
125
+ summary: A toolkit for creating and using {Lindenmayer Systems}[https://en.wikipedia.org/wiki/L-system]
126
+ (L-systems).
129
127
  test_files: []
checksums.yaml.gz.sig DELETED
Binary file
data.tar.gz.sig DELETED
@@ -1 +0,0 @@
1
- ����ut���Qj�޵���qI�f75�5��a����9$�Q��@���1Zq���.�m�c��X'��u��N�M�^~�?]�3��
metadata.gz.sig DELETED
Binary file