devise-i18n-bootstrap 0.3.0.beta → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +18 -1
  3. data/app/views/devise/_links.erb +3 -3
  4. data/app/views/devise/confirmations/new.html.erb +10 -7
  5. data/app/views/devise/mailer/confirmation_instructions.html.erb +6 -4
  6. data/app/views/devise/mailer/reset_password_instructions.html.erb +5 -5
  7. data/app/views/devise/mailer/unlock_instructions.html.erb +4 -4
  8. data/app/views/devise/passwords/edit.html.erb +11 -10
  9. data/app/views/devise/passwords/new.html.erb +10 -7
  10. data/app/views/devise/registrations/edit.html.erb +24 -16
  11. data/app/views/devise/registrations/new.html.erb +12 -13
  12. data/app/views/devise/sessions/_navbar_new.html.erb +18 -0
  13. data/app/views/devise/sessions/new.html.erb +13 -15
  14. data/app/views/devise/shared/_links.erb +6 -6
  15. data/app/views/devise/unlocks/new.html.erb +11 -7
  16. data/config/locales/de.yml +3 -3
  17. data/config/locales/en.yml +10 -1
  18. data/config/locales/hu.yml +70 -10
  19. data/lib/devise-i18n-bootstrap.rb +4 -21
  20. data/lib/devise_i18n_bootstrap/engine.rb +20 -0
  21. data/lib/devise_i18n_bootstrap/version.rb +3 -0
  22. data/lib/generators/devise/views/i18n_templates/i18n_templates_generator.rb +1 -1
  23. data/spec/controllers/home_controller_spec.rb +12 -0
  24. data/spec/devise_i18n_bootstrap_spec.rb +12 -0
  25. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  26. data/spec/dummy/app/controllers/home_controller.rb +6 -0
  27. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  28. data/spec/dummy/app/helpers/home_helper.rb +2 -0
  29. data/spec/dummy/app/models/user.rb +7 -0
  30. data/spec/dummy/config/application.rb +23 -0
  31. data/spec/dummy/config/boot.rb +5 -0
  32. data/spec/dummy/config/environment.rb +5 -0
  33. data/spec/dummy/config/environments/development.rb +38 -0
  34. data/spec/dummy/config/environments/production.rb +82 -0
  35. data/spec/dummy/config/environments/test.rb +40 -0
  36. data/spec/dummy/config/initializers/assets.rb +8 -0
  37. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  38. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  39. data/spec/dummy/config/initializers/devise.rb +256 -0
  40. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  41. data/spec/dummy/config/initializers/inflections.rb +16 -0
  42. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  43. data/spec/dummy/config/initializers/session_store.rb +3 -0
  44. data/spec/dummy/config/initializers/simple_form.rb +165 -0
  45. data/spec/dummy/config/initializers/simple_form_bootstrap.rb +128 -0
  46. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  47. data/spec/dummy/config/routes.rb +60 -0
  48. data/spec/dummy/db/migrate/20140729100536_devise_create_users.rb +41 -0
  49. data/spec/dummy/db/schema.rb +43 -0
  50. data/spec/features/sessions_spec.rb +1 -0
  51. data/spec/spec_helper.rb +28 -0
  52. metadata +204 -21
  53. data/.document +0 -5
  54. data/.project +0 -12
  55. data/.rspec +0 -1
  56. data/Gemfile +0 -9
  57. data/Rakefile +0 -30
  58. data/VERSION +0 -1
  59. data/devise-i18n-bootstrap.gemspec +0 -95
  60. data/spec/devise-i18n-bootstrap_spec.rb +0 -8
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.3.0.beta
@@ -1,95 +0,0 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
- # -*- encoding: utf-8 -*-
5
- # stub: devise-i18n-bootstrap 0.3.0.beta ruby lib
6
-
7
- Gem::Specification.new do |s|
8
- s.name = "devise-i18n-bootstrap"
9
- s.version = "0.3.0.beta"
10
-
11
- s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
12
- s.require_paths = ["lib"]
13
- s.authors = ["mcasimir", "Jozsef Nyitrai"]
14
- s.date = "2014-05-21"
15
- s.description = "I18n support for devise views based on Twitter Bootstrap 3"
16
- s.email = "nyitrai@maximalink.com"
17
- s.extra_rdoc_files = [
18
- "LICENSE.txt",
19
- "README.md"
20
- ]
21
- s.files = [
22
- ".document",
23
- ".project",
24
- ".rspec",
25
- "Gemfile",
26
- "LICENSE.txt",
27
- "README.md",
28
- "Rakefile",
29
- "VERSION",
30
- "app/views/devise/_links.erb",
31
- "app/views/devise/confirmations/new.html.erb",
32
- "app/views/devise/mailer/confirmation_instructions.html.erb",
33
- "app/views/devise/mailer/reset_password_instructions.html.erb",
34
- "app/views/devise/mailer/unlock_instructions.html.erb",
35
- "app/views/devise/passwords/edit.html.erb",
36
- "app/views/devise/passwords/new.html.erb",
37
- "app/views/devise/registrations/edit.html.erb",
38
- "app/views/devise/registrations/new.html.erb",
39
- "app/views/devise/sessions/new.html.erb",
40
- "app/views/devise/shared/_links.erb",
41
- "app/views/devise/unlocks/new.html.erb",
42
- "config/locales/bg.yml",
43
- "config/locales/ca.yml",
44
- "config/locales/de.yml",
45
- "config/locales/en.yml",
46
- "config/locales/es-AR.yml",
47
- "config/locales/es-ES.yml",
48
- "config/locales/es.yml",
49
- "config/locales/fr.yml",
50
- "config/locales/hu.yml",
51
- "config/locales/it.yml",
52
- "config/locales/nl.yml",
53
- "config/locales/pl.yml",
54
- "config/locales/pt-BR.yml",
55
- "config/locales/ru.yml",
56
- "config/locales/tr.yml",
57
- "config/locales/zh-CN.yml",
58
- "config/locales/zh-TW.yml",
59
- "devise-i18n-bootstrap.gemspec",
60
- "lib/devise-i18n-bootstrap.rb",
61
- "lib/generators/devise/views/i18n_templates/i18n_templates_generator.rb",
62
- "lib/generators/devise/views/locale/locale_generator.rb",
63
- "spec/devise-i18n-bootstrap_spec.rb",
64
- "spec/spec_helper.rb"
65
- ]
66
- s.homepage = "http://github.com/maximalink/devise-i18n-bootstrap"
67
- s.licenses = ["MIT"]
68
- s.rubygems_version = "2.2.2"
69
- s.summary = "I18n support for devise views based on Twitter Bootstrap 3"
70
-
71
- if s.respond_to? :specification_version then
72
- s.specification_version = 4
73
-
74
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
75
- s.add_development_dependency(%q<rspec>, [">= 2.4.0"])
76
- s.add_development_dependency(%q<bundler>, [">= 0"])
77
- s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
78
- s.add_development_dependency(%q<i18n-spec>, [">= 0"])
79
- s.add_development_dependency(%q<localeapp>, [">= 0"])
80
- else
81
- s.add_dependency(%q<rspec>, [">= 2.4.0"])
82
- s.add_dependency(%q<bundler>, [">= 0"])
83
- s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
84
- s.add_dependency(%q<i18n-spec>, [">= 0"])
85
- s.add_dependency(%q<localeapp>, [">= 0"])
86
- end
87
- else
88
- s.add_dependency(%q<rspec>, [">= 2.4.0"])
89
- s.add_dependency(%q<bundler>, [">= 0"])
90
- s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
91
- s.add_dependency(%q<i18n-spec>, [">= 0"])
92
- s.add_dependency(%q<localeapp>, [">= 0"])
93
- end
94
- end
95
-
@@ -1,8 +0,0 @@
1
- require 'spec_helper'
2
-
3
- Dir.glob('config/locales/*.yml').each do |locale_file|
4
- describe "a devise-i18n-bootstrap #{locale_file} locale file" do
5
- it_behaves_like 'a valid locale file', locale_file
6
- it { locale_file.should be_a_subset_of 'config/locales/en.yml' }
7
- end
8
- end