disco_app 0.9.0 → 0.9.1

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: d734e517357675c9fec94abcfe6fd509c04f6f31c9bdcc8a762c3971f11589d3
4
- data.tar.gz: 5d2dd2d731d021adc3fbdc5e37af68df9f2c013083ad10980dd5ed2707842e8b
3
+ metadata.gz: e6522ecc2e564a8205469ef204144629cf288a990892987fc55c6bbb99d47f4d
4
+ data.tar.gz: 89e1e030f3a3b1e984bf99044418fdf21322eb69e0a1781a174e41e7b2fb0d1d
5
5
  SHA512:
6
- metadata.gz: 57d5072e2eb9d1b6b12ab45aeeb77b253e3fdf8aad36d993ec9799f8fa61de4ae1c9212e5b25c49304f54d6892d594b7befad0f1851fc6578f52e09c82d47e55
7
- data.tar.gz: 02b898b139e5d707dd30680559f3abf459c51ca6c652f626449af2721b449997ab9871b0f933ae38c61e925fdecd45cf7db467ee58f7f0418fb5075178c6e693
6
+ metadata.gz: 22d9ab526b4c13feb425d3089d3ad51797361293cd1fe3d41dd3d7b6ef8949d7cf2b8f19025d3fb5d2dfc132893ba021b4c8c79497cbd40fdf71dda7efc9a98f
7
+ data.tar.gz: b00bca43bfdf3baf2358c9c9275730db0f1df34a295b056e229a4cb7c96e98c893a04af5b977e2290a0641830bdbe0659a042f6fa39c691f756a9631437858a3
@@ -10,10 +10,7 @@ module DiscoApp::Admin::Concerns::SubscriptionsController
10
10
 
11
11
  def update
12
12
  if @subscription.update_attributes(subscription_params)
13
- unless (@subscription.previous_changes.keys & ['amount', 'trial_period_days']).empty?
14
-
15
- end
16
- redirect_to edit_admin_subscription_path(@subscription)
13
+ redirect_to edit_admin_shop_subscription(@subscription.shop, @subscription)
17
14
  else
18
15
  render 'edit'
19
16
  end
@@ -1,3 +1,3 @@
1
1
  module DiscoApp
2
- VERSION = '0.9.0'
2
+ VERSION = '0.9.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: disco_app
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gavin Ballard