jinda 0.4.0 → 0.4.1

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: c493bb3f9ec9c0d77fe441c37484ea0a345cb39eb0dc196bf52e1eee46414adf
4
- data.tar.gz: 6cbaad855b865abda8351eea97336b322a0e9a9652b3a3ae8d1e8b51e6c6b89a
3
+ metadata.gz: 4cb7f6788d0aa3fad4ce0d9eaf1e009f300722759d6b0ee8b00d3b7031eb321f
4
+ data.tar.gz: 9749137e534dee5922b5d819663e1c0919c3f1c70554afa8a75cd0f289085f19
5
5
  SHA512:
6
- metadata.gz: 344e5084a67024897045c73004309f873a406dfee3e6a563779df47d432c1238abc8432f6eeae80ec3c9569cf36943be14f0bc4f00aefb72a49d6690835d6856
7
- data.tar.gz: 260da9dd4da82cccba3bbcf58b8b78a75d536c29e45d912c4def129539e98c3825b1b86058c16dc4d3210d0da44ad239438fdfbc393f78b0c4492f324d18a88f
6
+ metadata.gz: 4ab68ff5f87f44070c6ea77512ca66aa5e177c38fceae95f38d1a7db825e02acda6b1a9d5faca555c6efe0837dc5a6a153d0a505105768e9cc97d190ba9eab6c
7
+ data.tar.gz: 9fdd89eb551c389c55211e73edef1aa8318d638dbe5a7b437a10a235600975b0afe43b4df17912400481b7363fda3610c9956865e591fedf11d9cca42faf8052
data/README.md CHANGED
@@ -1,8 +1,7 @@
1
1
  # Jinda
2
2
  Rails Application Generator using Freemind
3
-
4
3
  * [jinda](https://github.com/kul1/jinda)
5
- - ![jinda-screen](https://user-images.githubusercontent.com/3953832/41832753-0143339a-7813-11e8-9ef9-c1601443c604.png)
4
+ -![Screen Shot 2019-09-07 at 1 00 03 PM](https://user-images.githubusercontent.com/3953832/64478408-f5feb500-d175-11e9-9d07-8b41f3c47924.png)
6
5
 
7
6
  ## Additional Extension themes also available at
8
7
  * [jinda_adminlte](https://github.com/kul1/jinda_adminlte)
@@ -16,7 +15,7 @@ Rails Application Generator using Freemind
16
15
  These versions works for sure but others may do.
17
16
 
18
17
  * Ruby 2.6.3
19
- * Rails 6.0.0
18
+ * Rails 6.0.1
20
19
  * MongoDB 6
21
20
  * Freemind 1.0.1
22
21
 
@@ -29,6 +28,10 @@ These versions works for sure but others may do.
29
28
 
30
29
  ## Sample Application
31
30
 
31
+ ### Sample Jinda in Docker
32
+
33
+ * https://github.com/kul1/b-255523-jd
34
+
32
35
  Supposed we want to create ecommerce web site, first create a Rails
33
36
  app without ActiveRecord
34
37
 
@@ -15,19 +15,20 @@ module Jinda
15
15
  gem 'mongoid-paperclip', require: 'mongoid_paperclip'
16
16
  gem 'meta-tags'
17
17
  gem 'jquery-turbolinks'
18
- gem 'mongo', '~> 2.5.1'
18
+ gem 'mongo', '~> 2.7.0'
19
19
  gem 'bson', '~> 4.0'
20
- gem 'mongoid', git: 'https://github.com/mongodb/mongoid.git', branch: 'master'
20
+ gem 'mongoid', '~> 6.0'
21
21
  gem 'nokogiri' # use for jinda/doc
22
- gem 'haml', git: 'https://github.com/haml/haml'
23
- gem 'haml-rails'
22
+ gem 'haml', '~> 5.1', '>= 5.1.2'
23
+ gem 'haml-rails', '~> 1.0'
24
24
  gem 'mail'
25
25
  gem 'prawn'
26
26
  gem 'redcarpet'
27
27
  gem 'bcrypt'
28
- gem 'omniauth-identity'
29
- gem 'omniauth-facebook'
30
- gem 'omniauth-google-oauth2'
28
+ gem 'omniauth', '1.8.1'
29
+ gem 'omniauth-identity', '1.1.1'
30
+ gem 'omniauth-facebook', '5.0.0'
31
+ gem 'omniauth-google-oauth2', '0.5.3'
31
32
  gem 'omniauth-rails_csrf_protection'
32
33
  gem 'dotenv-rails'
33
34
  gem 'cloudinary'
@@ -72,9 +73,9 @@ module Jinda
72
73
  #
73
74
  # CHECK IF EXISTING CODE THEN REQUIRED MANUAL MIGRATION
74
75
  # If no javascripts.js or css (New application), then can use javascript.js or css from org files.
75
- inside("app/assets/javascripts") {(File.file? "application.js") ? ( say "Please include application-org.js in application.js", :red) : (FileUtils.mv 'application-org.js', 'application.js')}
76
- inside("app/assets/stylesheets") {(File.file? "application.css") ? ( say "Please include application-org.css in application.css", :red) : (FileUtils.mv 'application-org.css', 'application.css')}
77
- inside("app/assets/stylesheets") {(File.file? "application.css.scss") ? ( say "Please include application-org.css.scss in application.css.scss", :red) : (FileUtils.mv 'application-org.css.scss', 'application.css.scss')}
76
+ # inside("app/assets/javascripts") {(File.file? "application.js") ? ( say "Please include application-org.js in application.js", :red) : (FileUtils.mv 'application-org.js', 'application.js')}
77
+ # inside("app/assets/stylesheets") {(File.file? "application.css") ? ( say "Please include application-org.css in application.css", :red) : (FileUtils.mv 'application-org.css', 'application.css')}
78
+ # inside("app/assets/stylesheets") {(File.file? "application.css.scss") ? ( say "Please include application-org.css.scss in application.css.scss", :red) : (FileUtils.mv 'application-org.css.scss', 'application.css.scss')}
78
79
  inside("app/controllers") {(File.file? "application_controller.rb") ? ( say "Pleas merge existing jinda_org/application_controller.rb after this installation", :red) : (FileUtils.mv 'jinda_org/application_controller.rb', 'application_controller.rb')}
79
80
  inside("app/controllers") {(File.file? "admins_controller.rb") ? ( say "Please merge existing jinda_org/admins_controller.rb after this installation", :red) : (FileUtils.mv 'jinda_org/admins_controller.rb', 'admins_controller.rb')}
80
81
  inside("app/controllers") {(File.file? "articles_controller.rb") ? ( say "Please merge existing jinda_org/articles_controller.rb after this installation", :red) : (FileUtils.mv 'jinda_org/articles_controller.rb', 'articles_controller.rb')}
@@ -0,0 +1,4 @@
1
+ //= link_tree ../images
2
+ //= link_directory ../stylesheets .css
3
+ //= link application.js
4
+
@@ -19,6 +19,6 @@
19
19
  //= require iscroll
20
20
  //= require jinda
21
21
  // require turbolinks
22
- //= require disable_enter_key.js
22
+ // require disable_enter_key.js
23
23
 
24
24
 
@@ -8,8 +8,8 @@
8
8
  * You're free to add application-wide styles to this file and they'll appear at the top of the
9
9
  * compiled file, but it's generally better to create a new file per style scope.
10
10
  *
11
- * require_tree .
12
- * require_self
11
+ *= require_tree .
12
+ *= require_self
13
13
  *= require normalize-rails
14
14
  */
15
15
 
@@ -14,7 +14,7 @@
14
14
  %h2 Recently tested with:
15
15
  %ul
16
16
  %li Rubygems 2.6.3
17
- %li Rails 6.0.0
17
+ %li Rails 6.0.1
18
18
  %li rails new YOURAPP --skip-test-unit --skip-bundle --skip-active-record --skip-javascript --skip-turbolinks
19
19
  %li (rails new YOURAPP -BOTJ)
20
20
 
@@ -1,3 +1,3 @@
1
1
  module Jinda
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
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.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Prateep Kul
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2019-09-07 00:00:00.000000000 Z
12
+ date: 2019-12-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -97,6 +97,7 @@ files:
97
97
  - lib/generators/jinda/minitest_generator.rb
98
98
  - lib/generators/jinda/rspec_generator.rb
99
99
  - lib/generators/jinda/templates/README.md
100
+ - lib/generators/jinda/templates/app/assets/config/manifest.js
100
101
  - lib/generators/jinda/templates/app/assets/images/4dcity-old.ico
101
102
  - lib/generators/jinda/templates/app/assets/images/4dcity.ico
102
103
  - lib/generators/jinda/templates/app/assets/images/account.png
@@ -153,10 +154,10 @@ files:
153
154
  - lib/generators/jinda/templates/app/assets/images/user.png
154
155
  - lib/generators/jinda/templates/app/assets/images/user_admin_gear.png
155
156
  - lib/generators/jinda/templates/app/assets/images/view_code.png
156
- - lib/generators/jinda/templates/app/assets/javascripts/application-org.js
157
+ - lib/generators/jinda/templates/app/assets/javascripts/application.js
157
158
  - lib/generators/jinda/templates/app/assets/javascripts/application.js-jqm
158
159
  - lib/generators/jinda/templates/app/assets/javascripts/cable.js
159
- - lib/generators/jinda/templates/app/assets/javascripts/disable_enter_key.js
160
+ - lib/generators/jinda/templates/app/assets/javascripts/disable_enter_key.js-org
160
161
  - lib/generators/jinda/templates/app/assets/javascripts/iscroll-wrapper.js
161
162
  - lib/generators/jinda/templates/app/assets/javascripts/iscroll.js
162
163
  - lib/generators/jinda/templates/app/assets/javascripts/jinda.js
@@ -164,8 +165,7 @@ files:
164
165
  - lib/generators/jinda/templates/app/assets/javascripts/jquery.mobile.datebox.js
165
166
  - lib/generators/jinda/templates/app/assets/javascripts/jquery.mobile.splitview.js
166
167
  - lib/generators/jinda/templates/app/assets/stylesheets/app.scss
167
- - lib/generators/jinda/templates/app/assets/stylesheets/application-org.css
168
- - lib/generators/jinda/templates/app/assets/stylesheets/application-org.css.scss
168
+ - lib/generators/jinda/templates/app/assets/stylesheets/application.css
169
169
  - lib/generators/jinda/templates/app/assets/stylesheets/articles.scss
170
170
  - lib/generators/jinda/templates/app/assets/stylesheets/fonts/sarabun.eot
171
171
  - lib/generators/jinda/templates/app/assets/stylesheets/fonts/sarabun.ttf
@@ -1,15 +0,0 @@
1
- /*
2
- * This is a manifest file that'll be compiled into application.css, which will include all the files
3
- * listed below.
4
- *
5
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
6
- * vendor/assets/stylesheets directory can be referenced here using a relative path.
7
- *
8
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9
- * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
10
- * files in this directory. Styles in this file should be added after the last require_* statement.
11
- * It is generally better to create a new file per style scope.
12
- *
13
- *= require_tree .
14
- *= require_self
15
- */