caixanegra 0.3.0 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ece5f658699dfddfd51744c4f78b12b207e9e7108359e9d6d4f39366a494987e
4
- data.tar.gz: 0e0fca0b8abdcc03cfd9851563105300d4a6033206917df7fe7d3d49a3cd00d7
3
+ metadata.gz: fb4779b627ddc5ebd55e9c850f03e68f40bbf756dde4e4763fb17f0cf950ab23
4
+ data.tar.gz: f89c2792fdfb858459f59fcf1e5107ddae08f63b4855f2f6e9e76b00e1d56ab4
5
5
  SHA512:
6
- metadata.gz: 4db14867bd4861f76e4ffe49be5f8c35094b6f16e045bb6b2023b72067780e06faac4ea6f0afdd483b4f1dec847d6888c28060abc4dbf443aab10505782b64dd
7
- data.tar.gz: df495aa1270c312c87f52b194a93a4c3022db83203b71a24256321e3af5f33489cd02b9b01f6c645402299195f4890623253b78fc6f081bee5f157d17aaf22b4
6
+ metadata.gz: 70df0a2a5ece0c784212ecc917c8afab3eb511c96f5cb113f829a287871df4b7a4256d4a9c3d9155faa2d1e5a0a11b36bfe9d99e5048d960e0569d24977aff44
7
+ data.tar.gz: a7664006cf88ed6d68ee39d5186649e0f7a2f28a55ed0405e0db129a4e86bd8b3e8b8b6e1cfed81b750a1f569fe5d799f98957cc917a2981b2b311085339a326
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Caixanegra
4
- module Api
4
+ module API
5
5
  module Designer
6
- class FlowsController < ::Caixanegra::ApiController
6
+ class FlowsController < ::Caixanegra::APIController
7
7
  before_action :set_flow, only: %i[show debug_run]
8
8
 
9
9
  def show
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Caixanegra
4
- module Api
4
+ module API
5
5
  module Designer
6
- class UnitsController < ::Caixanegra::ApiController
6
+ class UnitsController < ::Caixanegra::APIController
7
7
  def index
8
8
  render json: units
9
9
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Caixanegra
4
- class ApiController < ActionController::API
4
+ class APIController < ActionController::API
5
5
  end
6
6
  end
@@ -0,0 +1,3 @@
1
+ ActiveSupport::Inflector.inflections(:en) do |inflect|
2
+ inflect.acronym "API"
3
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Caixanegra
4
- VERSION = '0.3.0'
4
+ VERSION = '0.3.2'
5
5
  end
data/lib/caixanegra.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'caixanegra/exceptions'
4
+ require 'caixanegra/unit'
4
5
  require 'caixanegra/unit_helper'
5
6
  require 'caixanegra/engine'
6
7
  require 'caixanegra/version'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caixanegra
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - sergiorribeiro
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-31 00:00:00.000000000 Z
11
+ date: 2023-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -61,10 +61,10 @@ files:
61
61
  - app/controllers/caixanegra/api_controller.rb
62
62
  - app/controllers/caixanegra/application_controller.rb
63
63
  - app/controllers/caixanegra/designer_controller.rb
64
- - app/models/caixanegra/unit.rb
65
64
  - app/views/caixanegra/designer/index.html.erb
66
65
  - app/views/layouts/caixanegra/application.html.erb
67
66
  - app/views/shared/caixanegra/_js_dependencies.html.erb
67
+ - config/initializers/inflections.rb
68
68
  - config/routes.rb
69
69
  - lib/caixanegra.rb
70
70
  - lib/caixanegra/engine.rb
@@ -72,6 +72,7 @@ files:
72
72
  - lib/caixanegra/executor.rb
73
73
  - lib/caixanegra/manager.rb
74
74
  - lib/caixanegra/transient_store.rb
75
+ - lib/caixanegra/unit.rb
75
76
  - lib/caixanegra/unit_helper.rb
76
77
  - lib/caixanegra/version.rb
77
78
  - lib/tasks/caixanegra_tasks.rake
File without changes