decko 0.10.0 → 0.11.0

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.
Files changed (97) hide show
  1. checksums.yaml +4 -4
  2. data/lib/decko.rb +0 -15
  3. data/lib/decko/application.rb +1 -6
  4. data/lib/decko/commands/application.rb +2 -2
  5. data/lib/decko/commands/cucumber_command.rb +4 -7
  6. data/lib/decko/commands/rspec_command.rb +4 -6
  7. data/lib/decko/commands/rspec_command/parser.rb +1 -1
  8. data/lib/decko/config/environments/cypress.rb +0 -2
  9. data/lib/decko/config/environments/development.rb +9 -18
  10. data/lib/decko/config/environments/test.rb +0 -7
  11. data/lib/decko/engine.rb +0 -1
  12. data/lib/decko/generators/{decko → deck}/USAGE +0 -0
  13. data/lib/decko/generators/deck/deck_generator.rb +132 -0
  14. data/lib/decko/generators/deck/deck_generator/deck_helper.rb +110 -0
  15. data/lib/decko/generators/deck/deck_generator/interactive.rb +120 -0
  16. data/lib/decko/generators/deck/deck_generator/rails_overrides.rb +54 -0
  17. data/lib/decko/generators/deck/templates/Gemfile.erb +56 -0
  18. data/lib/decko/generators/{decko/templates/Rakefile → deck/templates/Rakefile.erb} +0 -0
  19. data/lib/decko/generators/{decko/templates/bin/spring → deck/templates/bin/spring.erb} +3 -1
  20. data/lib/decko/generators/{decko/templates/config.ru → deck/templates/config.ru.erb} +0 -0
  21. data/lib/decko/generators/{decko/templates/config/application.rb → deck/templates/config/application.rb.erb} +38 -17
  22. data/lib/decko/generators/{decko/templates/config/boot.rb → deck/templates/config/boot.rb.erb} +1 -5
  23. data/lib/decko/generators/deck/templates/config/cucumber.yml +1 -0
  24. data/lib/decko/generators/{decko → deck}/templates/config/databases/frontbase.yml +0 -0
  25. data/lib/decko/generators/{decko → deck}/templates/config/databases/ibm_db.yml +0 -0
  26. data/lib/decko/generators/{decko → deck}/templates/config/databases/jdbc.yml +0 -0
  27. data/lib/decko/generators/{decko → deck}/templates/config/databases/jdbcmysql.yml +0 -0
  28. data/lib/decko/generators/{decko → deck}/templates/config/databases/jdbcpostgresql.yml +0 -0
  29. data/lib/decko/generators/{decko → deck}/templates/config/databases/jdbcsqlite3.yml +0 -0
  30. data/lib/decko/generators/{decko → deck}/templates/config/databases/mysql.yml +0 -0
  31. data/lib/decko/generators/{decko → deck}/templates/config/databases/oracle.yml +0 -0
  32. data/lib/decko/generators/{decko → deck}/templates/config/databases/postgresql.yml +0 -0
  33. data/lib/decko/generators/{decko → deck}/templates/config/databases/sqlite3.yml +0 -0
  34. data/lib/decko/generators/{decko → deck}/templates/config/deck.yml +0 -0
  35. data/lib/decko/generators/{decko/templates/config/environment.rb → deck/templates/config/environment.rb.erb} +2 -2
  36. data/lib/decko/generators/{decko/templates/config/initializers/cypress_on_rails.rb → deck/templates/config/initializers/cypress.rb} +2 -0
  37. data/lib/decko/generators/{decko → deck}/templates/config/puma.rb +5 -5
  38. data/lib/decko/generators/{decko/templates/config/routes.erb → deck/templates/config/routes.rb.erb} +1 -1
  39. data/lib/decko/generators/{decko → deck}/templates/gitignore +0 -0
  40. data/lib/decko/generators/deck/templates/pryrc +6 -0
  41. data/lib/decko/generators/{decko → deck}/templates/public/files/htaccess +0 -0
  42. data/lib/decko/generators/{decko → deck}/templates/public/robots.txt +2 -1
  43. data/lib/decko/generators/deck/templates/rspec.erb +6 -0
  44. data/lib/decko/generators/{decko → deck}/templates/script/decko +2 -1
  45. data/lib/decko/generators/deck/templates/script/decko_cucumber +8 -0
  46. data/lib/decko/generators/deck/templates/script/decko_rspec +8 -0
  47. data/lib/decko/generators/{decko/templates/bin → deck/templates/script}/delayed_job +1 -1
  48. data/lib/decko/generators/deck/templates/simplecov.rb.erb +34 -0
  49. data/lib/decko/generators/{decko/templates/spec/javascripts/support/deck_jasmine.yml → deck/templates/spec/javascripts/support/deck_jasmine.yml.erb} +1 -1
  50. data/lib/decko/generators/{decko/templates/spec/javascripts/support/decko_jasmine.yml → deck/templates/spec/javascripts/support/decko_jasmine.yml.erb} +3 -3
  51. data/lib/decko/generators/{decko → deck}/templates/spec/spec_helper.rb +0 -0
  52. data/lib/decko/mods_spec_helper.rb +3 -4
  53. data/lib/decko/response.rb +1 -0
  54. data/lib/decko/tasks/decko.rake +1 -30
  55. data/lib/decko/tasks/decko/docs.rake +26 -0
  56. data/lib/decko/tasks/decko/tmpsets.rake +25 -0
  57. metadata +61 -76
  58. data/GPL +0 -331
  59. data/LICENSE +0 -16
  60. data/README.rdoc +0 -151
  61. data/app/assets/images/body-bg.bmp +0 -0
  62. data/app/assets/images/body-bg.png +0 -0
  63. data/app/assets/images/external_link.png +0 -0
  64. data/app/assets/images/smoothness/animated-overlay.gif +0 -0
  65. data/app/assets/images/smoothness/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  66. data/app/assets/images/smoothness/ui-bg_flat_75_ffffff_40x100.png +0 -0
  67. data/app/assets/images/smoothness/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  68. data/app/assets/images/smoothness/ui-bg_glass_65_ffffff_1x400.png +0 -0
  69. data/app/assets/images/smoothness/ui-bg_glass_75_dadada_1x400.png +0 -0
  70. data/app/assets/images/smoothness/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  71. data/app/assets/images/smoothness/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  72. data/app/assets/images/smoothness/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  73. data/app/assets/images/smoothness/ui-icons_222222_256x240.png +0 -0
  74. data/app/assets/images/smoothness/ui-icons_2e83ff_256x240.png +0 -0
  75. data/app/assets/images/smoothness/ui-icons_454545_256x240.png +0 -0
  76. data/app/assets/images/smoothness/ui-icons_888888_256x240.png +0 -0
  77. data/app/assets/images/smoothness/ui-icons_cd0a0a_256x240.png +0 -0
  78. data/lib/decko/generators/decko/decko_generator.rb +0 -263
  79. data/lib/decko/generators/decko/decko_generator/interactive.rb +0 -114
  80. data/lib/decko/generators/decko/templates/Gemfile +0 -126
  81. data/lib/decko/generators/decko/templates/config/cucumber.yml +0 -1
  82. data/lib/decko/generators/decko/templates/config/initializers/cypress_dev.rb +0 -10
  83. data/lib/decko/generators/decko/templates/rspec +0 -5
  84. data/lib/decko/generators/decko/templates/simplecov +0 -5
  85. data/rails/application-routes.rb +0 -3
  86. data/rails/assets/external_link.png +0 -0
  87. data/rails/assets/jasmine/404.html +0 -27
  88. data/rails/assets/jasmine/500.html +0 -28
  89. data/rails/assets/jasmine/card_form.html +0 -13
  90. data/rails/assets/jquery.min.map +0 -1
  91. data/rails/controllers/application_controller.rb +0 -2
  92. data/rails/controllers/card_controller.rb +0 -151
  93. data/rails/engine-routes.rb +0 -53
  94. data/script/autospec +0 -4
  95. data/script/decko +0 -6
  96. data/script/rails +0 -6
  97. data/script/test_filter +0 -25
@@ -0,0 +1,6 @@
1
+ --color
2
+ --profile
3
+ --backtrace
4
+ \\--format documentation
5
+ --default-path '<%= File.expand_path spec_path %>'
6
+ --require '<%= File.expand_path spec_helper_path %>'
@@ -1,4 +1,5 @@
1
- # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
1
+
2
+ # This command will be run when you use `decko` from within your deck.
2
3
 
3
4
  APP_PATH = File.expand_path('../../config/application', __FILE__)
4
5
  require File.expand_path('../../config/boot', __FILE__)
@@ -0,0 +1,8 @@
1
+
2
+ # used to run cucumber in RubyMine
3
+
4
+ ENV["RAILS_ENV"] = "cucumber"
5
+ ENV["RAILS_ROOT"] = "."
6
+ BUNDLE_GEMFILE = File.expand_path "../../Gemfile", __FILE__
7
+ ARGV.insert 0, "cucumber", "--"
8
+ load File.expand_path("../decko", __FILE__)
@@ -0,0 +1,8 @@
1
+
2
+ # used to run rspec in RubyMine
3
+
4
+ ENV["RAILS_ENV"] = "test"
5
+ ENV["RAILS_ROOT"] = "."
6
+ BUNDLE_GEMFILE = File.expand_path "../../Gemfile", __FILE__
7
+ ARGV.insert 0, "rspec", "--no-simplecov", "--"
8
+ load File.expand_path("../decko", __FILE__)
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env ruby
1
+
2
2
  ENV["RAILS_ENV"] ||= "production"
3
3
  require File.expand_path(File.join(File.dirname(__FILE__), "..", "config", "environment"))
4
4
  require "delayed/command"
@@ -0,0 +1,34 @@
1
+
2
+ if ENV["<%= 'REPO_' if platypus? %>TMPSETS"] && ENV["COVERAGE"] != "false"
3
+ SimpleCov.start do
4
+ def add_mod_group modname
5
+ mod_dir = /(card-mod-)?#{Regexp.escape modname}/
6
+ add_group "Mod: #{modname}", %r{(^|card-mod-|mod/|/tmp.*/.*/mod\d{3}-)#{mod_dir}}
7
+ end
8
+ <% if platypus? %>
9
+ root "<%= expanded_repo_path %>"
10
+
11
+ add_filter "/generators/"
12
+ add_filter "_spec_helper"
13
+ add_filter "test_seed"
14
+
15
+ add_group "Card", "card/"
16
+ add_group "Cardname", "cardname"
17
+ add_group "Decko", "decko"
18
+
19
+ Dir["#{root}/{card/mod/*,card-mod-*}"].each do |path|
20
+ match = path.match %r{/card[-/]mod[-/](?<modname>.*)$}
21
+ add_mod_group match[:modname]
22
+ end
23
+ <% else %>
24
+ Dir["mod/*"].each do |path|
25
+ modname = path.gsub "mod/", ""
26
+ add_mod_group modname
27
+ end
28
+ <% end %>
29
+ add_filter "/spec/"
30
+ add_filter "/features/"
31
+ add_filter "/config/"
32
+ add_filter "/tasks/"
33
+ end
34
+ end
@@ -28,7 +28,7 @@ css_files:
28
28
  # - "**/*.{css,scss}"
29
29
  # THIS IS IMPORTANT!!
30
30
  include_dir: "mod"
31
- #- <%= @cardio_gem_root+"/mod/machines/lib/javascript" %>
31
+ #- <%= cardio_gem_root%>/card-mod-script/lib/javascript
32
32
  # path to parent directory of spec_files
33
33
  # relative path from Rails.root
34
34
  #
@@ -2,7 +2,7 @@
2
2
  # relative path from Rails.root
3
3
  # defaults to app/assets/javascripts
4
4
  # useless for decko file structure
5
- src_dir: <%= @cardio_gem_root %>/mod/machines/lib/javascript
5
+ src_dir: <%= cardio_gem_root %>/card-mod-script/lib/javascript
6
6
  #"app/assets/javascripts"
7
7
 
8
8
  # path to additional directory of source file that are not part of assets pipeline and need to be included
@@ -15,7 +15,7 @@ src_dir: <%= @cardio_gem_root %>/mod/machines/lib/javascript
15
15
  # relative path from Rails.root
16
16
  # defaults to app/assets/stylesheets
17
17
  # useless for decko file structure
18
- css_dir: <%= @cardio_gem_root %>/mod/machines/lib/stylesheets
18
+ css_dir: <%= cardio_gem_root %>/card-mod-style/lib/stylesheets
19
19
 
20
20
  # list of file expressions to include as source files
21
21
  # relative path from src_dir
@@ -46,7 +46,7 @@ css_files:
46
46
  # - "**/*.{css,scss}"
47
47
  # THIS IS IMPORTANT!!!
48
48
  include_dir:
49
- - <%= @cardio_gem_root %>/mod/machines/lib/javascript
49
+ - <%= cardio_gem_root %>/card-mod-script/lib/javascript
50
50
  # path to parent directory of spec_files
51
51
  # relative path from Rails.root
52
52
  #
@@ -1,9 +1,8 @@
1
1
  # -*- encoding : utf-8 -*-
2
- # require 'codeclimate-test-reporter'
3
- # CodeClimate::TestReporter.start
4
2
 
5
- require "decko" # only for card_gem_root
6
- require File.join Decko.card_gem_root, "spec/support/card_spec_loader.rb"
3
+ require "cardio" # only for card_gem_root
4
+ require File.join Cardio.gem_root, "spec/support/card_spec_loader.rb"
5
+ require "simplecov"
7
6
 
8
7
  CardSpecLoader.init
9
8
 
@@ -6,6 +6,7 @@ module Decko
6
6
  end
7
7
 
8
8
  private
9
+
9
10
  def respond format, result, status
10
11
  if status.in? [302, 303]
11
12
  hard_redirect result
@@ -101,7 +101,7 @@ decko_namespace = namespace :decko do
101
101
  desc "set symlink for assets"
102
102
  task update_assets_symlink: :environment do
103
103
  prepped_asset_path do |assets_path|
104
- Card::Mod.dirs.each_assets_path do |mod, target|
104
+ Cardio::Mod.dirs.each_assets_path do |mod, target|
105
105
  link = File.join assets_path, mod
106
106
  FileUtils.rm_rf link
107
107
  FileUtils.ln_s target, link, force: true
@@ -148,35 +148,6 @@ decko_namespace = namespace :decko do
148
148
  load_task << "_without_reset" unless with_cache_reset
149
149
  Rake::Task[load_task].invoke
150
150
  end
151
-
152
- namespace :emergency do
153
- task rescue_watchers: :environment do
154
- follower_hash = Hash.new { |h, v| h[v] = [] }
155
-
156
- Card.where("right_id" => 219).each do |watcher_list|
157
- watcher_list.include_set_modules
158
- next unless watcher_list.left
159
- watching = watcher_list.left.name
160
- watcher_list.item_names.each do |user|
161
- follower_hash[user] << watching
162
- end
163
- end
164
-
165
- Card.search(right: { codename: "following" }).each do |following|
166
- Card::Auth.as_bot do
167
- following.update! content: ""
168
- end
169
- end
170
-
171
- follower_hash.each do |user, items|
172
- next unless (card = Card.fetch(user)) && card.account
173
- Card::Auth.as(user) do
174
- following = card.fetch "following", new: {}
175
- following.items = items
176
- end
177
- end
178
- end
179
- end
180
151
  end
181
152
 
182
153
  def failing_loudly task
@@ -0,0 +1,26 @@
1
+ # rake decko:docs:...
2
+
3
+ # NOTE: for the moment these are Platypus tasks.
4
+ # Until they're more monkey friendly, let's not write descriptions
5
+ #
6
+ # Make sure: you're:
7
+ # (A) running in a development environment, and
8
+ # (B) pointing to a repo gem
9
+ namespace :decko do
10
+ namespace :docs do
11
+ # trigger tmpsets and then run yardoc
12
+ task :update do
13
+ Rake::Task["decko:tmpsets:trigger"].invoke
14
+ Rake::Task["decko:docs:yardoc"].invoke
15
+ end
16
+
17
+ # run yardoc command, which generates the docs content in the repo root
18
+ #
19
+ # If you run this while decko is a gem, you could get some funky docs in
20
+ # your gems directory...
21
+ task :yardoc do
22
+ doc_dir = File.expand_path "..", Decko.gem_root
23
+ system %(cd #{doc_dir}; yardoc)
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,25 @@
1
+ namespace :decko do
2
+ namespace :tmpsets do
3
+ # We have to load the environment with `env REPO_TMPSETS=true` in
4
+ # development mode to trigger the tmpset generation.
5
+ # There's probably a more elegant way?
6
+ task :trigger do
7
+ ENV["REPO_TMPSETS"] = "true"
8
+ Rake::Task["decko:tmpsets:dummy"].invoke
9
+ end
10
+
11
+ # just load environment and trigger Card load
12
+ task dummy: :environment do
13
+ Card
14
+ end
15
+
16
+ task :copy do
17
+ require "fileutils"
18
+ require "cardio"
19
+
20
+ target = "#{Cardio.gem_root}/tmpsets"
21
+ FileUtils.rm_r Dir["#{target}/set*"]
22
+ FileUtils.cp_r Dir["#{Cardio.root}/tmpsets/set*"], "#{Cardio.gem_root}/tmpsets"
23
+ end
24
+ end
25
+ end
metadata CHANGED
@@ -1,17 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decko
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ethan McCutchen
8
8
  - Philipp Kühl
9
- - Lewis Hoffman
10
9
  - Gerry Gleason
11
10
  autorequire:
12
11
  bindir: bin
13
12
  cert_chain: []
14
- date: 2020-09-11 00:00:00.000000000 Z
13
+ date: 2020-12-24 00:00:00.000000000 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: card
@@ -19,15 +18,29 @@ dependencies:
19
18
  requirements:
20
19
  - - '='
21
20
  - !ruby/object:Gem::Version
22
- version: 1.100.0
21
+ version: 1.101.0
23
22
  type: :runtime
24
23
  prerelease: false
25
24
  version_requirements: !ruby/object:Gem::Requirement
26
25
  requirements:
27
26
  - - '='
28
27
  - !ruby/object:Gem::Version
29
- version: 1.100.0
30
- description: a wiki approach to stuctured data, dynamic interaction, and web design
28
+ version: 1.101.0
29
+ - !ruby/object:Gem::Dependency
30
+ name: card-mod-defaults
31
+ requirement: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - '='
34
+ - !ruby/object:Gem::Version
35
+ version: 0.11.0
36
+ type: :runtime
37
+ prerelease: false
38
+ version_requirements: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - '='
41
+ - !ruby/object:Gem::Version
42
+ version: 0.11.0
43
+ description: a wiki approach to structured data, dynamic interaction, and web design
31
44
  email:
32
45
  - info@decko.org
33
46
  executables:
@@ -35,26 +48,6 @@ executables:
35
48
  extensions: []
36
49
  extra_rdoc_files: []
37
50
  files:
38
- - GPL
39
- - LICENSE
40
- - README.rdoc
41
- - app/assets/images/body-bg.bmp
42
- - app/assets/images/body-bg.png
43
- - app/assets/images/external_link.png
44
- - app/assets/images/smoothness/animated-overlay.gif
45
- - app/assets/images/smoothness/ui-bg_flat_0_aaaaaa_40x100.png
46
- - app/assets/images/smoothness/ui-bg_flat_75_ffffff_40x100.png
47
- - app/assets/images/smoothness/ui-bg_glass_55_fbf9ee_1x400.png
48
- - app/assets/images/smoothness/ui-bg_glass_65_ffffff_1x400.png
49
- - app/assets/images/smoothness/ui-bg_glass_75_dadada_1x400.png
50
- - app/assets/images/smoothness/ui-bg_glass_75_e6e6e6_1x400.png
51
- - app/assets/images/smoothness/ui-bg_glass_95_fef1ec_1x400.png
52
- - app/assets/images/smoothness/ui-bg_highlight-soft_75_cccccc_1x100.png
53
- - app/assets/images/smoothness/ui-icons_222222_256x240.png
54
- - app/assets/images/smoothness/ui-icons_2e83ff_256x240.png
55
- - app/assets/images/smoothness/ui-icons_454545_256x240.png
56
- - app/assets/images/smoothness/ui-icons_888888_256x240.png
57
- - app/assets/images/smoothness/ui-icons_cd0a0a_256x240.png
58
51
  - bin/decko
59
52
  - lib/decko.rb
60
53
  - lib/decko/all.rb
@@ -79,42 +72,46 @@ files:
79
72
  - lib/decko/config/initializers/sedate_parser.rb
80
73
  - lib/decko/config/initializers/session_store.rb
81
74
  - lib/decko/engine.rb
82
- - lib/decko/generators/decko/USAGE
83
- - lib/decko/generators/decko/decko_generator.rb
84
- - lib/decko/generators/decko/decko_generator/interactive.rb
85
- - lib/decko/generators/decko/templates/Gemfile
86
- - lib/decko/generators/decko/templates/Rakefile
87
- - lib/decko/generators/decko/templates/bin/delayed_job
88
- - lib/decko/generators/decko/templates/bin/spring
89
- - lib/decko/generators/decko/templates/config.ru
90
- - lib/decko/generators/decko/templates/config/application.rb
91
- - lib/decko/generators/decko/templates/config/boot.rb
92
- - lib/decko/generators/decko/templates/config/cucumber.yml
93
- - lib/decko/generators/decko/templates/config/databases/frontbase.yml
94
- - lib/decko/generators/decko/templates/config/databases/ibm_db.yml
95
- - lib/decko/generators/decko/templates/config/databases/jdbc.yml
96
- - lib/decko/generators/decko/templates/config/databases/jdbcmysql.yml
97
- - lib/decko/generators/decko/templates/config/databases/jdbcpostgresql.yml
98
- - lib/decko/generators/decko/templates/config/databases/jdbcsqlite3.yml
99
- - lib/decko/generators/decko/templates/config/databases/mysql.yml
100
- - lib/decko/generators/decko/templates/config/databases/oracle.yml
101
- - lib/decko/generators/decko/templates/config/databases/postgresql.yml
102
- - lib/decko/generators/decko/templates/config/databases/sqlite3.yml
103
- - lib/decko/generators/decko/templates/config/deck.yml
104
- - lib/decko/generators/decko/templates/config/environment.rb
105
- - lib/decko/generators/decko/templates/config/initializers/cypress_dev.rb
106
- - lib/decko/generators/decko/templates/config/initializers/cypress_on_rails.rb
107
- - lib/decko/generators/decko/templates/config/puma.rb
108
- - lib/decko/generators/decko/templates/config/routes.erb
109
- - lib/decko/generators/decko/templates/gitignore
110
- - lib/decko/generators/decko/templates/public/files/htaccess
111
- - lib/decko/generators/decko/templates/public/robots.txt
112
- - lib/decko/generators/decko/templates/rspec
113
- - lib/decko/generators/decko/templates/script/decko
114
- - lib/decko/generators/decko/templates/simplecov
115
- - lib/decko/generators/decko/templates/spec/javascripts/support/deck_jasmine.yml
116
- - lib/decko/generators/decko/templates/spec/javascripts/support/decko_jasmine.yml
117
- - lib/decko/generators/decko/templates/spec/spec_helper.rb
75
+ - lib/decko/generators/deck/USAGE
76
+ - lib/decko/generators/deck/deck_generator.rb
77
+ - lib/decko/generators/deck/deck_generator/deck_helper.rb
78
+ - lib/decko/generators/deck/deck_generator/interactive.rb
79
+ - lib/decko/generators/deck/deck_generator/rails_overrides.rb
80
+ - lib/decko/generators/deck/templates/Gemfile.erb
81
+ - lib/decko/generators/deck/templates/Rakefile.erb
82
+ - lib/decko/generators/deck/templates/bin/spring.erb
83
+ - lib/decko/generators/deck/templates/config.ru.erb
84
+ - lib/decko/generators/deck/templates/config/application.rb.erb
85
+ - lib/decko/generators/deck/templates/config/boot.rb.erb
86
+ - lib/decko/generators/deck/templates/config/cucumber.yml
87
+ - lib/decko/generators/deck/templates/config/databases/frontbase.yml
88
+ - lib/decko/generators/deck/templates/config/databases/ibm_db.yml
89
+ - lib/decko/generators/deck/templates/config/databases/jdbc.yml
90
+ - lib/decko/generators/deck/templates/config/databases/jdbcmysql.yml
91
+ - lib/decko/generators/deck/templates/config/databases/jdbcpostgresql.yml
92
+ - lib/decko/generators/deck/templates/config/databases/jdbcsqlite3.yml
93
+ - lib/decko/generators/deck/templates/config/databases/mysql.yml
94
+ - lib/decko/generators/deck/templates/config/databases/oracle.yml
95
+ - lib/decko/generators/deck/templates/config/databases/postgresql.yml
96
+ - lib/decko/generators/deck/templates/config/databases/sqlite3.yml
97
+ - lib/decko/generators/deck/templates/config/deck.yml
98
+ - lib/decko/generators/deck/templates/config/environment.rb.erb
99
+ - lib/decko/generators/deck/templates/config/initializers/cypress.rb
100
+ - lib/decko/generators/deck/templates/config/puma.rb
101
+ - lib/decko/generators/deck/templates/config/routes.rb.erb
102
+ - lib/decko/generators/deck/templates/gitignore
103
+ - lib/decko/generators/deck/templates/pryrc
104
+ - lib/decko/generators/deck/templates/public/files/htaccess
105
+ - lib/decko/generators/deck/templates/public/robots.txt
106
+ - lib/decko/generators/deck/templates/rspec.erb
107
+ - lib/decko/generators/deck/templates/script/decko
108
+ - lib/decko/generators/deck/templates/script/decko_cucumber
109
+ - lib/decko/generators/deck/templates/script/decko_rspec
110
+ - lib/decko/generators/deck/templates/script/delayed_job
111
+ - lib/decko/generators/deck/templates/simplecov.rb.erb
112
+ - lib/decko/generators/deck/templates/spec/javascripts/support/deck_jasmine.yml.erb
113
+ - lib/decko/generators/deck/templates/spec/javascripts/support/decko_jasmine.yml.erb
114
+ - lib/decko/generators/deck/templates/spec/spec_helper.rb
118
115
  - lib/decko/mods_spec_helper.rb
119
116
  - lib/decko/response.rb
120
117
  - lib/decko/rest_spec_helper.rb
@@ -126,23 +123,11 @@ files:
126
123
  - lib/decko/tasks/cucumber.rake
127
124
  - lib/decko/tasks/db.rake
128
125
  - lib/decko/tasks/decko.rake
126
+ - lib/decko/tasks/decko/docs.rake
129
127
  - lib/decko/tasks/decko/seed.rake
130
- - rails/application-routes.rb
131
- - rails/assets/external_link.png
132
- - rails/assets/jasmine/404.html
133
- - rails/assets/jasmine/500.html
134
- - rails/assets/jasmine/card_form.html
135
- - rails/assets/jquery.min.map
136
- - rails/controllers/application_controller.rb
137
- - rails/controllers/card_controller.rb
138
- - rails/engine-routes.rb
139
- - script/autospec
140
- - script/decko
141
- - script/rails
142
- - script/test_filter
128
+ - lib/decko/tasks/decko/tmpsets.rake
143
129
  homepage: http://decko.org
144
130
  licenses:
145
- - GPL-2.0
146
131
  - GPL-3.0
147
132
  metadata: {}
148
133
  post_install_message:
data/GPL DELETED
@@ -1,331 +0,0 @@
1
- The GNU General Public License (GPL)
2
- Version 2, June 1991
3
-
4
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
5
- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
6
-
7
- Everyone is permitted to copy and distribute verbatim copies
8
- of this license document, but changing it is not allowed.
9
-
10
- Preamble
11
-
12
- The licenses for most software are designed to take away your freedom to
13
- share and change it. By contrast, the GNU General Public License is intended
14
- to guarantee your freedom to share and change free software--to make sure the
15
- software is free for all its users. This General Public License applies to
16
- most of the Free Software Foundation's software and to any other program
17
- whose authors commit to using it. (Some other Free Software Foundation
18
- software is covered by the GNU Library General Public License instead.) You
19
- can apply it to your programs, too.
20
-
21
- When we speak of free software, we are referring to freedom, not price. Our
22
- General Public Licenses are designed to make sure that you have the freedom
23
- to distribute copies of free software (and charge for this service if you
24
- wish), that you receive source code or can get it if you want it, that you
25
- can change the software or use pieces of it in new free programs; and that
26
- you know you can do these things.
27
-
28
- To protect your rights, we need to make restrictions that forbid anyone to
29
- deny you these rights or to ask you to surrender the rights. These
30
- restrictions translate to certain responsibilities for you if you distribute
31
- copies of the software, or if you modify it.
32
-
33
- For example, if you distribute copies of such a program, whether gratis or
34
- for a fee, you must give the recipients all the rights that you have. You
35
- must make sure that they, too, receive or can get the source code. And you
36
- must show them these terms so they know their rights.
37
-
38
- We protect your rights with two steps: (1) copyright the software, and (2)
39
- offer you this license which gives you legal permission to copy, distribute
40
- and/or modify the software.
41
-
42
- Also, for each author's protection and ours, we want to make certain that
43
- everyone understands that there is no warranty for this free software. If the
44
- software is modified by someone else and passed on, we want its recipients to
45
- know that what they have is not the original, so that any problems introduced
46
- by others will not reflect on the original authors' reputations.
47
-
48
- Finally, any free program is threatened constantly by software patents. We
49
- wish to avoid the danger that redistributors of a free program will
50
- individually obtain patent licenses, in effect making the program
51
- proprietary. To prevent this, we have made it clear that any patent must be
52
- licensed for everyone's free use or not licensed at all.
53
-
54
- The precise terms and conditions for copying, distribution and modification
55
- follow.
56
-
57
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
58
-
59
- 0. This License applies to any program or other work which contains a notice
60
- placed by the copyright holder saying it may be distributed under the
61
- terms of this General Public License. The "Program", below, refers to any
62
- such program or work, and a "work based on the Program" means either the
63
- Program or any derivative work under copyright law: that is to say, a work
64
- containing the Program or a portion of it, either verbatim or with
65
- modifications and/or translated into another language. (Hereinafter,
66
- translation is included without limitation in the term "modification".)
67
- Each licensee is addressed as "you".
68
-
69
- Activities other than copying, distribution and modification are not
70
- covered by this License; they are outside its scope. The act of running
71
- the Program is not restricted, and the output from the Program is covered
72
- only if its contents constitute a work based on the Program (independent
73
- of having been made by running the Program). Whether that is true depends
74
- on what the Program does.
75
-
76
- 1. You may copy and distribute verbatim copies of the Program's source code
77
- as you receive it, in any medium, provided that you conspicuously and
78
- appropriately publish on each copy an appropriate copyright notice and
79
- disclaimer of warranty; keep intact all the notices that refer to this
80
- License and to the absence of any warranty; and give any other recipients
81
- of the Program a copy of this License along with the Program.
82
-
83
- You may charge a fee for the physical act of transferring a copy, and you
84
- may at your option offer warranty protection in exchange for a fee.
85
-
86
- 2. You may modify your copy or copies of the Program or any portion of it,
87
- thus forming a work based on the Program, and copy and distribute such
88
- modifications or work under the terms of Section 1 above, provided that
89
- you also meet all of these conditions:
90
-
91
- a) You must cause the modified files to carry prominent notices stating
92
- that you changed the files and the date of any change.
93
-
94
- b) You must cause any work that you distribute or publish, that in whole
95
- or in part contains or is derived from the Program or any part
96
- thereof, to be licensed as a whole at no charge to all third parties
97
- under the terms of this License.
98
-
99
- c) If the modified program normally reads commands interactively when
100
- run, you must cause it, when started running for such interactive use
101
- in the most ordinary way, to print or display an announcement
102
- including an appropriate copyright notice and a notice that there is
103
- no warranty (or else, saying that you provide a warranty) and that
104
- users may redistribute the program under these conditions, and telling
105
- the user how to view a copy of this License. (Exception: if the
106
- Program itself is interactive but does not normally print such an
107
- announcement, your work based on the Program is not required to print
108
- an announcement.)
109
-
110
- These requirements apply to the modified work as a whole. If identifiable
111
- sections of that work are not derived from the Program, and can be
112
- reasonably considered independent and separate works in themselves, then
113
- this License, and its terms, do not apply to those sections when you
114
- distribute them as separate works. But when you distribute the same
115
- sections as part of a whole which is a work based on the Program, the
116
- distribution of the whole must be on the terms of this License, whose
117
- permissions for other licensees extend to the entire whole, and thus to
118
- each and every part regardless of who wrote it.
119
-
120
- Thus, it is not the intent of this section to claim rights or contest your
121
- rights to work written entirely by you; rather, the intent is to exercise
122
- the right to control the distribution of derivative or collective works
123
- based on the Program.
124
-
125
- In addition, mere aggregation of another work not based on the Program
126
- with the Program (or with a work based on the Program) on a volume of a
127
- storage or distribution medium does not bring the other work under the
128
- scope of this License.
129
-
130
- 3. You may copy and distribute the Program (or a work based on it, under
131
- Section 2) in object code or executable form under the terms of Sections 1
132
- and 2 above provided that you also do one of the following:
133
-
134
- a) Accompany it with the complete corresponding machine-readable source
135
- code, which must be distributed under the terms of Sections 1 and 2
136
- above on a medium customarily used for software interchange; or,
137
-
138
- b) Accompany it with a written offer, valid for at least three years, to
139
- give any third party, for a charge no more than your cost of
140
- physically performing source distribution, a complete machine-readable
141
- copy of the corresponding source code, to be distributed under the
142
- terms of Sections 1 and 2 above on a medium customarily used for
143
- software interchange; or,
144
-
145
- c) Accompany it with the information you received as to the offer to
146
- distribute corresponding source code. (This alternative is allowed
147
- only for noncommercial distribution and only if you received the
148
- program in object code or executable form with such an offer, in
149
- accord with Subsection b above.)
150
-
151
- The source code for a work means the preferred form of the work for making
152
- modifications to it. For an executable work, complete source code means all
153
- the source code for all modules it contains, plus any associated interface
154
- definition files, plus the scripts used to control compilation and
155
- installation of the executable. However, as a special exception, the source
156
- code distributed need not include anything that is normally distributed (in
157
- either source or binary form) with the major components (compiler, kernel,
158
- and so on) of the operating system on which the executable runs, unless that
159
- component itself accompanies the executable.
160
-
161
- If distribution of executable or object code is made by offering access to
162
- copy from a designated place, then offering equivalent access to copy the
163
- source code from the same place counts as distribution of the source code,
164
- even though third parties are not compelled to copy the source along with
165
- the object code.
166
-
167
- 4. You may not copy, modify, sublicense, or distribute the Program except as
168
- expressly provided under this License. Any attempt otherwise to copy,
169
- modify, sublicense or distribute the Program is void, and will
170
- automatically terminate your rights under this License. However, parties
171
- who have received copies, or rights, from you under this License will not
172
- have their licenses terminated so long as such parties remain in full
173
- compliance.
174
-
175
- 5. You are not required to accept this License, since you have not signed
176
- it. However, nothing else grants you permission to modify or distribute
177
- the Program or its derivative works. These actions are prohibited by law
178
- if you do not accept this License. Therefore, by modifying or distributing
179
- the Program (or any work based on the Program), you indicate your
180
- acceptance of this License to do so, and all its terms and conditions for
181
- copying, distributing or modifying the Program or works based on it.
182
-
183
- 6. Each time you redistribute the Program (or any work based on the Program),
184
- the recipient automatically receives a license from the original licensor
185
- to copy, distribute or modify the Program subject to these terms and
186
- conditions. You may not impose any further restrictions on the recipients'
187
- exercise of the rights granted herein. You are not responsible for
188
- enforcing compliance by third parties to this License.
189
-
190
- 7. If, as a consequence of a court judgment or allegation of patent
191
- infringement or for any other reason (not limited to patent issues),
192
- conditions are imposed on you (whether by court order, agreement or
193
- otherwise) that contradict the conditions of this License, they do not
194
- excuse you from the conditions of this License. If you cannot distribute
195
- so as to satisfy simultaneously your obligations under this License and
196
- any other pertinent obligations, then as a consequence you may not
197
- distribute the Program at all. For example, if a patent license would not
198
- permit royalty-free redistribution of the Program by all those who receive
199
- copies directly or indirectly through you, then the only way you could
200
- satisfy both it and this License would be to refrain entirely from
201
- distribution of the Program.
202
-
203
- If any portion of this section is held invalid or unenforceable under any
204
- particular circumstance, the balance of the section is intended to apply
205
- and the section as a whole is intended to apply in other circumstances.
206
-
207
- It is not the purpose of this section to induce you to infringe any
208
- patents or other property right claims or to contest validity of any such
209
- claims; this section has the sole purpose of protecting the integrity of
210
- the free software distribution system, which is implemented by public
211
- license practices. Many people have made generous contributions to the
212
- wide range of software distributed through that system in reliance on
213
- consistent application of that system; it is up to the author/donor to
214
- decide if he or she is willing to distribute software through any other
215
- system and a licensee cannot impose that choice.
216
-
217
- This section is intended to make thoroughly clear what is believed to be a
218
- consequence of the rest of this License.
219
-
220
- 8. If the distribution and/or use of the Program is restricted in certain
221
- countries either by patents or by copyrighted interfaces, the original
222
- copyright holder who places the Program under this License may add an
223
- explicit geographical distribution limitation excluding those countries,
224
- so that distribution is permitted only in or among countries not thus
225
- excluded. In such case, this License incorporates the limitation as if
226
- written in the body of this License.
227
-
228
- 9. The Free Software Foundation may publish revised and/or new versions of
229
- the General Public License from time to time. Such new versions will be
230
- similar in spirit to the present version, but may differ in detail to
231
- address new problems or concerns.
232
-
233
- Each version is given a distinguishing version number. If the Program
234
- specifies a version number of this License which applies to it and "any
235
- later version", you have the option of following the terms and conditions
236
- either of that version or of any later version published by the Free
237
- Software Foundation. If the Program does not specify a version number of
238
- this License, you may choose any version ever published by the Free
239
- Software Foundation.
240
-
241
- 10. If you wish to incorporate parts of the Program into other free programs
242
- whose distribution conditions are different, write to the author to ask
243
- for permission. For software which is copyrighted by the Free Software
244
- Foundation, write to the Free Software Foundation; we sometimes make
245
- exceptions for this. Our decision will be guided by the two goals of
246
- preserving the free status of all derivatives of our free software and of
247
- promoting the sharing and reuse of software generally.
248
-
249
- NO WARRANTY
250
-
251
- 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR
252
- THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
253
- OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
254
- PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
255
- EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
256
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
257
- ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH
258
- YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
259
- NECESSARY SERVICING, REPAIR OR CORRECTION.
260
-
261
- 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
262
- WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
263
- REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR
264
- DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
265
- DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING
266
- BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR
267
- LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO
268
- OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS
269
- BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
270
-
271
- END OF TERMS AND CONDITIONS
272
-
273
- How to Apply These Terms to Your New Programs
274
-
275
- If you develop a new program, and you want it to be of the greatest possible
276
- use to the public, the best way to achieve this is to make it free software
277
- which everyone can redistribute and change under these terms.
278
-
279
- To do so, attach the following notices to the program. It is safest to attach
280
- them to the start of each source file to most effectively convey the
281
- exclusion of warranty; and each file should have at least the "copyright"
282
- line and a pointer to where the full notice is found.
283
-
284
- one line to give the program's name and a brief idea of what it does.
285
- Copyright (C)
286
-
287
- This program is free software; you can redistribute it and/or modify it
288
- under the terms of the GNU General Public License as published by the
289
- Free Software Foundation; either version 2 of the License, or (at your
290
- option) any later version.
291
-
292
- This program is distributed in the hope that it will be useful, but
293
- WITHOUT ANY WARRANTY; without even the implied warranty of
294
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
295
- Public License for more details.
296
-
297
- You should have received a copy of the GNU General Public License along
298
- with this program; if not, write to the Free Software Foundation, Inc.,
299
- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
300
-
301
- Also add information on how to contact you by electronic and paper mail.
302
-
303
- If the program is interactive, make it output a short notice like this when
304
- it starts in an interactive mode:
305
-
306
- Gnomovision version 69, Copyright (C) year name of author Gnomovision
307
- comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is
308
- free software, and you are welcome to redistribute it under certain
309
- conditions; type `show c' for details.
310
-
311
- The hypothetical commands `show w' and `show c' should show the appropriate
312
- parts of the General Public License. Of course, the commands you use may be
313
- called something other than `show w' and `show c'; they could even be
314
- mouse-clicks or menu items--whatever suits your program.
315
-
316
- You should also get your employer (if you work as a programmer) or your
317
- school, if any, to sign a "copyright disclaimer" for the program, if
318
- necessary. Here is a sample; alter the names:
319
-
320
- Yoyodyne, Inc., hereby disclaims all copyright interest
321
- in the program `Gnomovision' (which makes passes at compilers)
322
- written by James Hacker.
323
-
324
- signature of Ty Coon, 1 April 1989
325
- Ty Coon, President of Vice
326
-
327
- This General Public License does not permit incorporating your program into
328
- proprietary programs. If your program is a subroutine library, you may
329
- consider it more useful to permit linking proprietary applications with the
330
- library. If this is what you want to do, use the GNU Library General Public
331
- License instead of this License.