jsend-rails 1.0.0 → 1.1.0

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: f0353a353026041d77635c1b944b898d7069bc4e
4
+ data.tar.gz: 7d98e6478b95244ea4243daf863fa5b4035edacd
5
+ SHA512:
6
+ metadata.gz: 0e8026858dc98296fb9ba2bb206118b2edc58d4a034f3f22dd9b1ce092d3b91bcaf0f44aca8e2f35dc70c19d3fc199f23418a8f5f2960b1c401e5124b8648c10
7
+ data.tar.gz: ec9acf502419765c318f72cea0e484784fa88af3cc2d1c97a3678c030481547b7ae1030fe6abb82a0b27a5f5ac6a59a1f9fad6830d5ba35f741d306f2e082fe8
@@ -1,3 +1,3 @@
1
1
  require 'jsend-rails/envelope'
2
2
  require 'jsend-rails/controller'
3
- require 'jsend-rails/railtie'
3
+ require 'jsend-rails/engine'
@@ -2,8 +2,8 @@ require 'rails'
2
2
 
3
3
  module JSend
4
4
  module Rails
5
- class Railtie < ::Rails::Railtie
6
- initializer "jsend.configure_rails_initialization" do
5
+ class Engine < ::Rails::Engine
6
+ initializer "extend Controller with jsend-rails" do |app|
7
7
  ActionController::Base.send :include, JSend::Rails::Controller
8
8
  end
9
9
  end
@@ -1,5 +1,5 @@
1
1
  module JSend
2
2
  module Rails
3
- VERSION = "1.0.0"
3
+ VERSION = "1.1.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,48 +1,53 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsend-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
5
- prerelease:
4
+ version: 1.1.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Brian Moseley
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-05-31 00:00:00.000000000 Z
11
+ date: 2013-03-11 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rails
16
- requirement: &70345554166580 !ruby/object:Gem::Requirement
17
- none: false
15
+ requirement: !ruby/object:Gem::Requirement
18
16
  requirements:
19
- - - ~>
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
- version: '3.0'
19
+ version: 3.0.0
22
20
  type: :runtime
23
21
  prerelease: false
24
- version_requirements: *70345554166580
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: 3.0.0
25
27
  - !ruby/object:Gem::Dependency
26
28
  name: rspec
27
- requirement: &70345554165960 !ruby/object:Gem::Requirement
28
- none: false
29
+ requirement: !ruby/object:Gem::Requirement
29
30
  requirements:
30
- - - ! '>='
31
+ - - '>='
31
32
  - !ruby/object:Gem::Version
32
33
  version: '0'
33
34
  type: :development
34
35
  prerelease: false
35
- version_requirements: *70345554165960
36
- description: Extensions to Rails 3 for rendering JSend responses
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: Extensions to Rails for rendering JSend responses
37
42
  email:
38
- - bcm@copious.com
43
+ - bcm@maz.org
39
44
  executables: []
40
45
  extensions: []
41
46
  extra_rdoc_files: []
42
47
  files:
43
48
  - lib/jsend-rails/controller.rb
49
+ - lib/jsend-rails/engine.rb
44
50
  - lib/jsend-rails/envelope.rb
45
- - lib/jsend-rails/railtie.rb
46
51
  - lib/jsend-rails/test/matchers.rb
47
52
  - lib/jsend-rails/test/response.rb
48
53
  - lib/jsend-rails/version.rb
@@ -50,26 +55,25 @@ files:
50
55
  - README.md
51
56
  homepage: http://github.com/utahstreetlabs/jsend-rails
52
57
  licenses: []
58
+ metadata: {}
53
59
  post_install_message:
54
60
  rdoc_options: []
55
61
  require_paths:
56
62
  - lib
57
63
  required_ruby_version: !ruby/object:Gem::Requirement
58
- none: false
59
64
  requirements:
60
- - - ! '>='
65
+ - - '>='
61
66
  - !ruby/object:Gem::Version
62
67
  version: '0'
63
68
  required_rubygems_version: !ruby/object:Gem::Requirement
64
- none: false
65
69
  requirements:
66
- - - ! '>='
70
+ - - '>='
67
71
  - !ruby/object:Gem::Version
68
72
  version: '0'
69
73
  requirements: []
70
74
  rubyforge_project:
71
- rubygems_version: 1.8.11
75
+ rubygems_version: 2.0.0
72
76
  signing_key:
73
- specification_version: 3
74
- summary: Extends Rails 3 to render JSON responses in the JSend format
77
+ specification_version: 4
78
+ summary: Extends Rails to render JSON responses in the JSend format
75
79
  test_files: []