devise 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of devise might be problematic. Click here for more details.

@@ -1,3 +1,8 @@
1
+ == 1.1.1
2
+
3
+ * bugfix
4
+ * Fix a small bug where generated locale file was empty on devise:install
5
+
1
6
  == 1.1.0
2
7
 
3
8
  * enhancements
@@ -1,3 +1,3 @@
1
1
  module Devise
2
- VERSION = "1.1.0".freeze
2
+ VERSION = "1.1.1".freeze
3
3
  end
@@ -3,7 +3,7 @@ require 'active_support/secure_random'
3
3
  module Devise
4
4
  module Generators
5
5
  class InstallGenerator < Rails::Generators::Base
6
- source_root File.expand_path("../templates", __FILE__)
6
+ source_root File.expand_path("../../templates", __FILE__)
7
7
 
8
8
  desc "Creates a Devise initializer and copy locale files to your application."
9
9
  class_option :orm
@@ -13,11 +13,11 @@ module Devise
13
13
  end
14
14
 
15
15
  def copy_locale
16
- copy_file "../../../../config/locales/en.yml", "config/locales/devise.en.yml"
16
+ copy_file "../../../config/locales/en.yml", "config/locales/devise.en.yml"
17
17
  end
18
18
 
19
19
  def show_readme
20
- readme "README"
20
+ readme "README" if behavior == :invoke
21
21
  end
22
22
  end
23
23
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 0
10
- version: 1.1.0
9
+ - 1
10
+ version: 1.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Jos\xC3\xA9 Valim"
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-07-26 00:00:00 +02:00
19
+ date: 2010-07-27 00:00:00 +02:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
@@ -141,12 +141,12 @@ files:
141
141
  - lib/generators/devise/devise_generator.rb
142
142
  - lib/generators/devise/install_generator.rb
143
143
  - lib/generators/devise/orm_helpers.rb
144
- - lib/generators/devise/templates/README
145
- - lib/generators/devise/templates/devise.rb
146
144
  - lib/generators/devise/views_generator.rb
147
145
  - lib/generators/devise_install_generator.rb
148
146
  - lib/generators/devise_views_generator.rb
149
147
  - lib/generators/mongoid/devise_generator.rb
148
+ - lib/generators/templates/README
149
+ - lib/generators/templates/devise.rb
150
150
  - test/controllers/helpers_test.rb
151
151
  - test/controllers/internal_helpers_test.rb
152
152
  - test/controllers/url_helpers_test.rb