factory_list 0.1.2 → 0.1.3

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: b20a9977ebf526e7385a42a8cc7f7d3606fd29c97d302a8290b50571418bb5cf
4
- data.tar.gz: 17a1c85ce0005b8ee10ece020a8b198a60c0938afe48dcf38bdc06400c64536a
3
+ metadata.gz: 2d88eb11d36e79a13372564696a8e8f4dc15388a4bd819326e2866732e381c6a
4
+ data.tar.gz: 5d308ac63d64de169ecfd862bfbee691273ed3968765d5bcd6762290c0df4777
5
5
  SHA512:
6
- metadata.gz: 9bb34e778379b946577d5af58ffe46adbf09b27963bcc0a6185b01ea76f8fbad71a1f89ec09a2eefe1a7e3ba2d8c09ddcb049b4ff3fd86daa0a4af96a58e8458
7
- data.tar.gz: 7e342b7381d8518ecbc3a3c626b0850b60050436ce680d5c8f95b719df2eb5b7e1f9f239f2e641996ab0b01a0c1581a4154d3dca1fa6eb8f51cee64b3ea00525
6
+ metadata.gz: 177d35f25359ef69411e7847d545682436caa1cc95a941669714bae79a669d6247cdd3344b2e4b736897548281dbdd92c0ab53c05fd58b39208f0f97bd71755b
7
+ data.tar.gz: 8c23500838dca09241f468fa58ac0bae3466e97bf3d02430d0deda1ddb889e6763077510a7dd2053fc1c7e4af5dd0208f2ee7e6368ff6b79d72d898b65e3988c
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- factory_list (0.1.2)
4
+ factory_list (0.1.3)
5
5
  factory_bot
6
6
 
7
7
  GEM
@@ -1,5 +1,6 @@
1
1
  require "factory_list/version"
2
2
  require 'factory_bot'
3
+ require 'ripper'
3
4
 
4
5
  module FactoryList
5
6
  class Error < StandardError; end
@@ -12,7 +13,7 @@ module FactoryList
12
13
  puts "file: #{file}"
13
14
  file_path = File.join(dir, file)
14
15
  File.open(file_path, 'r') do |f|
15
- tokens = Ripper.tokenize(f.read)
16
+ tokens = ::Ripper.tokenize(f.read)
16
17
  tokens.each_with_index do |token, i|
17
18
  if token == 'factory'
18
19
  factory = tokens[i + 3]
@@ -1,3 +1,3 @@
1
1
  module FactoryList
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: factory_list
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - rinkei