cortex 0.1.1 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +103 -0
- data/CONTRIBUTING.md +7 -6
- data/Gemfile +1 -0
- data/Gemfile.lock +4 -1
- data/README.md +6 -217
- data/app/controllers/cortex/content_items_controller.rb +37 -27
- data/app/helpers/cortex/content_item_helper.rb +24 -15
- data/app/operations/cortex/database_transact_operation.rb +5 -8
- data/app/operations/cortex/persist_content_item_operation.rb +5 -2
- data/app/views/cortex/content_items/_form.html.haml +5 -5
- data/app/views/layouts/cortex/application.html.haml +3 -3
- data/cortex.gemspec +1 -1
- data/lib/cortex/version.rb +1 -1
- data/package.json +2 -2
- data/spec/dummy/app/javascript/packs/cortex_cms.jsx +1 -0
- data/spec/dummy/bin/bundle +2 -104
- data/spec/dummy/bin/rspec +1 -1
- data/spec/dummy/bin/setup +12 -12
- data/spec/dummy/bin/update +3 -5
- data/spec/dummy/bin/yarn +3 -3
- data/spec/dummy/config/boot.rb +4 -10
- data/spec/dummy/lib/tasks/content_types_tasks.rake +27 -25
- data/spec/dummy/package.json +1 -1
- data/spec/dummy/yarn.lock +525 -746
- metadata +42479 -156
- data/spec/dummy/app/javascript/packs/cortex.jsx +0 -1
- data/spec/dummy/bin/webpack +0 -29
- data/spec/dummy/bin/webpack-dev-server +0 -29
@@ -1 +0,0 @@
|
|
1
|
-
import 'cortex';
|
data/spec/dummy/bin/webpack
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# frozen_string_literal: true
|
3
|
-
|
4
|
-
#
|
5
|
-
# This file was generated by Bundler.
|
6
|
-
#
|
7
|
-
# The application 'webpack' is installed as part of a gem, and
|
8
|
-
# this file is here to facilitate running it.
|
9
|
-
#
|
10
|
-
|
11
|
-
require "pathname"
|
12
|
-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
13
|
-
Pathname.new(__FILE__).realpath)
|
14
|
-
|
15
|
-
bundle_binstub = File.expand_path("../bundle", __FILE__)
|
16
|
-
|
17
|
-
if File.file?(bundle_binstub)
|
18
|
-
if File.read(bundle_binstub, 150) =~ /This file was generated by Bundler/
|
19
|
-
load(bundle_binstub)
|
20
|
-
else
|
21
|
-
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
22
|
-
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
26
|
-
require "rubygems"
|
27
|
-
require "bundler/setup"
|
28
|
-
|
29
|
-
load Gem.bin_path("webpacker", "webpack")
|
@@ -1,29 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# frozen_string_literal: true
|
3
|
-
|
4
|
-
#
|
5
|
-
# This file was generated by Bundler.
|
6
|
-
#
|
7
|
-
# The application 'webpack-dev-server' is installed as part of a gem, and
|
8
|
-
# this file is here to facilitate running it.
|
9
|
-
#
|
10
|
-
|
11
|
-
require "pathname"
|
12
|
-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
13
|
-
Pathname.new(__FILE__).realpath)
|
14
|
-
|
15
|
-
bundle_binstub = File.expand_path("../bundle", __FILE__)
|
16
|
-
|
17
|
-
if File.file?(bundle_binstub)
|
18
|
-
if File.read(bundle_binstub, 150) =~ /This file was generated by Bundler/
|
19
|
-
load(bundle_binstub)
|
20
|
-
else
|
21
|
-
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
22
|
-
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
26
|
-
require "rubygems"
|
27
|
-
require "bundler/setup"
|
28
|
-
|
29
|
-
load Gem.bin_path("webpacker", "webpack-dev-server")
|