plug 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
  SHA1:
3
- metadata.gz: 0abeff7c3a50527671301bca80315f6fdddda0af
4
- data.tar.gz: 5fcdebcc096e78f53ac30ee7d22cfe673ac6bd34
3
+ metadata.gz: f3e2710741a9c1a2b52ab9544173cd6e4975fbbe
4
+ data.tar.gz: f74176e4c335a9a018a7e9d4551c8a61e5e32a53
5
5
  SHA512:
6
- metadata.gz: 7204064f13987739e407f8de9ff20f54cfddb8ca369de175a9485fb8750516c03dc520b803abf21dff9c85e95e1f6a9d83bb060eac4c3fa51803e2e2a0eb7d0b
7
- data.tar.gz: 8443001b0ef67b234db13520e16f5b3369db89d530b8c0a7121965ea1feb506d29dcc6a672703ecb0c037bc6afe615bddbd878c31c9f36fa5d24e5892fcaccdf
6
+ metadata.gz: fb190cde3f4d8091fb1e8a7342de47cb1448ed860c5601c4befe29309a92ea7842ece773ed19f3ce94a25da843ad672a2d8b461ed07ed99e2c43d1b580bba7c8
7
+ data.tar.gz: 4b3a174f8524883eda36751efeb6c5418d1de611a3dc061281800d410e4e29a6774d9a43b4874086aa6c08b8c19d2ea129e49a8816eedf69df0c75b901e64f1a
@@ -5,7 +5,7 @@ module Plug
5
5
  if Rails.version.to_i < 5
6
6
  before_filter :set_feature, only: [:show, :edit, :update, :destroy]
7
7
  else
8
- before_action :set_feature, only: [:show, :edit, :update, :destroy]
8
+ before_action :set_feature, only: [:show, :edit, :update, :destroy]
9
9
  end
10
10
 
11
11
  # GET /features
@@ -6,7 +6,7 @@ module Plug
6
6
  def enabled?(arg)
7
7
  arg = arg.to_s if arg.is_a? Symbol
8
8
  feature = Plug::Feature.slug_and_name(arg).first
9
-
9
+
10
10
  return false unless feature
11
11
  return feature.enabled?
12
12
  end
@@ -1,3 +1,3 @@
1
1
  module Plug
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plug
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
  - Ben
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-14 00:00:00.000000000 Z
11
+ date: 2017-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -207,7 +207,6 @@ files:
207
207
  - app/controllers/plug/application_controller.rb
208
208
  - app/controllers/plug/features_controller.rb
209
209
  - app/helpers/plug/application_helper.rb
210
- - app/jobs/plug/application_job.rb
211
210
  - app/mailers/plug/application_mailer.rb
212
211
  - app/models/plug/application_record.rb
213
212
  - app/models/plug/feature.rb
@@ -1,4 +0,0 @@
1
- module Plug
2
- class ApplicationJob < ActiveJob::Base
3
- end
4
- end