chemlab 0.4.1 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/chemlab.rb +23 -11
  3. data/lib/chemlab/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f0b5037bcd95b14883e19ae66a22f4a217d7f7039f8415e5c4b3a83cbde48a4
4
- data.tar.gz: 1adda9dc72c6e0cba6d591d480400ad9814d1a48240f8f6de8a6bb1c7b400c18
3
+ metadata.gz: 00a1c588841cfdf0f8573076066f50bd4786315f4c71e5c665c8b2da6458653b
4
+ data.tar.gz: 612c4d98d9a4fe30c586993f0983843c2828fb4345cd2105c3747c5ca06de600
5
5
  SHA512:
6
- metadata.gz: 9809aa90b7ac8430e7b1e437cffb8ba29f8399f02f8444df0442fc566bfc5c2ee2e658bc9366068e794da81ac3b497b313b8ae185f0f1d470f563375946f68d6
7
- data.tar.gz: cb791af4b7fd2c0ee1befc8e0f915a075f88c516a6dae65d18c2a89921af0632866a053e677823e4a30ab2a946594eb5f93ec15fcea552726ffe2340dedf58ee
6
+ metadata.gz: 70c8e8a197a50706ca69372bdb5a24e2dc14649e9acbc93078bfbbc43a511b7afeccdfa532910c07e19791517d0d5b92eaaea1439f6f26a8a3cd0ec545047c48
7
+ data.tar.gz: 817a087756bb8ff415c68cd7feaff9443adfde8881d7c0a44e05de15840ee03220215a32554ea52163713f29c978e6583d31640e53a065942d79ad0e1547d2dc
data/lib/chemlab.rb CHANGED
@@ -2,20 +2,11 @@
2
2
 
3
3
  require 'watir'
4
4
 
5
- require 'chemlab/configuration'
6
- require 'chemlab/attributable'
7
- require 'chemlab/runtime/env'
8
- require 'chemlab/runtime/browser'
9
- require 'chemlab/element'
10
- require 'chemlab/component'
11
- require 'chemlab/page'
12
- require 'chemlab/support/api'
13
- require 'chemlab/api_fabricator'
14
- require 'chemlab/resource'
15
-
16
5
  # Chemlaboratory
17
6
  module Chemlab
18
7
 
8
+ autoload :Version, 'chemlab/version'
9
+
19
10
  # Yields the global configuration to a block.
20
11
  # @yield [Configuration] global configuration
21
12
  #
@@ -37,4 +28,25 @@ module Chemlab
37
28
  def self.configuration
38
29
  @configuration ||= Chemlab::Configuration.new
39
30
  end
31
+
32
+ autoload :Configuration, 'chemlab/configuration'
33
+ autoload :Attributable, 'chemlab/attributable'
34
+
35
+ autoload :Element, 'chemlab/element'
36
+ autoload :Component, 'chemlab/component'
37
+ autoload :Page, 'chemlab/page'
38
+
39
+ autoload :ApiFabricator, 'chemlab/api_fabricator'
40
+ autoload :Resource, 'chemlab/resource'
41
+
42
+ # Runtime modules
43
+ module Runtime
44
+ autoload :Env, 'chemlab/runtime/env'
45
+ autoload :Browser, 'chemlab/runtime/browser'
46
+ end
47
+
48
+ # Support modules
49
+ module Support
50
+ autoload :API, 'chemlab/support/api'
51
+ end
40
52
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Chemlab
4
- VERSION = '0.4.1'
4
+ VERSION = '0.5.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chemlab
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitLab Quality
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-11 00:00:00.000000000 Z
11
+ date: 2021-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: debase