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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 92cc3ba382cd4b0d889808d5736e20fb4212fe1fd4456ead3672919e4364c51c
4
- data.tar.gz: 6c627e12427aee4ffaab4960fb70ecace0bd711f3765d197ec26a00943c6992c
3
+ metadata.gz: d7a078c526660f0e9f16753cd5119be42f5c961c7e9c3e8091ab1c5dd225d7d9
4
+ data.tar.gz: 7b28f4aca8216b5fde11857c7927237e9b0d617ab2393595d9043483124a6706
5
5
  SHA512:
6
- metadata.gz: e6a49e48b17a26393d7e941d796d8d95f375d9b3241fe2796f694fbb90b83d0a7ecd111d811db32e8a5da0354fd50693060cf30180679a13a9eeaa57a3d0a1bb
7
- data.tar.gz: 2ce78e594d082a87bdf6388670879f955c63dd31519b0a92fa4e6aa20b66e78aa8a00c76d171ded52ae2525c07971e958b8df3b147f19054fc727a6a8f814b8f
6
+ metadata.gz: c17d6eb37c448e445be4a478d423166e9da739103bcc387490c0bb49d969961697ba25f6bc7638d6da85d03e31a8d84731571cbef165ea45a6aad5bb30b15e85
7
+ data.tar.gz: c7ebbc487683d060b13a92400e0216d0106b08d0d0324bbcce97c93decafa6d641c2b29f0d1aafff6f7507563be42d4fc0fd91ae95bdf3e0b14dbbbf86acee58
data/README.md CHANGED
@@ -40,7 +40,7 @@ app without ActiveRecord
40
40
 
41
41
  ## Add jinda to your Gemfile:
42
42
 
43
- gem 'jinda', '~> 0.6.8'
43
+ gem 'jinda', '~> 0.6.9'
44
44
 
45
45
  For Development (most updated)
46
46
 
@@ -33,7 +33,7 @@
33
33
  %div.inner
34
34
  %b Installation
35
35
  %ul
36
- %li add gem 'jinda', '0.6.7' to Gemfile then $ bundle
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
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Jinda
2
- VERSION = "0.6.8"
2
+ VERSION = "0.6.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.6.8
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