caixanegra 0.3.1 → 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: 376caa1d1fc64e8cafb870bbf592dad26520daee9c0ecdb84c3a6d47df67d5c6
4
- data.tar.gz: a97853cb0e8e23d05d998a8d10f515784d1699396ee58604f05ce666ebe7d5ee
3
+ metadata.gz: fb4779b627ddc5ebd55e9c850f03e68f40bbf756dde4e4763fb17f0cf950ab23
4
+ data.tar.gz: f89c2792fdfb858459f59fcf1e5107ddae08f63b4855f2f6e9e76b00e1d56ab4
5
5
  SHA512:
6
- metadata.gz: cf857f517da162fa54b11aac3e196448b308d7a6dc32776309b37668419af810ea1e62396467a78c96dbd8a6e6b6f9bb6067df6e4c7ea144b6ec757cdd4c7ee1
7
- data.tar.gz: 620f9bc6def64b148bfbcfdf0d27a010c75d788275fdfbfe00842a080a60203623db804c0f9951f13b76d516435548f6d966450b4cd1ac3bae9743bf5d42eb5c
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.1'
4
+ VERSION = '0.3.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caixanegra
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - sergiorribeiro
@@ -64,6 +64,7 @@ files:
64
64
  - app/views/caixanegra/designer/index.html.erb
65
65
  - app/views/layouts/caixanegra/application.html.erb
66
66
  - app/views/shared/caixanegra/_js_dependencies.html.erb
67
+ - config/initializers/inflections.rb
67
68
  - config/routes.rb
68
69
  - lib/caixanegra.rb
69
70
  - lib/caixanegra/engine.rb