caixanegra 0.3.1 → 0.3.3

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: '085b4f44d1382bda853205ecb18725fd905576b427eb395aa76a8d1dbab1b564'
4
+ data.tar.gz: 0b986cb888ef179de7052e789055232e77777082a07f9ddc5aabe5424fa93295
5
5
  SHA512:
6
- metadata.gz: cf857f517da162fa54b11aac3e196448b308d7a6dc32776309b37668419af810ea1e62396467a78c96dbd8a6e6b6f9bb6067df6e4c7ea144b6ec757cdd4c7ee1
7
- data.tar.gz: 620f9bc6def64b148bfbcfdf0d27a010c75d788275fdfbfe00842a080a60203623db804c0f9951f13b76d516435548f6d966450b4cd1ac3bae9743bf5d42eb5c
6
+ metadata.gz: 39a3f318ef80818f3b1a5d447884cfa4e8ee650f21eb25dd9c7cd06d7355395b6a5c6858afa96dee8f482574fd07acc6cf102040f98b9840278145fd80f1c6aa
7
+ data.tar.gz: 316312a2e90e971956ff6968eb5fa3d376ba9a331037d260d53fec5679a414700cb357c95bcefd994ac2a41cb81bff7883f6c048ec828246688c06ce23ba1a80
@@ -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
@@ -7,7 +7,7 @@ module Caixanegra
7
7
  transient_store = Caixanegra.transient_store
8
8
  uid = transient_store.new_uid
9
9
 
10
- transient_store.hold(uid, flow_definition)
10
+ transient_store.hold(uid, definition: flow_definition)
11
11
 
12
12
  uid
13
13
  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.3'
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.3
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