ditty 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -0
- data/.pryrc +0 -0
- data/.rspec +0 -0
- data/.rubocop.yml +0 -0
- data/.travis.yml +0 -0
- data/Gemfile.ci +0 -0
- data/License.txt +0 -0
- data/Rakefile +0 -0
- data/Readme.md +0 -0
- data/config.ru +0 -0
- data/ditty.gemspec +0 -0
- data/lib/ditty/components/app.rb +0 -5
- data/lib/ditty/controllers/application.rb +0 -0
- data/lib/ditty/controllers/audit_logs.rb +0 -0
- data/lib/ditty/controllers/component.rb +0 -0
- data/lib/ditty/controllers/main.rb +0 -0
- data/lib/ditty/controllers/roles.rb +0 -0
- data/lib/ditty/controllers/users.rb +0 -0
- data/lib/ditty/db.rb +6 -0
- data/lib/ditty/helpers/authentication.rb +0 -0
- data/lib/ditty/helpers/component.rb +0 -0
- data/lib/ditty/helpers/pundit.rb +0 -0
- data/lib/ditty/helpers/views.rb +0 -0
- data/lib/ditty/helpers/wisper.rb +0 -0
- data/lib/ditty/listener.rb +0 -0
- data/lib/ditty/models/audit_log.rb +0 -0
- data/lib/ditty/models/base.rb +0 -0
- data/lib/ditty/models/identity.rb +0 -0
- data/lib/ditty/models/role.rb +0 -0
- data/lib/ditty/models/user.rb +0 -0
- data/lib/ditty/policies/application_policy.rb +0 -0
- data/lib/ditty/policies/audit_log_policy.rb +0 -0
- data/lib/ditty/policies/identity_policy.rb +0 -0
- data/lib/ditty/policies/role_policy.rb +0 -0
- data/lib/ditty/policies/user_policy.rb +0 -0
- data/lib/ditty/rake_tasks.rb +0 -0
- data/lib/ditty/seed.rb +0 -0
- data/lib/ditty/services/logger.rb +0 -0
- data/lib/ditty/version.rb +1 -1
- data/lib/ditty.rb +0 -0
- data/migrate/20170207_base_tables.rb +0 -0
- data/migrate/20170208_audit_log.rb +0 -0
- data/migrate/20170416_audit_log_details.rb +0 -0
- data/public/browserconfig.xml +0 -0
- data/public/images/apple-icon.png +0 -0
- data/public/images/favicon-16x16.png +0 -0
- data/public/images/favicon-32x32.png +0 -0
- data/public/images/launcher-icon-1x.png +0 -0
- data/public/images/launcher-icon-2x.png +0 -0
- data/public/images/launcher-icon-4x.png +0 -0
- data/public/images/mstile-150x150.png +0 -0
- data/public/images/safari-pinned-tab.svg +0 -0
- data/public/manifest.json +0 -0
- data/views/404.haml +0 -0
- data/views/audit_logs/index.haml +0 -0
- data/views/error.haml +0 -0
- data/views/identity/login.haml +0 -0
- data/views/identity/register.haml +0 -0
- data/views/index.haml +0 -0
- data/views/layout.haml +0 -1
- data/views/partials/delete_form.haml +0 -0
- data/views/partials/footer.haml +0 -0
- data/views/partials/form_control.haml +0 -0
- data/views/partials/navbar.haml +0 -0
- data/views/partials/notifications.haml +0 -0
- data/views/partials/pager.haml +0 -0
- data/views/partials/sidebar.haml +0 -0
- data/views/roles/display.haml +0 -0
- data/views/roles/edit.haml +0 -0
- data/views/roles/form.haml +0 -0
- data/views/roles/index.haml +0 -0
- data/views/roles/new.haml +0 -0
- data/views/users/display.haml +0 -0
- data/views/users/edit.haml +0 -0
- data/views/users/identity.haml +0 -0
- data/views/users/index.haml +0 -0
- data/views/users/new.haml +0 -0
- data/views/users/profile.haml +0 -0
- data/views/users/user.haml +0 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5927a508f91c400cfa56e92e918bc39e528e9239
|
4
|
+
data.tar.gz: cd6c64af45510a51eeb1a809db67b89879064d17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a224e0050344d3f2e1f8f7b2c0706de89f49aa642dfaeb999218ee871d70f11f73f4013207d71a3dcaf1561f3f13a525003c742b092abb037679a0d1cdd75729
|
7
|
+
data.tar.gz: f470a2c66fda01a16c2b67b7e058efbd858cf387f69846e8ac7ba03a6ff6ed98b115e2548b07198793ad8d56823a136aea6076a6e7539a12a4da2c6514507ba0
|
data/.gitignore
CHANGED
File without changes
|
data/.pryrc
CHANGED
File without changes
|
data/.rspec
CHANGED
File without changes
|
data/.rubocop.yml
CHANGED
File without changes
|
data/.travis.yml
CHANGED
File without changes
|
data/Gemfile.ci
CHANGED
File without changes
|
data/License.txt
CHANGED
File without changes
|
data/Rakefile
CHANGED
File without changes
|
data/Readme.md
CHANGED
File without changes
|
data/config.ru
CHANGED
File without changes
|
data/ditty.gemspec
CHANGED
File without changes
|
data/lib/ditty/components/app.rb
CHANGED
@@ -13,11 +13,6 @@ module Ditty
|
|
13
13
|
|
14
14
|
def self.configure(_container)
|
15
15
|
require 'ditty/db' unless defined? ::DB
|
16
|
-
Sequel::Model.plugin :auto_validations
|
17
|
-
Sequel::Model.plugin :update_or_create
|
18
|
-
Sequel::Model.plugin :timestamps, update_on_create: true
|
19
|
-
|
20
|
-
DB.extension(:pagination)
|
21
16
|
require 'ditty/listener'
|
22
17
|
end
|
23
18
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/ditty/db.rb
CHANGED
@@ -10,3 +10,9 @@ DB = Sequel.connect(ENV['RACK_ENV'] == 'production' ? ENV.delete('DATABASE_URL')
|
|
10
10
|
log_level = (ENV['SEQUEL_LOGGING_LEVEL'] || :debug).to_sym
|
11
11
|
DB.sql_log_level = log_level
|
12
12
|
DB.loggers << Ditty::Services::Logger.instance
|
13
|
+
|
14
|
+
Sequel::Model.plugin :validation_helpers
|
15
|
+
Sequel::Model.plugin :update_or_create
|
16
|
+
Sequel::Model.plugin :timestamps, update_on_create: true
|
17
|
+
|
18
|
+
DB.extension(:pagination)
|
File without changes
|
File without changes
|
data/lib/ditty/helpers/pundit.rb
CHANGED
File without changes
|
data/lib/ditty/helpers/views.rb
CHANGED
File without changes
|
data/lib/ditty/helpers/wisper.rb
CHANGED
File without changes
|
data/lib/ditty/listener.rb
CHANGED
File without changes
|
File without changes
|
data/lib/ditty/models/base.rb
CHANGED
File without changes
|
File without changes
|
data/lib/ditty/models/role.rb
CHANGED
File without changes
|
data/lib/ditty/models/user.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/ditty/rake_tasks.rb
CHANGED
File without changes
|
data/lib/ditty/seed.rb
CHANGED
File without changes
|
File without changes
|
data/lib/ditty/version.rb
CHANGED
data/lib/ditty.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/public/browserconfig.xml
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/public/manifest.json
CHANGED
File without changes
|
data/views/404.haml
CHANGED
File without changes
|
data/views/audit_logs/index.haml
CHANGED
File without changes
|
data/views/error.haml
CHANGED
File without changes
|
data/views/identity/login.haml
CHANGED
File without changes
|
File without changes
|
data/views/index.haml
CHANGED
File without changes
|
data/views/layout.haml
CHANGED
@@ -43,7 +43,6 @@
|
|
43
43
|
= yield
|
44
44
|
= haml :'partials/footer'
|
45
45
|
|
46
|
-
|
47
46
|
/ Placed at the end of the document so the pages load faster
|
48
47
|
%script{ type: 'text/javascript', src: 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js' }
|
49
48
|
%script{ type: 'text/javascript', src: 'https://cdnjs.cloudflare.com/ajax/libs/react/15.4.1/react.min.js' }
|
File without changes
|
data/views/partials/footer.haml
CHANGED
File without changes
|
File without changes
|
data/views/partials/navbar.haml
CHANGED
File without changes
|
File without changes
|
data/views/partials/pager.haml
CHANGED
File without changes
|
data/views/partials/sidebar.haml
CHANGED
File without changes
|
data/views/roles/display.haml
CHANGED
File without changes
|
data/views/roles/edit.haml
CHANGED
File without changes
|
data/views/roles/form.haml
CHANGED
File without changes
|
data/views/roles/index.haml
CHANGED
File without changes
|
data/views/roles/new.haml
CHANGED
File without changes
|
data/views/users/display.haml
CHANGED
File without changes
|
data/views/users/edit.haml
CHANGED
File without changes
|
data/views/users/identity.haml
CHANGED
File without changes
|
data/views/users/index.haml
CHANGED
File without changes
|
data/views/users/new.haml
CHANGED
File without changes
|
data/views/users/profile.haml
CHANGED
File without changes
|
data/views/users/user.haml
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ditty
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jurgens du Toit
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-10-
|
11
|
+
date: 2017-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -424,7 +424,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
424
424
|
version: '0'
|
425
425
|
requirements: []
|
426
426
|
rubyforge_project:
|
427
|
-
rubygems_version: 2.6.
|
427
|
+
rubygems_version: 2.6.11
|
428
428
|
signing_key:
|
429
429
|
specification_version: 4
|
430
430
|
summary: Sinatra Based Application Framework
|