payify 0.1.15 → 0.1.16

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: 56393fe8599705be8631aa24680881d1616eff58126f505c3e8063a70045b2cc
4
- data.tar.gz: cc9b67d908c7d8161c511b95293b4e1597a9b082883a814811af9ce1cc3b4304
3
+ metadata.gz: 9a9d1ca2475c701c3c4c52cf336fe15f4c4af67bd0bda8881f3e46c6138d4e4b
4
+ data.tar.gz: 5b860f6d917cdf5d8b5c488ff178b4543fe944abafc2678a373a93af2004e9ea
5
5
  SHA512:
6
- metadata.gz: c26af2fe3d5005bce70b1e2d886faa159b63a536dfe17d229beb9027e9feda17e0e49610c56987350a0b485d4a128d805c01219f5ea622961a6fde7045d56b3d
7
- data.tar.gz: 1a27db9b14f7d0e90fa9df15270dd77d1a0eb23570f9640c0ff230c512c5ee1e909677abb53bc4f27410a44057f9a2033fecdaa140fab5b5cf66024be763aee7
6
+ metadata.gz: ad029b4c099016f6d332d1174323f8a7a2dc68e43173690651959d20e80310a8feb8d6794b88149608861035d61f1b9decfc1ebd059a2eca97b4fcff797f3a99
7
+ data.tar.gz: 1378445bd65037c4b0593387d25efb9cce4ee738d4546da5f4f8a08105317dbd174deb512b7cb636dc10354df239c072872dd82be4475452548a629512d7c3ff
@@ -1,5 +1,7 @@
1
1
  module Payify
2
2
  class Payment < ApplicationRecord
3
+ self.table_name = "payify_payments"
4
+
3
5
  include ::Payify::StripePaymentConcern
4
6
 
5
7
  enum status: { pending: 0, paid: 1, failed: 2 }
data/config/routes.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  ::Payify::Engine.routes.draw do
2
- resources :payments do
2
+ resources :payments, controller: 'payify/payments' do
3
3
  member do
4
4
  get "new"
5
5
  get "complete", as: "complete"
data/lib/payify/engine.rb CHANGED
@@ -1,5 +1,4 @@
1
1
  module Payify
2
2
  class Engine < ::Rails::Engine
3
- isolate_namespace Payify
4
3
  end
5
4
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Payify
4
- VERSION = "0.1.15"
4
+ VERSION = "0.1.16"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: payify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.15
4
+ version: 0.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Lopez