block_editor 0.1.0 → 0.1.1
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 +4 -4
 - data/bin/rails +14 -0
 - data/bin/webpack +18 -0
 - data/bin/webpack-dev-server +18 -0
 - data/lib/block_editor/version.rb +1 -1
 - metadata +4 -1
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 71db224ee4fdaa773fde97c68e2215052175e4b9c1ed7864526249a4a7e93e9a
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 6b40638623769c57d46c938d02e938bff74036df69dae840991d80d8a51053ed
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: d76b5cd0e8277e4bee089f1a48b9ef35f7695b944ce57fb84c7b0115454a5fd3e9358e6dfc2efb562f66e0080a508510506d4b8d0f359e089c7c971282488dd6
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 06f3b1e9f51958437453340fb1fe887099e36cd380365cb5ffff77cb65ddf90a81cb33446a534213ca9df4008feeaac87d4508b8d8f71511add28c7451c327c1
         
     | 
    
        data/bin/rails
    ADDED
    
    | 
         @@ -0,0 +1,14 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            #!/usr/bin/env ruby
         
     | 
| 
      
 2 
     | 
    
         
            +
            # This command will automatically be run when you run "rails" with Rails gems
         
     | 
| 
      
 3 
     | 
    
         
            +
            # installed from the root of your application.
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            ENGINE_ROOT = File.expand_path('..', __dir__)
         
     | 
| 
      
 6 
     | 
    
         
            +
            ENGINE_PATH = File.expand_path('../lib/block_editor/engine', __dir__)
         
     | 
| 
      
 7 
     | 
    
         
            +
            APP_PATH = File.expand_path('../test/dummy/config/application', __dir__)
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            # Set up gems listed in the Gemfile.
         
     | 
| 
      
 10 
     | 
    
         
            +
            ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
         
     | 
| 
      
 11 
     | 
    
         
            +
            require "bundler/setup" if File.exist?(ENV["BUNDLE_GEMFILE"])
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
            require "rails/all"
         
     | 
| 
      
 14 
     | 
    
         
            +
            require "rails/engine/commands"
         
     | 
    
        data/bin/webpack
    ADDED
    
    | 
         @@ -0,0 +1,18 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            #!/usr/bin/env ruby
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            ENV["RAILS_ENV"] ||= ENV["RACK_ENV"] || "development"
         
     | 
| 
      
 4 
     | 
    
         
            +
            ENV["NODE_ENV"]  ||= "development"
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
            require "pathname"
         
     | 
| 
      
 7 
     | 
    
         
            +
            ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
         
     | 
| 
      
 8 
     | 
    
         
            +
              Pathname.new(__FILE__).realpath)
         
     | 
| 
      
 9 
     | 
    
         
            +
             
     | 
| 
      
 10 
     | 
    
         
            +
            require "bundler/setup"
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            require "webpacker"
         
     | 
| 
      
 13 
     | 
    
         
            +
            require "webpacker/webpack_runner"
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            APP_ROOT = File.expand_path("..", __dir__)
         
     | 
| 
      
 16 
     | 
    
         
            +
            Dir.chdir(APP_ROOT) do
         
     | 
| 
      
 17 
     | 
    
         
            +
              Webpacker::WebpackRunner.run(ARGV)
         
     | 
| 
      
 18 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -0,0 +1,18 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            #!/usr/bin/env ruby
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            ENV["RAILS_ENV"] ||= ENV["RACK_ENV"] || "development"
         
     | 
| 
      
 4 
     | 
    
         
            +
            ENV["NODE_ENV"]  ||= "development"
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
            require "pathname"
         
     | 
| 
      
 7 
     | 
    
         
            +
            ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
         
     | 
| 
      
 8 
     | 
    
         
            +
              Pathname.new(__FILE__).realpath)
         
     | 
| 
      
 9 
     | 
    
         
            +
             
     | 
| 
      
 10 
     | 
    
         
            +
            require "bundler/setup"
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            require "webpacker"
         
     | 
| 
      
 13 
     | 
    
         
            +
            require "webpacker/dev_server_runner"
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            APP_ROOT = File.expand_path("..", __dir__)
         
     | 
| 
      
 16 
     | 
    
         
            +
            Dir.chdir(APP_ROOT) do
         
     | 
| 
      
 17 
     | 
    
         
            +
              Webpacker::DevServerRunner.run(ARGV)
         
     | 
| 
      
 18 
     | 
    
         
            +
            end
         
     | 
    
        data/lib/block_editor/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: block_editor
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.1. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.1.1
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Patrick Lindsay
         
     | 
| 
         @@ -87,6 +87,9 @@ files: 
     | 
|
| 
       87 
87 
     | 
    
         
             
            - app/models/block_editor/block_list.rb
         
     | 
| 
       88 
88 
     | 
    
         
             
            - app/models/concerns/block_editor/listable.rb
         
     | 
| 
       89 
89 
     | 
    
         
             
            - app/views/layouts/block_editor/application.html.erb
         
     | 
| 
      
 90 
     | 
    
         
            +
            - bin/rails
         
     | 
| 
      
 91 
     | 
    
         
            +
            - bin/webpack
         
     | 
| 
      
 92 
     | 
    
         
            +
            - bin/webpack-dev-server
         
     | 
| 
       90 
93 
     | 
    
         
             
            - config/initializers/webpacker_extension.rb
         
     | 
| 
       91 
94 
     | 
    
         
             
            - config/routes.rb
         
     | 
| 
       92 
95 
     | 
    
         
             
            - config/webpack/development.js
         
     |