themeable 1.1.2 → 1.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: a5bb1e6b2529b268b42b182e56d116fd3042b39d
4
- data.tar.gz: 53be1d6079a7649c9959f014fb8a82cb74739d2e
3
+ metadata.gz: 1f9d94f34e40c6a4f0317bdf9089f1e87febf3ad
4
+ data.tar.gz: 28cfe63d945f4c13f1ee76f9aafa2218074d12b5
5
5
  SHA512:
6
- metadata.gz: aefe05ff70f16555425df60467819202ddda9fd8e54e834a0b79ef35e9aaf3292a84c8db790b2334d221af024ae973639e3376f1adf6016bcc2d67973d05dbc6
7
- data.tar.gz: 2f49155a947215bd03deea16dcd25651796f0296c6a3f760acb5c28b37cf3e08dbbbcb872d3c2f26309e99a7ec35129b3356f0a731c73610ca59f3517219f499
6
+ metadata.gz: a6d05fa41d91a9cd9c8387107a4e1c4797538918dd3fc714de9ab470760d3e71aec102c5b99901c86fbd8c3c72d3d33e47742b91f0f143324c049aa2ddac2e51
7
+ data.tar.gz: 2547d1a63a0aad7de87607a1bbef3e7b2bd85294e83b01744f71908f6303f27eb74a7d0bee402b8e7480f65fcbf7d5762c368c1a88a74228284ec6614739d79c
@@ -20,7 +20,7 @@ module Themeable
20
20
  theme = Themeable.theme(__themeable_theme_name)
21
21
  theme_view_path = File.join(theme.root_path, theme.theme_path, 'views')
22
22
  view_paths.insert(1, theme_view_path)
23
- view_paths.insert(0, Rails.root.join("app/themes/#{theme_name}"))
23
+ view_paths.insert(0, Rails.root.join('app/themes/', theme_name).to_s)
24
24
  lookup_context.view_paths = view_paths
25
25
  end
26
26
  RUBY
@@ -15,7 +15,7 @@ module Themeable
15
15
  super(themed_file)
16
16
  rescue Thor::Error => e
17
17
  if e.message =~ /^Could not find /
18
- say "Can't find themed file #{themed_file}, use default template", :yellow
18
+ say "Can't find themed file #{themed_file}, use default template", :yellow unless @behavior == :revoke
19
19
  return super(file)
20
20
  else
21
21
  raise
@@ -1,3 +1,3 @@
1
1
  module Themeable
2
- VERSION = "1.1.2"
2
+ VERSION = "1.1.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: themeable
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - xiaohui
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-21 00:00:00.000000000 Z
11
+ date: 2016-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
98
  version: '0'
99
99
  requirements: []
100
100
  rubyforge_project:
101
- rubygems_version: 2.4.8
101
+ rubygems_version: 2.6.7
102
102
  signing_key:
103
103
  specification_version: 4
104
104
  summary: A tool for creating theme.