jinda 0.0.8 → 0.0.9

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: dd06cbbc91ee08fb3b64ecce04a2d23ef39e13be33a9f6d29ca4df6a39617d4d
4
- data.tar.gz: 5608f297c373db25a7839327e6e2723ed13a3bbd29639e89ee417684b3dac0e4
3
+ metadata.gz: 49a542a4b42edb5b694e19591f65d03a0534e8e1b099c1b2986118169d0cc899
4
+ data.tar.gz: 0251516b7f6ec7848b5f30dc9421f8dfdea26a535cc8862605f78dee401f5b86
5
5
  SHA512:
6
- metadata.gz: 72f14fa2b4a27936a2b6207baf903a38f4672bcba068d94145b73b49f0ecf18f5338cca294ddb21138fef51026459a8081a30f1ab229909c4c4c19cc577c5592
7
- data.tar.gz: f3b70ed25fbbdd58a0b88b09d071504d867ccfcf2a5bcdace656405a0bf4a1ab81c40ead66f913c05bae018884b4e3b2c34631b144629d5e7cbbd755daf3545b
6
+ metadata.gz: d83d6b9ef027602101ca5463778ed0f23950e6656c94d48560a239005e95aad04562acece29f764e46c3137b20e3b47f57d767d8e3404af67d4a24d13e6109bd
7
+ data.tar.gz: 9f9ee4620cb790abcaf4344d36289fdea2d5f1b6745fd7146a427f16ee457b25d4cee427fba702f62ccef6d5992d5993e6abc080c19559f07e260ae0c7dafae4
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Jinda
2
2
  Rails Application Generator using Freemind
3
3
 
4
- *[jinda](https://github.com/kul1/jinda)
4
+ * [jinda](https://github.com/kul1/jinda)
5
5
  - ![jinda-screen](https://user-images.githubusercontent.com/3953832/34320849-f33deb68-e7c7-11e7-8f0b-22f9b1420b93.png)
6
6
 
7
7
  ## Additional Extension themes also available at
@@ -1,7 +1,9 @@
1
1
  module Jinda
2
2
  module Generators
3
3
  class ConfigGenerator < Rails::Generators::Base
4
-
4
+ def self.source_root
5
+ File.dirname(__FILE__) + "/templates"
6
+ end
5
7
  desc "Backup Files"
6
8
  def backup_files
7
9
  st=" "
@@ -10,6 +12,12 @@ module Jinda
10
12
  inside("config/initializes") {(File.file? "ckeditor.rb") ? (mv ckeditor.rb ckeditor.rb.bak) : (puts "new ckeditor.rb created")}
11
13
  end
12
14
 
15
+ desc "gen_image_store"
16
+ def gen_image_store
17
+ copy_file "cloudinary.yml","config/cloudinary.yml"
18
+ copy_file ".env",".env"
19
+ empty_directory "upload" # create upload directory just in case
20
+ end
13
21
  desc "Set up omniauth config"
14
22
  def setup_omniauth
15
23
  # gem 'bcrypt-ruby', '~> 3.0.0'
@@ -146,16 +146,14 @@ Mongoid::Config.belongs_to_required_by_default = false
146
146
  def gen_user
147
147
  # copy_file "seeds.rb","db/seeds.rb"
148
148
  end
149
- def gen_image_store
150
- copy_file "cloudinary.yml","config/cloudinary.yml"
151
- copy_file ".env",".env"
152
- empty_directory "upload" # create upload directory just in case
153
- end
149
+
154
150
  def finish
155
- puts "Jinda gem ready for next configuration installation. please run the following command:\n"
151
+ puts "\n"
152
+ puts "Jinda gem ready for next configuration install.\n"
153
+ puts "Please run the following command:\n"
156
154
  puts "----------------------------------------\n"
157
155
  puts "bundle install\n"
158
- puts "rake generate jinda:config\n"
156
+ puts "rails generate jinda:config\n"
159
157
  puts "rake jinda:seed\n"
160
158
  puts "----------------------------------------\n"
161
159
  end
@@ -1,3 +1,3 @@
1
1
  module Jinda
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jinda
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Prateep Kul