samer 1.0.0 → 1.0.1

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 +5 -13
  2. data/lib/samer.rb +1 -0
  3. data/lib/samer/engine.rb +2 -0
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- ZjJhZDQ0M2VmMmZmMjMxNTMyNDQ1NjQ4MThmYzEwYTM1Y2Q5NmY3Mg==
5
- data.tar.gz: !binary |-
6
- MDJlMmJmNWQwMDFkOGRhNDg3YjQ2YjZmZDVlNzA1ZThkNzkyMDYwZQ==
2
+ SHA1:
3
+ metadata.gz: aa970d150fe36ec4c3fa8c2423ed85bcdfa286f2
4
+ data.tar.gz: dd4efeae6e03d0fed71012f1b6b54954a459a184
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- ZjEzNzllODU5ZDA4NTA2ZTVmNDc4NGM2MzYwNjM4NDc3NGNlOWU5Mjk2MTk0
10
- NTUyM2ZkMDI3ZWNhY2RmNTY5ZDFhN2NjYmRhNzcwMjY3ZWJhYjAxNWUwNTIw
11
- OWMwMDliODI1MGI2NDU1ODZmZjQ1YmJhZDgyNTg4NzMyZjljNTY=
12
- data.tar.gz: !binary |-
13
- MmUyNjE4NzI3OGQ4YjllNTAwZGQ0NzhiOWQ1ODBkMTNlYzAzMWZmZWExN2Iy
14
- OTdkOTMwZTQyODhjMjAwYzllNzhhY2UwOTQ1NDBmZjRmN2Q0NjUwZGRkOTBl
15
- ZTQyZTJhN2NhZTc3ODhmNTA3MzVhMjU2NTg2MmE2NzA3YTFkMjM=
6
+ metadata.gz: 26777816344a4b11d00656fce50ffb4b99573bc5d1250fbb70070da194bd09f57ee8483c23cf767a251f23818a5ef8eb8be813a3a15f564ff438e925399d0ddb
7
+ data.tar.gz: 8a633740c07bebe5e277f20b222643eacdf5199ac95c8eddbbd7d7d25cae16b12317770f5804a0d1f6475b2c38898b5f00ba63fce4b461aabe86e629f0663630
@@ -5,6 +5,7 @@ require 'samer/engine'
5
5
  module Samer
6
6
 
7
7
  def self.find_for name
8
+ DataProvider.new
8
9
  @engine ||= Engine.new(DataProvider.new.prepare)
9
10
  @engine.find_for name
10
11
  end
@@ -3,6 +3,8 @@
3
3
  module Samer
4
4
  class Engine
5
5
 
6
+ attr_reader :users
7
+
6
8
  def initialize users
7
9
  @users = users
8
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: samer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evgeniy Fateev
@@ -34,12 +34,12 @@ require_paths:
34
34
  - lib
35
35
  required_ruby_version: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - ! '>='
37
+ - - ">="
38
38
  - !ruby/object:Gem::Version
39
39
  version: '0'
40
40
  required_rubygems_version: !ruby/object:Gem::Requirement
41
41
  requirements:
42
- - - ! '>='
42
+ - - ">="
43
43
  - !ruby/object:Gem::Version
44
44
  version: '0'
45
45
  requirements: []