errors-renderer 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 06073f5b7ed17d1b6882afb7e751013fbf287229
4
+ data.tar.gz: 72ef5eea370668018956e6fff25311cd0f851fa6
5
+ SHA512:
6
+ metadata.gz: 2d2426cbe92b397bb94d2d3712ed403b020582b38f8b0aacfda6728ae0a57f7fb465ec69f2a7c1e3f91f62ea7ae8e9aa6cda130e6ba5f68e545f28894cc2ddae
7
+ data.tar.gz: 62e58ef388f142cef66376dca0bc003fc5ffbdfcf8ff09076f026e39b8278f673fa8cfa3fb5a9de23d2fb5326588bd7676147cfcc64db3b694ba666f510acc76
@@ -17,8 +17,9 @@ module ErrorsRenderer::Implants
17
17
  self.response.error_codes = @response_error_codes
18
18
  self.response.status = status
19
19
  self.respond_to do |format|
20
- format.html { self.render(template: 'errors/response') }
21
20
  format.any(:json, :xml) { self.render(template: options[:template]) }
21
+ # html and neatpage yet
22
+ format.any { self.render(template: 'errors/response') }
22
23
  end
23
24
  end
24
25
 
metadata CHANGED
@@ -1,38 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: errors-renderer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
5
- prerelease:
4
+ version: 0.0.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Sebastien Rosa
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-01-14 00:00:00.000000000 Z
11
+ date: 2014-01-27 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
- requirement: &2159489980 !ruby/object:Gem::Requirement
14
+ name: rake
15
+ requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.8.7
20
- none: false
21
- prerelease: false
22
20
  type: :development
23
- name: rake
24
- version_requirements: *2159489980
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 0.8.7
25
27
  - !ruby/object:Gem::Dependency
26
- requirement: &2159489320 !ruby/object:Gem::Requirement
28
+ name: rspec
29
+ requirement: !ruby/object:Gem::Requirement
27
30
  requirements:
28
- - - ! '>='
31
+ - - ">="
29
32
  - !ruby/object:Gem::Version
30
33
  version: '2.0'
31
- none: false
32
- prerelease: false
33
34
  type: :development
34
- name: rspec
35
- version_requirements: *2159489320
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '2.0'
36
41
  description: ''
37
42
  email:
38
43
  - sebastien@demarque.com
@@ -42,43 +47,43 @@ extra_rdoc_files:
42
47
  - LICENSE
43
48
  - README.md
44
49
  files:
50
+ - Gemfile
51
+ - LICENSE
52
+ - README.md
53
+ - Rakefile
54
+ - lib/errors-renderer.rb
45
55
  - lib/errors-renderer/engine.rb
46
56
  - lib/errors-renderer/errors.rb
57
+ - lib/errors-renderer/implants.rb
47
58
  - lib/errors-renderer/implants/active_model_errors.rb
48
59
  - lib/errors-renderer/implants/controller_actions.rb
49
60
  - lib/errors-renderer/implants/railtie.rb
50
- - lib/errors-renderer/implants.rb
51
61
  - lib/errors-renderer/localizor.rb
52
- - lib/errors-renderer.rb
53
62
  - spec/errors-renderer_spec.rb
54
63
  - spec/spec_helper.rb
55
- - LICENSE
56
- - README.md
57
- - Rakefile
58
- - Gemfile
59
64
  homepage: https://github.com/demarque/errors-renderer
60
65
  licenses:
61
66
  - MIT
67
+ metadata: {}
62
68
  post_install_message:
63
69
  rdoc_options: []
64
70
  require_paths:
65
71
  - lib
66
72
  required_ruby_version: !ruby/object:Gem::Requirement
67
73
  requirements:
68
- - - ! '>='
74
+ - - ">="
69
75
  - !ruby/object:Gem::Version
70
76
  version: '0'
71
- none: false
72
77
  required_rubygems_version: !ruby/object:Gem::Requirement
73
78
  requirements:
74
- - - ! '>='
79
+ - - ">="
75
80
  - !ruby/object:Gem::Version
76
81
  version: '0'
77
- none: false
78
82
  requirements: []
79
83
  rubyforge_project: errors-renderer
80
- rubygems_version: 1.8.10
84
+ rubygems_version: 2.2.1
81
85
  signing_key:
82
- specification_version: 3
86
+ specification_version: 4
83
87
  summary: ''
84
88
  test_files: []
89
+ has_rdoc: