atomy 0.7.0 → 0.7.1

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: c3cde8f2dfde4e4ef9b44378e3f34dad86a0bf6f
4
- data.tar.gz: c9a49d6929d7c678a51324ac73324ec5f634d59a
3
+ metadata.gz: 8d34a81a4335289010d7fcebbdaa6648a0a8e8e9
4
+ data.tar.gz: 4fa840dca7cd668b4228251ed15145c19888de25
5
5
  SHA512:
6
- metadata.gz: 9bb5963c57be61b977db39df7aac6922da343157d9e35ec2911cfeba1db9fc4f19c3425606e8363d1b95f48b9fa4d079ad4dee40a95723f2a05a5b50b06a8e58
7
- data.tar.gz: a635a73bf15dfdd26998b637bceb8f9e6bd1d71bcf4fc0ac17339230f43cec13a08cbab5f841fd81a4c7efd3ce234bc5d52c9f206c5de0e3a7ef87015f0d1da3
6
+ metadata.gz: 17731b101d2a0a72d0e143be83ce2868a9cc73e5845d716d99bfe31f0a3ccb092adf4a7c870788fbc8158991a3dbe50e3217813548b4d9b08598254c4b91fa57
7
+ data.tar.gz: 4f17d436ba1755bf68244b76529e42c00c7dd8bee39c084e3fb4c301a045d497f508c96070851c2d2e285e127b221dce4618ea4b353162f38b50f85f4f9d1ea7
@@ -81,18 +81,23 @@ module Atomy
81
81
  end
82
82
 
83
83
  def require(path)
84
- synchronized_load(path, false)
85
- end
84
+ file = find_source(path)
86
85
 
87
- def load(path)
88
- synchronized_load(path, true)
86
+ return super unless file
87
+
88
+ synchronized_load(file, false)
89
89
  end
90
90
 
91
- def synchronized_load(path, check_up_to_date)
91
+ def load(path)
92
92
  file = find_source(path)
93
+ unless file
94
+ raise LoadError, "atomy source not found: #{path}"
95
+ end
93
96
 
94
- return super unless file
97
+ synchronized_load(file, true)
98
+ end
95
99
 
100
+ def synchronized_load(file, check_up_to_date)
96
101
  wait = false
97
102
  req = nil
98
103
 
@@ -1,3 +1,3 @@
1
1
  module Atomy
2
- VERSION = "0.7.0"
2
+ VERSION = "0.7.1"
3
3
  end
metadata CHANGED
@@ -1,57 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atomy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
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-08-23 00:00:00.000000000 Z
11
+ date: 2016-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: kpeg
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '1.0'
20
14
  type: :runtime
15
+ name: kpeg
21
16
  prerelease: false
22
17
  version_requirements: !ruby/object:Gem::Requirement
23
18
  requirements:
24
19
  - - "~>"
25
20
  - !ruby/object:Gem::Version
26
21
  version: '1.0'
27
- - !ruby/object:Gem::Dependency
28
- name: rake
29
22
  requirement: !ruby/object:Gem::Requirement
30
23
  requirements:
31
24
  - - "~>"
32
25
  - !ruby/object:Gem::Version
33
- version: '10.4'
26
+ version: '1.0'
27
+ - !ruby/object:Gem::Dependency
34
28
  type: :development
29
+ name: rake
35
30
  prerelease: false
36
31
  version_requirements: !ruby/object:Gem::Requirement
37
32
  requirements:
38
33
  - - "~>"
39
34
  - !ruby/object:Gem::Version
40
35
  version: '10.4'
41
- - !ruby/object:Gem::Dependency
42
- name: rspec-its
43
36
  requirement: !ruby/object:Gem::Requirement
44
37
  requirements:
45
38
  - - "~>"
46
39
  - !ruby/object:Gem::Version
47
- version: '1.2'
40
+ version: '10.4'
41
+ - !ruby/object:Gem::Dependency
48
42
  type: :development
43
+ name: rspec-its
49
44
  prerelease: false
50
45
  version_requirements: !ruby/object:Gem::Requirement
51
46
  requirements:
52
47
  - - "~>"
53
48
  - !ruby/object:Gem::Version
54
49
  version: '1.2'
50
+ requirement: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.2'
55
55
  description: "\n A dynamic language targeting the Rubinius VM, focusing on extensibility\n
56
56
  \ and expressiveness through macros and pattern-matching.\n "
57
57
  email: suraci.alex@gmail.com
@@ -164,7 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
164
164
  version: '0'
165
165
  requirements: []
166
166
  rubyforge_project:
167
- rubygems_version: 2.5.1
167
+ rubygems_version: 2.6.6
168
168
  signing_key:
169
169
  specification_version: 4
170
170
  summary: the Atomy programming language