lavatar 0.1.1 → 0.1.2

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: 342ec9ece4670221a495190cd4544daed7673032d9306c99197626abad46f85d
4
- data.tar.gz: 44b5eb1f1decef58f7fd0ed3ff4f734efe4e281a398ac468d7ed94341d2946a0
3
+ metadata.gz: 1700061898d20504bc80a119b2bc43f184119c65c2e3fd61e65379b4f75971a3
4
+ data.tar.gz: d5726f8e11eec8d71a4b8db21cc995925ce3db161105413b7d6aeb341746f89e
5
5
  SHA512:
6
- metadata.gz: 2797ea626ed7a73ab28e4015ca207a7d2dea373cc1d62ffb82c646f39617a2448e06a23d7606c3aa10e7cfd1f051e597e996055174c7226b45d383c3811fbb89
7
- data.tar.gz: 7dbe9d975e985d0555d80b2a1a0a31a939dac67528fecbaa93708bb311a398b90dd5c35a32d17a3547e45be0b6328e1a53e0afc2d1b4b47ebe4c0d6962aae86b
6
+ metadata.gz: '0834d822b884e8aef640753a43aceec77a885f49ad8e157ad3d1e86039ce36bd2199c8632ab4e2cfe8e7d372ed152063f118f565f19a27a4648726acfcb8e9a6'
7
+ data.tar.gz: e6883322de55faac5d9ade9039013972441ba0a5f00d3b5612cfcdc1f35b0037d6a179950812f2a84411ac629a0867f116494e878794db189d269140ab105e57
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
12
12
  spec.homepage = "https://github.com/jkostolansky/lavatar"
13
13
  spec.license = "MIT"
14
14
 
15
- spec.files = Dir["README.md", "LICENSE.txt", "lavatar.gemspec", "lib/lavatar/*.rb"]
15
+ spec.files = Dir["README.md", "LICENSE.txt", "lavatar.gemspec", "lib/**/*.rb"]
16
16
  spec.require_path = "lib"
17
17
 
18
18
  spec.required_ruby_version = ">= 2.3.0"
@@ -0,0 +1,17 @@
1
+ require "lavatar/version"
2
+ require "lavatar/configuration"
3
+ require "lavatar/helpers"
4
+
5
+ module Lavatar
6
+ def self.configuration
7
+ @configuration ||= Configuration.new
8
+ end
9
+
10
+ def self.configure
11
+ yield(configuration)
12
+ end
13
+ end
14
+
15
+ ActiveSupport.on_load :action_view do
16
+ include Lavatar::Helpers
17
+ end
@@ -1,3 +1,3 @@
1
1
  module Lavatar
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lavatar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juraj Kostolansky
@@ -34,6 +34,7 @@ files:
34
34
  - LICENSE.txt
35
35
  - README.md
36
36
  - lavatar.gemspec
37
+ - lib/lavatar.rb
37
38
  - lib/lavatar/configuration.rb
38
39
  - lib/lavatar/helpers.rb
39
40
  - lib/lavatar/version.rb