lite-ruby 1.0.16 → 1.0.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/lite/ruby.rb +5 -5
- data/lib/lite/ruby/configuration.rb +14 -8
- data/lib/lite/ruby/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b4c2a37c0cc55a587d6c321baf3b4d6c26d89d51814cc8a995cca77c3061693
|
4
|
+
data.tar.gz: fbd039fae33008ab9677d84f45f81a1e1cd590f64cb7f3f634454497c4674cf7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 076e6cd76f6f24d874841c893714b949be8a0bf3af80494fb502c65ee53ea3167c028ce4edc209973b8c53c7b0b67d322934450814c5e30edc479edb0dcc64c0
|
7
|
+
data.tar.gz: b39115a037aa26c299c382f2f1f1e1800bb059a9a36200150fb7ab77b4d414acceac8b59718933245471297d6391e43e1ebc7a6c4772e21691103079195e991b
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/lib/lite/ruby.rb
CHANGED
@@ -4,11 +4,11 @@
|
|
4
4
|
require "lite/ruby/#{filename}"
|
5
5
|
end
|
6
6
|
|
7
|
-
%w[
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
7
|
+
%w[
|
8
|
+
array boolean date enumerable hash integer kernel numeric object open_struct range string
|
9
|
+
struct time
|
10
|
+
].each do |filename|
|
11
|
+
require "lite/ruby/helpers/#{filename}_helper" if %w[date time].include?(filename)
|
12
12
|
require "lite/ruby/#{filename}"
|
13
13
|
end
|
14
14
|
|
@@ -16,16 +16,22 @@ module Lite
|
|
16
16
|
|
17
17
|
end
|
18
18
|
|
19
|
-
|
20
|
-
@configuration ||= Configuration.new
|
21
|
-
end
|
19
|
+
class << self
|
22
20
|
|
23
|
-
|
24
|
-
|
25
|
-
|
21
|
+
attr_writer :configuration
|
22
|
+
|
23
|
+
def configuration
|
24
|
+
@configuration ||= Configuration.new
|
25
|
+
end
|
26
|
+
|
27
|
+
def configure
|
28
|
+
yield(configuration)
|
29
|
+
end
|
30
|
+
|
31
|
+
def reset_configuration!
|
32
|
+
@configuration = Configuration.new
|
33
|
+
end
|
26
34
|
|
27
|
-
def self.configure
|
28
|
-
yield(configuration)
|
29
35
|
end
|
30
36
|
|
31
37
|
end
|
data/lib/lite/ruby/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lite-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Gomez
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08-
|
11
|
+
date: 2019-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|