awesome_admin_layout 0.2.1 → 0.3.0

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
- SHA1:
3
- metadata.gz: f7ce88223385ba2d3f59507efac4ac29186b10dd
4
- data.tar.gz: 60fded331f25f19e6fd428ca60a9824332409315
2
+ SHA256:
3
+ metadata.gz: e9a3ccf87dac9fd27b0cd528169ea4fcaed00359f112f0abb59b18e91832b649
4
+ data.tar.gz: 9d6086bbc34958b36f36be283ca4efe5f6814d98e8faacf5c0888662b5d976a3
5
5
  SHA512:
6
- metadata.gz: 37f8ea6f9131b4e4c39f9e8ae2c9b64426c82b998653847e93e4039cc9366487f40bb65673295f32cf71fcc5c1ee604cb46d12cde9f64bd00b8f34a600c29a36
7
- data.tar.gz: 233be75b044c1967a051b2ca31c5f39063af977d86c0f75098712471b7607e90043b3528949d90ff658b0d49420651fe1444e46cfc3e9155f64e287a06e2b97b
6
+ metadata.gz: 32c2e7a4d9c062301326536c17f28fa7beff69f9f181b9add4a49cdda00e1357b920f8d52602b1614ff5b6cd6388bad3cd0e9931c835319b407437f6f5797454
7
+ data.tar.gz: 853cefdc8ce2bc92b70a32624b2fde2d5cf39ea4721b3676904dad88101504d52b7671ffcbdcd9e01509721522fd8b0ffa3f4234dbe30af666bc781777e716da
@@ -1,21 +1,36 @@
1
1
  language:
2
2
  - ruby
3
3
  rvm:
4
- - 2.1.2
5
4
  - 2.2.0
5
+ - 2.6.3
6
6
  - ruby-head
7
7
  gemfile:
8
8
  - gemfiles/rails_32.gemfile
9
9
  - gemfiles/rails_40.gemfile
10
10
  - gemfiles/rails_41.gemfile
11
11
  - gemfiles/rails_42.gemfile
12
+ - gemfiles/rails_52.gemfile
12
13
  - gemfiles/rails_edge.gemfile
13
14
  matrix:
14
15
  exclude:
15
16
  - rvm: 2.2.0
17
+ gemfile: gemfiles/rails_52.gemfile
18
+ - rvm: 2.2.0
19
+ gemfile: gemfiles/rails_edge.gemfile
20
+ - rvm: 2.6.3
16
21
  gemfile: gemfiles/rails_32.gemfile
22
+ - rvm: 2.6.3
23
+ gemfile: gemfiles/rails_40.gemfile
24
+ - rvm: 2.6.3
25
+ gemfile: gemfiles/rails_41.gemfile
17
26
  - rvm: ruby-head
18
27
  gemfile: gemfiles/rails_32.gemfile
28
+ - rvm: ruby-head
29
+ gemfile: gemfiles/rails_40.gemfile
30
+ - rvm: ruby-head
31
+ gemfile: gemfiles/rails_41.gemfile
32
+ - rvm: ruby-head
33
+ gemfile: gemfiles/rails_42.gemfile
19
34
  allow_failures:
20
35
  - rvm: ruby-head
21
36
  - gemfile: gemfiles/rails_edge.gemfile
@@ -15,12 +15,12 @@ Gem::Specification.new do |spec|
15
15
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
16
16
  spec.require_paths = ['lib']
17
17
 
18
- spec.add_dependency 'slim', '~> 3.0', '>= 3.0.6'
18
+ spec.add_dependency 'slim', '~> 3.0', '>= 3.0.9'
19
19
  spec.add_dependency 'sass', '~> 3.4', '>= 3.4.14'
20
20
  spec.add_dependency 'coffee-script', '~> 2.4', '>= 2.4.1'
21
21
 
22
22
  spec.add_development_dependency 'rake', '~> 10.0'
23
- spec.add_development_dependency 'sinatra', '~> 1.4', '>= 1.4.6'
24
- spec.add_development_dependency 'rails', '>= 3.2.0', '< 5'
23
+ spec.add_development_dependency 'sinatra', '>= 1.4', '< 3'
24
+ spec.add_development_dependency 'rails', '>= 3.2.0', '< 6'
25
25
  spec.add_development_dependency 'minitest', '>= 4.2.0', '<= 5.7'
26
26
  end
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'railties', '~> 5.2.0'
4
+
5
+ gemspec path: '../'
@@ -33,7 +33,7 @@ module AwesomeAdminLayout
33
33
  end
34
34
 
35
35
  def eager_define(options = {}, &block)
36
- (options[:only] || ActionController::Base).send(:before_filter, -> { AwesomeAdminLayout.awesome_admin_layout(self, &block) })
36
+ (options[:only] || ActionController::Base).send(:before_action, -> { AwesomeAdminLayout.awesome_admin_layout(self, &block) })
37
37
  end
38
38
 
39
39
  def define(options = {}, &block)
@@ -2,7 +2,7 @@ module AwesomeAdminLayout
2
2
  module Helpers
3
3
  module ClassMethods
4
4
  def awesome_admin_layout(&block)
5
- before_filter -> { AwesomeAdminLayout.awesome_admin_layout(self, &block) }
5
+ before_action -> { AwesomeAdminLayout.awesome_admin_layout(self, &block) }
6
6
  end
7
7
  end
8
8
 
@@ -24,7 +24,6 @@ namespace :awesome_admin_layout do
24
24
  end
25
25
 
26
26
  task :push => :build do
27
- sh 'git push'
28
27
  sh "gem push pkg/#{gem}"
29
28
  end
30
29
 
@@ -44,5 +43,5 @@ namespace :awesome_admin_layout do
44
43
  sh 'git push --tags'
45
44
  end
46
45
 
47
- task :release => %w(clean build commit tag push)
46
+ task :release => %w(clean build push)
48
47
  end
@@ -1,3 +1,3 @@
1
1
  module AwesomeAdminLayout
2
- VERSION = '0.2.1'
2
+ VERSION = '0.3.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awesome_admin_layout
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - YOSHIDA Hiroki
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-19 00:00:00.000000000 Z
11
+ date: 2019-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: slim
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3.0'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.0.6
22
+ version: 3.0.9
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3.0'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.0.6
32
+ version: 3.0.9
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: sass
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -88,22 +88,22 @@ dependencies:
88
88
  name: sinatra
89
89
  requirement: !ruby/object:Gem::Requirement
90
90
  requirements:
91
- - - "~>"
91
+ - - ">="
92
92
  - !ruby/object:Gem::Version
93
93
  version: '1.4'
94
- - - ">="
94
+ - - "<"
95
95
  - !ruby/object:Gem::Version
96
- version: 1.4.6
96
+ version: '3'
97
97
  type: :development
98
98
  prerelease: false
99
99
  version_requirements: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '1.4'
104
- - - ">="
104
+ - - "<"
105
105
  - !ruby/object:Gem::Version
106
- version: 1.4.6
106
+ version: '3'
107
107
  - !ruby/object:Gem::Dependency
108
108
  name: rails
109
109
  requirement: !ruby/object:Gem::Requirement
@@ -113,7 +113,7 @@ dependencies:
113
113
  version: 3.2.0
114
114
  - - "<"
115
115
  - !ruby/object:Gem::Version
116
- version: '5'
116
+ version: '6'
117
117
  type: :development
118
118
  prerelease: false
119
119
  version_requirements: !ruby/object:Gem::Requirement
@@ -123,7 +123,7 @@ dependencies:
123
123
  version: 3.2.0
124
124
  - - "<"
125
125
  - !ruby/object:Gem::Version
126
- version: '5'
126
+ version: '6'
127
127
  - !ruby/object:Gem::Dependency
128
128
  name: minitest
129
129
  requirement: !ruby/object:Gem::Requirement
@@ -165,6 +165,7 @@ files:
165
165
  - gemfiles/rails_40.gemfile
166
166
  - gemfiles/rails_41.gemfile
167
167
  - gemfiles/rails_42.gemfile
168
+ - gemfiles/rails_52.gemfile
168
169
  - gemfiles/rails_edge.gemfile
169
170
  - lib/awesome_admin_layout.rb
170
171
  - lib/awesome_admin_layout/engine.rb
@@ -197,7 +198,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
197
198
  version: '0'
198
199
  requirements: []
199
200
  rubyforge_project:
200
- rubygems_version: 2.4.5
201
+ rubygems_version: 2.7.6
201
202
  signing_key:
202
203
  specification_version: 4
203
204
  summary: Providing a simple way to add admin panel layout.