mvc_one 0.1.0.pre.rc6 → 0.1.0.pre.rc7

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: 33312c38faf0286265795d2a627cfe60701f8628d3b8d20b19a19dd5d667be45
4
- data.tar.gz: a489d6a1b46b36f68fcbb7d6bbadace5b63c120e3754893664d033d3c064759a
3
+ metadata.gz: 4f489062a168994ccfaaff6f7811bb9497d040549edcd08841a593954a4353c7
4
+ data.tar.gz: 2f4137370abacaf4a2f4b6172910998499f2a2f67a9142c0ca8e60a25d0fbe71
5
5
  SHA512:
6
- metadata.gz: 670c5fdebac075f58192d7e24d1e6fa4af1a63ce044d44b7ce85acdbc341b5d132a82b0dff1a459c5b3e5777a1621417e7baa22025242f129e17ec2c53c87cac
7
- data.tar.gz: a3e33e5a01d0133060372d604018e12eff95688c732cb1645906c621ed6a2e6a782f4484c501714028d383eaceb2052be91bc8ebda3ee519c895ee67aff881b6
6
+ metadata.gz: 6b6aac9708b613a065e14e45ba6aa20c2ce6ab9d309f4863ec8093a3ee6415af498cea36d9d30c4d9379b807d006773d94ea480bd065be118b627ba412abecc0
7
+ data.tar.gz: a5713a8153df483093fb9b19ab53f25eab5b4bc33558a700773bb368915d639f833035d712c14986a305348625034c5816bebd112cee3c44dc3a20152db0813c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mvc_one (0.1.0.pre.rc6)
4
+ mvc_one (0.1.0.pre.rc7)
5
5
  bcrypt (~> 3.1)
6
6
  dry-struct (~> 1.5)
7
7
  dry-transaction (~> 0.14)
data/exe/mvc_one CHANGED
@@ -83,13 +83,14 @@ module MvcOne
83
83
  gemfile = ERB.new(File.read(File.join(gem_path, 'templates/general/gemfile.erb')))
84
84
  File.write "#{name_normalized}/Gemfile", gemfile.result(binding)
85
85
 
86
- app_layout = ERB.new(File.read(File.join(gem_path, 'templates/app/application_layout.slim')))
86
+ app_layout = File.read(File.join(gem_path, 'templates/app/application_layout.slim'))
87
87
  File.write "#{name_normalized}/app/views/application_layout.slim", app_layout
88
88
 
89
89
  welcome_controller = ERB.new(File.read(File.join(gem_path, 'templates/app/welcome_controller_rb.erb')))
90
90
  File.write "#{name_normalized}/app/controllers/welcome_controller.rb", welcome_controller.result(binding)
91
91
 
92
- welcome_index = ERB.new(File.read(File.join(gem_path, 'templates/app/welcome_index.slim')))
92
+ Dir.mkdir("#{name_normalized}/app/views/welcome")
93
+ welcome_index = File.read(File.join(gem_path, 'templates/app/welcome_index.slim'))
93
94
  File.write "#{name_normalized}/app/views/welcome/index.slim", welcome_index
94
95
  end
95
96
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MvcOne
4
- VERSION = '0.1.0-rc6'
4
+ VERSION = '0.1.0-rc7'
5
5
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  source 'https://rubygems.org'
4
4
 
5
- gem 'mvc_one', '0.1.0.pre.rc6'
5
+ gem 'mvc_one', '0.1.0.pre.rc7'
6
6
  gem 'puma'
7
7
  gem 'rake', '~> 13.0'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mvc_one
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre.rc6
4
+ version: 0.1.0.pre.rc7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evgenii Sendziuk