mokkku 0.0.5 → 0.0.6

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 +4 -4
  2. data/bin/mokkku +4 -0
  3. data/lib/mokkku/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9dd97441b73b6ba8795909cfc1115ff90ca6b63a16fe0a2e9ea00a3d75f44933
4
- data.tar.gz: 79041506c510a3c642c8cf0e9b0db97117df43f6b8a3e09257dcd8e6ded08721
3
+ metadata.gz: 2b88f4de6bc1e66ddbfcd4c5a71deb0c67dd5e26e70c5b1b15cc2266d7b8e542
4
+ data.tar.gz: ddbbe031b42eeafaabfb333bd341157106805b975750cee1a7071af9f481db75
5
5
  SHA512:
6
- metadata.gz: aa603c3e83ee372173558dfeabbb0969f9eb6cd45a313c447555e71961446fa97416c9a563f54bd3f810a7e5aa984881a419d01208e163a166b59dbcacf0d186
7
- data.tar.gz: 94d08b8ea75f384f78f473794a5862e614c53fa50388fee8b51bdc4283fdc869f81394e66d0873740fad795a007f119fb4231c6311d78c39c97e5848eee5a4ee
6
+ metadata.gz: 1f01c9ea4bb5305b02cf44fd8b80e9b596b2d847a5f35ee6b1583d6a345f49a1a5d575e27b59e172cb992e730f536ee5ff0afa7cf679a3057314886ad99dcc0e
7
+ data.tar.gz: a865b250cafcfd2a7729152f2f0589c084f9a226588bdd957fef141489c87d2c90e3020bb1cbe44f74aeee429a338c087a0bdef10a555d9e50656aacc95a6f37
data/bin/mokkku CHANGED
@@ -3,6 +3,7 @@
3
3
 
4
4
  require 'mokkku'
5
5
  require 'optionparser'
6
+ require 'fileutils'
6
7
 
7
8
  options = {}
8
9
 
@@ -38,6 +39,7 @@ OptionParser.new do |opts|
38
39
  end
39
40
  end.parse!
40
41
 
42
+ base_dir = Dir.pwd
41
43
  # Load Rails project
42
44
  begin
43
45
  require File.join(base_dir, 'config', 'boot')
@@ -52,4 +54,6 @@ Rails.application.eager_load! if defined?(Rails)
52
54
  # Rails 6 support
53
55
  Zeitwerk::Loader.eager_load_all if defined?(Zeitwerk)
54
56
 
57
+ FileUtils.mkdir_p(File.join(base_dir, 'spec/mocks'))
58
+
55
59
  Mokkku::Cli::Runner.start(options)
@@ -3,7 +3,7 @@ module Mokkku
3
3
  module_function
4
4
 
5
5
  def to_s
6
- '0.0.5'
6
+ '0.0.6'
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mokkku
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paweł Dąbrowski
@@ -124,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
124
124
  - !ruby/object:Gem::Version
125
125
  version: '0'
126
126
  requirements: []
127
- rubygems_version: 3.4.10
127
+ rubygems_version: 3.2.32
128
128
  signing_key:
129
129
  specification_version: 4
130
130
  summary: Generate mock data that is unique for your application