reverse_j 0.1.2 → 0.1.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: f5d5e2a3a446bbc9e770d2e5ea61b062ca9aa538a23947cc145b57e3dbe34db2
4
- data.tar.gz: b26ad945b33a6c320b31032ce1f5955a98c329d41153b5ab7bc9f157edcaf82d
3
+ metadata.gz: 4456d92350da8d1d97e2d254e1db773f458332a15e6c2916b644b21387df8b72
4
+ data.tar.gz: ab2c418a870686a111ff14d3ab490d900326d858c49cc1014ae41b98f1fc370a
5
5
  SHA512:
6
- metadata.gz: fb2005b429a090b99dd5906c10930a68714d6ead640db3ef9ebf622809c80ee358c352a4a39b2642421f5c2790f1dd939a9d6822a932c8018f4a732add1f6172
7
- data.tar.gz: ec8c20cc1af4b488b4b3b5cb17e7a7ea2a65a8e921a3aa4d0e8e502a81ec5c50e633d5a4e2be8262f1e0202e3bc41a26d3ef23c10f4e3fe9cd6e5d3d3ea6e8ac
6
+ metadata.gz: 281573dbb3ca895944585a56275a8e53a362ba312bf39243aa5831ec178c412754c3bbe3d1805ebfa1b93dfd04ddc3a81aad4941655908ccf49b6026222a3d8f
7
+ data.tar.gz: 9052f00ca00a22f006b1dc40f893de1906eadfe74b8c7fbf281262cbb23bbaa0373cded827baae641114e00be12adc8695d94ee5a0a09230441a43ad93762578
data/config/routes.rb CHANGED
@@ -1,3 +1,3 @@
1
- Rails.application.routes.draw do
1
+ ReverseJ::Engine.routes.draw do
2
2
  post '/data/collect' => 'data#convert', as: :reverse_data
3
3
  end
@@ -1,5 +1,10 @@
1
1
  module ReverseJ
2
2
  class Engine < ::Rails::Engine
3
-
3
+ config.reverse_j = ActiveSupport::OrderedOptions.new
4
+ initializer 'reverse_j.configuration' do |app|
5
+ app.routes.append do
6
+ mount ReverseJ::Engine => "/"
7
+ end
8
+ end
4
9
  end
5
10
  end
@@ -1,3 +1,3 @@
1
1
  module ReverseJ
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reverse_j
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmytro Lysohor