jinda 0.6.8 → 0.6.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 +4 -4
- data/README.md +1 -1
- data/app/views/jinda/index.html.haml +1 -1
- data/config/routes.rb +44 -0
- data/lib/jinda/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7a078c526660f0e9f16753cd5119be42f5c961c7e9c3e8091ab1c5dd225d7d9
|
4
|
+
data.tar.gz: 7b28f4aca8216b5fde11857c7927237e9b0d617ab2393595d9043483124a6706
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c17d6eb37c448e445be4a478d423166e9da739103bcc387490c0bb49d969961697ba25f6bc7638d6da85d03e31a8d84731571cbef165ea45a6aad5bb30b15e85
|
7
|
+
data.tar.gz: c7ebbc487683d060b13a92400e0216d0106b08d0d0324bbcce97c93decafa6d641c2b29f0d1aafff6f7507563be42d4fc0fd91ae95bdf3e0b14dbbbf86acee58
|
data/README.md
CHANGED
@@ -33,7 +33,7 @@
|
|
33
33
|
%div.inner
|
34
34
|
%b Installation
|
35
35
|
%ul
|
36
|
-
%li add gem 'jinda', '0.6.
|
36
|
+
%li add gem 'jinda', '0.6.9' to Gemfile then $ bundle
|
37
37
|
%li rails generate jinda:install, then bundle
|
38
38
|
%li rails generate jinda:config
|
39
39
|
%li rails jinda:seed, will create initial user:password admin:secret
|
data/config/routes.rb
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
Rails.application.routes.draw do
|
2
|
+
# start jiinda method routes
|
3
|
+
jinda_methods = ['pending', 'status', 'search', 'doc', 'doc_print', 'logs', 'ajax_notice']
|
4
|
+
jinda_methods += ['init', 'run', 'run_mail', 'document', 'run_do', 'run_form', 'end_form']
|
5
|
+
jinda_methods += ['run_redirect', 'run_direct_to','run_if']
|
6
|
+
jinda_methods += ['error_logs', 'notice_logs', 'cancel', 'run_output', 'end_output']
|
7
|
+
jinda_methods.each do |aktion| get "/jinda/#{aktion}" => "jinda##{aktion}" end
|
8
|
+
post '/jinda/init' => 'jinda#init'
|
9
|
+
post '/jinda/pending' => 'jinda#index'
|
10
|
+
post '/jinda/end_form' => 'jinda#end_form'
|
11
|
+
post '/jinda/end_output' => 'jinda#end_output'
|
12
|
+
# end jinda method routes
|
13
|
+
post '/auth/:provider/callback' => 'sessions#create'
|
14
|
+
get '/auth/:provider/callback' => 'sessions#create'
|
15
|
+
get '/auth/failure' => 'sessions#destroy'
|
16
|
+
get '/logout' => 'sessions#destroy', :as => 'logout'
|
17
|
+
get '/articles/my' => 'articles#my'
|
18
|
+
get '/articles/my/destroy' => 'articles#destroy'
|
19
|
+
get '/articles/show' => 'articles/show'
|
20
|
+
get '/articles/edit' => 'articles/edit'
|
21
|
+
get '/docs/my' => 'docs/my'
|
22
|
+
get '/notes/my' => 'notes/my'
|
23
|
+
get '/docs/my/destroy' => 'docs#destroy'
|
24
|
+
get '/notes/my/destroy/:id' => 'notes#destroy'
|
25
|
+
get '/notes/destroy/:id' => 'notes#destroy'
|
26
|
+
get '/jinda/document/:id' => 'jinda#document'
|
27
|
+
resources :articles do resources :comments end
|
28
|
+
resources :comments
|
29
|
+
resources :notes
|
30
|
+
resources :docs
|
31
|
+
resources :users
|
32
|
+
resources :identities
|
33
|
+
resources :sessions
|
34
|
+
resources :password_resets
|
35
|
+
resources :jinda, :only => [:index, :new]
|
36
|
+
# root :to => 'jinda#index'
|
37
|
+
# api
|
38
|
+
get '/api/v1/notes/my' => 'api/v1/notes#my'
|
39
|
+
post '/api/v1/notes' => 'api/v1/notes#create', as: 'api_v1_notes'
|
40
|
+
namespace :api do
|
41
|
+
namespace :v1 do resources :notes, :only => [:index] end
|
42
|
+
end
|
43
|
+
# For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html
|
44
|
+
end
|
data/lib/jinda/version.rb
CHANGED
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.6.
|
4
|
+
version: 0.6.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Prateep Kul
|
@@ -222,6 +222,7 @@ files:
|
|
222
222
|
- app/views/jinda/status.haml
|
223
223
|
- bin/console
|
224
224
|
- bin/setup
|
225
|
+
- config/routes.rb
|
225
226
|
- lib/generators/jinda/USAGE
|
226
227
|
- lib/generators/jinda/config_generator.rb
|
227
228
|
- lib/generators/jinda/install_generator.rb
|