anatomy 0.2.14 → 0.2.15

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: 06ab27593faedf44d492a7a29b7f9dcf120fc71f
4
- data.tar.gz: deefe51764331e088cd4be26c45de3083f9c6c82
3
+ metadata.gz: 5b6b6079c0e9d6e69e0a52c1d76f226380d9cf19
4
+ data.tar.gz: bf31018089794f2d0ae947c76ad7e409d84ff7d9
5
5
  SHA512:
6
- metadata.gz: f32050f17751b3499de58cb455a786e8322ba6974fee8b857bc312da981225f2c96be138bc93c003f33e60c1276fac8092eb67100e6a74613f144fff16b7ff61
7
- data.tar.gz: b2a446a5fc5bfd316a14b812b235f8c81175b1710eaf37cc45898b2bf73174c8f0e55b22b7943ee2cc717df09ceb0acb0bede9a268667edd7b9d47637c58febe
6
+ metadata.gz: 3562e8776f444865466bc810db7c7686af8aa31a5be508cf694153ed0f0a0907c02df50fb058558cf3ca52aac438822d779f33c17b2ecab6882c997899a809c9
7
+ data.tar.gz: f96a6ef0035a5f07eff199f776d65fe1a89cb13b7fd5d1c3d6982845954fda182878e91fda3ebaf1cfafd2b7dedb0605174a8f5b33e1594b6fab182ed518f19a
data/lib/anatomy/data.ay CHANGED
@@ -87,8 +87,8 @@ data(
87
87
  @css-additions = Set new
88
88
  @css-url-additions = Set new
89
89
 
90
- -- js files to add (array since order matters)
91
- @js-additions = []
90
+ -- js files to add (order matters; thankfully Set preserves insertion order)
91
+ @js-additions = Set new
92
92
 
93
93
  -- template to use when rendering html
94
94
  @template = nil
@@ -317,9 +317,10 @@ def(copy-all-assets(part, out)):
317
317
  sync-asset-to(a, out)
318
318
 
319
319
  def(search-js-additions):
320
- [ File expand-path("../js/jquery.js", __FILE__)
321
- File expand-path("../js/search.js", __FILE__)
322
- ]
320
+ Set new(
321
+ [ File expand-path("../js/jquery.js", __FILE__)
322
+ File expand-path("../js/search.js", __FILE__)
323
+ ])
323
324
 
324
325
  def(template-for(part, out)):
325
326
  part css-additions << File expand-path("../css/anatomy.css", __FILE__)
@@ -441,7 +442,7 @@ def(all-css-additions(p)):
441
442
  all-assets
442
443
 
443
444
  def(all-js-additions(p)):
444
- all-assets = []
445
+ all-assets = Set new
445
446
 
446
447
  p js-additions each [file]:
447
448
  all-assets << File basename(file)
@@ -1,3 +1,3 @@
1
1
  module Anatomy
2
- VERSION = "0.2.14"
2
+ VERSION = "0.2.15"
3
3
  end
metadata CHANGED
@@ -1,23 +1,23 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anatomy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.14
4
+ version: 0.2.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Suraci
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-25 00:00:00.000000000 Z
11
+ date: 2016-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: atomy
15
+ type: :runtime
15
16
  requirement: !ruby/object:Gem::Requirement
16
17
  requirements:
17
18
  - - "~>"
18
19
  - !ruby/object:Gem::Version
19
20
  version: 0.6.3
20
- type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
@@ -26,12 +26,12 @@ dependencies:
26
26
  version: 0.6.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: broomhlda
29
+ type: :runtime
29
30
  requirement: !ruby/object:Gem::Requirement
30
31
  requirements:
31
32
  - - "~>"
32
33
  - !ruby/object:Gem::Version
33
34
  version: 0.2.0
34
- type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
@@ -40,12 +40,12 @@ dependencies:
40
40
  version: 0.2.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: json_pure
43
+ type: :runtime
43
44
  requirement: !ruby/object:Gem::Requirement
44
45
  requirements:
45
46
  - - "~>"
46
47
  - !ruby/object:Gem::Version
47
48
  version: '1.8'
48
- type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
@@ -54,12 +54,12 @@ dependencies:
54
54
  version: '1.8'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
+ type: :development
57
58
  requirement: !ruby/object:Gem::Requirement
58
59
  requirements:
59
60
  - - "~>"
60
61
  - !ruby/object:Gem::Version
61
62
  version: '10.4'
62
- type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements: