mimicheck 0.1.5 → 0.2.0.pre1

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: fc18379f90154b61ef2877662b9c7e85a84dcff5
4
- data.tar.gz: bf6f3afeb50bed448fa92ad6ae7765e2f8dbfff1
3
+ metadata.gz: 06cdfba43b6fd678e9ffad718a9dc508ddadfeb8
4
+ data.tar.gz: 1509d8a3feb2bd2476e5ef194e564f59aa0e7c8f
5
5
  SHA512:
6
- metadata.gz: ef7a6187f7b9ebbc488c3f304dd92649f58460c080f90718c66c6ff77262f5c3072742b9bb2095f762ad913128350d5b3ed7e621c090263e4ec94f898803c0b7
7
- data.tar.gz: 76fb6aefd3aceeccb3c1ec27289bb8c88daa818ff1ccd734ffed2dcbb441396d799444f24332c1fbfb618b23439ee075cc744ff9202a28a1fab8d8d9c85aed55
6
+ metadata.gz: 891ab51e8edb33cb5cbddd4cb8866ce6e9382a1016808c281f52967b503d4d67de66ec82a5c00f7c386e0a9ad63907412baca0d38b4a4f6ca4a5da429411eafe
7
+ data.tar.gz: 04271544bee6948781666641709ced5aa35e057bb9b1551c58146e1f677d26e7056fabd06efa924a03789aa3e1ecc8920deef865a1bbbe50d36d2476dc8b55b4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mimicheck (0.1.5)
4
+ mimicheck (0.1.2)
5
5
  method_source (~> 0.8)
6
6
 
7
7
  GEM
@@ -12,7 +12,7 @@ module MimiCheck
12
12
 
13
13
  def generate
14
14
  size = Int.new(size_range).generate
15
- (1..size).map { generator.call }
15
+ (1..size).map(&generator)
16
16
  end
17
17
  end
18
18
  end
@@ -3,14 +3,14 @@ module MimiCheck
3
3
  class String
4
4
  include Generator
5
5
 
6
- def initialize(range = 0..25)
6
+ def initialize(range = 25)
7
7
  @range = range
8
8
  end
9
9
  attr_reader :range
10
10
  private :range
11
11
 
12
12
  def generate
13
- Array.new(Char.new, range).call.join('')
13
+ Array.new(Char.new, range).join('')
14
14
  end
15
15
  end
16
16
  end
@@ -1,3 +1,3 @@
1
1
  module MimiCheck
2
- VERSION = '0.1.5'
2
+ VERSION = '0.2.0.pre1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mimicheck
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.2.0.pre1
5
5
  platform: ruby
6
6
  authors:
7
7
  - renan-ranelli
@@ -147,9 +147,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
147
147
  version: '0'
148
148
  required_rubygems_version: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - ">="
150
+ - - ">"
151
151
  - !ruby/object:Gem::Version
152
- version: '0'
152
+ version: 1.3.1
153
153
  requirements: []
154
154
  rubyforge_project:
155
155
  rubygems_version: 2.4.5