kadim 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 371d7c712488e0bd60536420e63236cfb37e7c97b90450e39a58d8f83839d327
4
- data.tar.gz: 69b09fd55aee468869ef81e198b7457feaaff206afbafef3dc9fabc0f74f8674
3
+ metadata.gz: f959d981c5d60f0c0c80e432a6f7a58a83292d26f1832b4ce258b8bda5a917df
4
+ data.tar.gz: 27b80989c051e87fb519993d303f371d5a82a22d4addbaa22860510c324077fc
5
5
  SHA512:
6
- metadata.gz: 90e882c703bafbed037d2b6f664b1e49b19ec4f132be0f98226485a56e781e40ea04318a20ab65138adc9900bd581c061af139a3cc067771cd0c6ad6dbaea6c5
7
- data.tar.gz: 2b9a1636ea547f41eb6fd76063f9dbc737790dbcc2e5b598a57270796f614b3797706fd0c1caad95e38aa8d22bb71ba151c4afdb6ba653673fb234eca599db44
6
+ metadata.gz: 44578c37c3eace77d20d647d455324a935770a9e4234e7683e5ba3b5f7baaa729f6b5d11f20636f8469c825ed4cb8e4a1868eeda52e42678e7b1057e025b6275
7
+ data.tar.gz: 57d0e0b03de119a5945125cd33156d6e7cbc343f890ba166a9b4e1d9c280cce7cffc972140384bfa1db8997023d766d29875d9a0f196175db75e60f2d73fc937
data/README.md CHANGED
@@ -63,7 +63,7 @@ Or install it yourself as:
63
63
  $ gem install kadim
64
64
  ```
65
65
 
66
- Mount the engine:
66
+ Mount the engine (add to routes.rb):
67
67
  ```ruby
68
68
  mount Kadim::Engine, at: '/kadim'
69
69
  ```
data/lib/kadim.rb CHANGED
@@ -69,7 +69,7 @@ module Kadim
69
69
 
70
70
  generator = Rails::Generators::ScaffoldControllerGenerator.new(
71
71
  [model_name, *scaffold_attributes(model_klass)],
72
- ["--force", "--quiet", "--no-test-framework", "--no-helper"],
72
+ ["--force", "--quiet", "--no-test-framework", "--no-helper", "--template-engine=erb"],
73
73
  destination_root: Rails.root.join("tmp", "kadim")
74
74
  )
75
75
  source_path_idx = generator.class.source_paths.index { |source_path| source_path.include?("jbuilder") }
data/lib/kadim/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Kadim
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kadim
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kadu Diógenes