devise_phone 0.0.162 → 0.0.164

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bb6a1d8c1fa4dbfbb3f893ce237da7fbb9a2ee26
4
- data.tar.gz: 6724c04240658c54863983b51873358a5570d840
3
+ metadata.gz: 2908cbcc2f76d5f90a6a319864e65b980a0b3754
4
+ data.tar.gz: e1e4247c124c076258e20ceef4c9b3741e1b4aff
5
5
  SHA512:
6
- metadata.gz: e334317035c70ffa9520f2a6677d1325a07937853d63e218dc4e72e3909729442d148e2d9db84f3be18a472823441f22629086319359e8c67096f765757f8ae6
7
- data.tar.gz: a7f556e54fb654f5944157fc22cd8112d4b9d1af847524e7b7441a16dc0891777151f82ab96c2945c55d358b80f8879ac80d90f7480b6b3466736f8c4214e5b5
6
+ metadata.gz: 06164a61896a8d952d9b12cac52f5536a5716f7c08621782ab32091b08256ed81228c963f01e8c921dd41a6d676cfa239f0921a4ea22a221353e056cc413fb9a
7
+ data.tar.gz: 0e0ecf25d74cf692afb78dcc813bc410e282a0b2870578a62509e3aa47236cc11bb548a2f7f2c93e36a583b1aaa0946d62aa968bf7b6b73b9669780126731ce6
data/Gemfile.lock CHANGED
@@ -6,3 +6,6 @@ PLATFORMS
6
6
  ruby
7
7
 
8
8
  DEPENDENCIES
9
+
10
+ BUNDLED WITH
11
+ 1.10.3
@@ -1,3 +1,3 @@
1
1
  module DevisePhone
2
- VERSION = "0.0.162".freeze
2
+ VERSION = "0.0.164".freeze
3
3
  end
@@ -3,8 +3,19 @@ require 'generators/devise/views_generator'
3
3
  module DevisePhone
4
4
  module Generators
5
5
  class ViewsGenerator < Devise::Generators::ViewsGenerator
6
- source_root File.expand_path("../../../../app/views", __FILE__)
6
+ source_root File.expand_path("../../../../app/views/devise", __FILE__)
7
7
  desc 'Copies all DevisePhone views to your application.'
8
+
9
+ def generate_view
10
+ directory 'phone', "#{target_path}/phone"
11
+ # directory 'path_to_install_directory', 'path_to_source_directory'
12
+ end
13
+
14
+ def target_path
15
+ @target_path ||= "app/views/#{scope || :devise}"
16
+ end
17
+
18
+
8
19
  end
9
20
  end
10
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise_phone
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.162
4
+ version: 0.0.164
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hubert Theodore