ditty 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +0 -0
  3. data/.pryrc +0 -0
  4. data/.rspec +0 -0
  5. data/.rubocop.yml +0 -0
  6. data/.travis.yml +0 -0
  7. data/Gemfile.ci +0 -0
  8. data/License.txt +0 -0
  9. data/Rakefile +0 -0
  10. data/Readme.md +0 -0
  11. data/config.ru +0 -0
  12. data/ditty.gemspec +0 -0
  13. data/lib/ditty/components/app.rb +0 -5
  14. data/lib/ditty/controllers/application.rb +0 -0
  15. data/lib/ditty/controllers/audit_logs.rb +0 -0
  16. data/lib/ditty/controllers/component.rb +0 -0
  17. data/lib/ditty/controllers/main.rb +0 -0
  18. data/lib/ditty/controllers/roles.rb +0 -0
  19. data/lib/ditty/controllers/users.rb +0 -0
  20. data/lib/ditty/db.rb +6 -0
  21. data/lib/ditty/helpers/authentication.rb +0 -0
  22. data/lib/ditty/helpers/component.rb +0 -0
  23. data/lib/ditty/helpers/pundit.rb +0 -0
  24. data/lib/ditty/helpers/views.rb +0 -0
  25. data/lib/ditty/helpers/wisper.rb +0 -0
  26. data/lib/ditty/listener.rb +0 -0
  27. data/lib/ditty/models/audit_log.rb +0 -0
  28. data/lib/ditty/models/base.rb +0 -0
  29. data/lib/ditty/models/identity.rb +0 -0
  30. data/lib/ditty/models/role.rb +0 -0
  31. data/lib/ditty/models/user.rb +0 -0
  32. data/lib/ditty/policies/application_policy.rb +0 -0
  33. data/lib/ditty/policies/audit_log_policy.rb +0 -0
  34. data/lib/ditty/policies/identity_policy.rb +0 -0
  35. data/lib/ditty/policies/role_policy.rb +0 -0
  36. data/lib/ditty/policies/user_policy.rb +0 -0
  37. data/lib/ditty/rake_tasks.rb +0 -0
  38. data/lib/ditty/seed.rb +0 -0
  39. data/lib/ditty/services/logger.rb +0 -0
  40. data/lib/ditty/version.rb +1 -1
  41. data/lib/ditty.rb +0 -0
  42. data/migrate/20170207_base_tables.rb +0 -0
  43. data/migrate/20170208_audit_log.rb +0 -0
  44. data/migrate/20170416_audit_log_details.rb +0 -0
  45. data/public/browserconfig.xml +0 -0
  46. data/public/images/apple-icon.png +0 -0
  47. data/public/images/favicon-16x16.png +0 -0
  48. data/public/images/favicon-32x32.png +0 -0
  49. data/public/images/launcher-icon-1x.png +0 -0
  50. data/public/images/launcher-icon-2x.png +0 -0
  51. data/public/images/launcher-icon-4x.png +0 -0
  52. data/public/images/mstile-150x150.png +0 -0
  53. data/public/images/safari-pinned-tab.svg +0 -0
  54. data/public/manifest.json +0 -0
  55. data/views/404.haml +0 -0
  56. data/views/audit_logs/index.haml +0 -0
  57. data/views/error.haml +0 -0
  58. data/views/identity/login.haml +0 -0
  59. data/views/identity/register.haml +0 -0
  60. data/views/index.haml +0 -0
  61. data/views/layout.haml +0 -1
  62. data/views/partials/delete_form.haml +0 -0
  63. data/views/partials/footer.haml +0 -0
  64. data/views/partials/form_control.haml +0 -0
  65. data/views/partials/navbar.haml +0 -0
  66. data/views/partials/notifications.haml +0 -0
  67. data/views/partials/pager.haml +0 -0
  68. data/views/partials/sidebar.haml +0 -0
  69. data/views/roles/display.haml +0 -0
  70. data/views/roles/edit.haml +0 -0
  71. data/views/roles/form.haml +0 -0
  72. data/views/roles/index.haml +0 -0
  73. data/views/roles/new.haml +0 -0
  74. data/views/users/display.haml +0 -0
  75. data/views/users/edit.haml +0 -0
  76. data/views/users/identity.haml +0 -0
  77. data/views/users/index.haml +0 -0
  78. data/views/users/new.haml +0 -0
  79. data/views/users/profile.haml +0 -0
  80. data/views/users/user.haml +0 -0
  81. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9f88c10fb42b6cc8dd793998baaaf909a4dc6c0a
4
- data.tar.gz: 5a72a520051492ee1a769cdeef56d943bbda6c55
3
+ metadata.gz: 5927a508f91c400cfa56e92e918bc39e528e9239
4
+ data.tar.gz: cd6c64af45510a51eeb1a809db67b89879064d17
5
5
  SHA512:
6
- metadata.gz: 2ba59d3510c55c01ca48b49cc1f601b2dcd2f4872670fedade8a2d0d8a8f36cc42382f05361f1cda1cd7646f2d3af71f9f105f4230bc5c9a56051e15b7a38817
7
- data.tar.gz: ae4ea9466221bd370ce5de8b1e19993804c77c16f9070ca323ece9e6f8ebe4ba578ad207ec51741115303672fcb4006d346bea9b1e5c2a3a0ec5c49dd8e24838
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
@@ -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
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
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
data/lib/ditty/seed.rb CHANGED
File without changes
File without changes
data/lib/ditty/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ditty
4
- VERSION = '0.2.0'.freeze
4
+ VERSION = '0.2.1'.freeze
5
5
  end
data/lib/ditty.rb 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
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
File without changes
data/views/error.haml CHANGED
File without changes
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
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
File without changes
data/views/roles/new.haml CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
data/views/users/new.haml CHANGED
File without changes
File without changes
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.0
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-02 00:00:00.000000000 Z
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.13
427
+ rubygems_version: 2.6.11
428
428
  signing_key:
429
429
  specification_version: 4
430
430
  summary: Sinatra Based Application Framework