reactivator 0.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: b08a7e8e38de15693335ce7e77b7ceb10d06085e705a283a11398f8b9c278176
4
+ data.tar.gz: 27b2af3d3304fcbd3470306601585d7f6fb3f5bb32fff7536d3b9662976f769c
5
+ SHA512:
6
+ metadata.gz: bf90f0e4f90ebf7591a5e8eb84338745865ca611bfd006e2508fb558f7c0298b0e65277baab4be3d833364acd4d5d903b57a4656cd8aa137ced226d60721bb73
7
+ data.tar.gz: 1504070783b3a381bc167f5222af926365d88c2b8b63b1daf5b728d1bf70273f9e31e71393c5f8aea475da8af8c26cb08bae942696dcb492b664166210833c5c
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,4 @@
1
+ # Reactivator
2
+ Reac.js in Rails Application Generator using Freemind
3
+
4
+ ## This project is under development.
@@ -0,0 +1,3 @@
1
+ task :console do
2
+ exec 'irb -r jinda -I ./lib'
3
+ end
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "reactivator"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,33 @@
1
+ require 'jinda'
2
+ require 'jinda/helpers'
3
+ include Jinda::Helpers
4
+
5
+ @btext= "# jinda begin"
6
+ @etext= "# jinda end"
7
+
8
+ namespace :jinda do
9
+ desc "generate models from mm"
10
+ task :update=> :environment do
11
+ @app= get_app
12
+ process_models
13
+ process_controllers
14
+ gen_views
15
+ end
16
+
17
+ desc "generate admin user"
18
+ task :seed=> :environment do
19
+ unless Identity.where(code:"admin").exists?
20
+ identity= Identity.create :code => "admin", :email => "admin@test.com", :password => "secret",
21
+ :password_confirmation => "secret", :image => "https://user-images.githubusercontent.com/3953832/42472827-50ed8cbc-8388-11e8-8982-fa523c25288f.png"
22
+ Jinda::User.create :provider => "identity", :uid => identity.id.to_s, :code => identity.code,
23
+ :email => identity.email, :role => "M,A,D", :auth_token => "71JxMH5fxi23zinBoq1uKA", :image => identity.image
24
+ end
25
+ end
26
+
27
+ desc "cancel all pending tasks"
28
+ task :cancel=> :environment do
29
+ Jinda::Xmain.update_all "status='X'", "status='I' or status='R'"
30
+ end
31
+ end
32
+
33
+
metadata ADDED
@@ -0,0 +1,49 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: reactivator
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Prateep Kul
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2019-09-06 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Generate React for Rails from Freemind
14
+ email:
15
+ - 1.0@kul.asia
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - LICENSE.txt
21
+ - README.md
22
+ - Rakefile
23
+ - bin/console
24
+ - bin/setup
25
+ - lib/tasks/jinda.rake
26
+ homepage: https://github.com/kul1/reactivator
27
+ licenses:
28
+ - MIT
29
+ metadata: {}
30
+ post_install_message:
31
+ rdoc_options: []
32
+ require_paths:
33
+ - lib
34
+ required_ruby_version: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - ">="
37
+ - !ruby/object:Gem::Version
38
+ version: '0'
39
+ required_rubygems_version: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ requirements: []
45
+ rubygems_version: 3.0.4
46
+ signing_key:
47
+ specification_version: 4
48
+ summary: React.js generator for rails using Freemind
49
+ test_files: []