partially_useful 5.0.0 → 5.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 28c2fc26fa22c317241dd939c12f030593aed021
4
- data.tar.gz: 8534d88416172b5902b2a7a7680435b36090f1e9
3
+ metadata.gz: 19e2718d8968704f70abfbfe20bd6d17246c7357
4
+ data.tar.gz: bef252b72283c9306a98163a0904cb010dd48b48
5
5
  SHA512:
6
- metadata.gz: b97efd12bfc36b131813ea1137373aa1db573c8454175cd4978a0cab96ab136369393c906d72f1d2f9c8784d5072862b8927210e67b34541c8b46c1dfda8ed1a
7
- data.tar.gz: cc6cee3ae6d5b405c01256da73698f6740ffd024c8afb88a69ccedda6c1dbd4bf46beeb69ddac46f7f98209429b983eb28595e3b302e8b78e682c7061e715bcf
6
+ metadata.gz: 741549676399a8f9ecfe84a32eb593fdfa5f1aadbc148a8cfe287f9a0a1c7d63ffecd04cad373fdcbb159bbd5be06036afec18e905ea5b12e92505ff4a66daac
7
+ data.tar.gz: 04c99a32c556153aef94b3fe6179ea883c7b80a11f68c7a224ef6268dcbf72389698977759f9edf2db61869ed8a80df42e2a9300d873093782e46b6f6a60f857
data/.gitignore CHANGED
@@ -4,3 +4,4 @@ log/*.log
4
4
  pkg/
5
5
  test/dummy/log/*.log
6
6
  test/dummy/tmp/
7
+ gemfiles/*.lock
data/.travis.yml CHANGED
@@ -1,3 +1,10 @@
1
+ sudo: false
1
2
  script: "bundle exec rake"
2
3
  rvm:
3
- - 2.2.0
4
+ - 2.4.1
5
+ - 2.2.2
6
+ gemfile:
7
+ - gemfiles/railties-5-0.gemfile
8
+ - gemfiles/railties-5-1.gemfile
9
+ notifications:
10
+ email: false
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ # 5.1.0
2
+
3
+ * compatibility with rails 5.1 (#5 @Edouard-chin)
4
+ * remove responders gem (#6 @phoet)
5
+
1
6
  # 5.0.0
2
7
 
3
8
  * compatibility with rails 5 (#4 @kirs)
data/Gemfile CHANGED
@@ -2,5 +2,4 @@ source "https://rubygems.org"
2
2
 
3
3
  gemspec
4
4
 
5
- gem "responders", '~> 2.0'
6
5
  gem "byebug", platforms: :ruby_20
data/Gemfile.lock CHANGED
@@ -1,85 +1,69 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- partially_useful (5.0.0)
5
- railties (>= 4.1, < 5.1)
4
+ partially_useful (5.1.0)
5
+ railties (>= 4.1)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actionpack (5.0.0.rc1)
11
- actionview (= 5.0.0.rc1)
12
- activesupport (= 5.0.0.rc1)
13
- rack (~> 2.x)
10
+ actionpack (5.1.1)
11
+ actionview (= 5.1.1)
12
+ activesupport (= 5.1.1)
13
+ rack (~> 2.0)
14
14
  rack-test (~> 0.6.3)
15
- rails-dom-testing (~> 1.0, >= 1.0.5)
15
+ rails-dom-testing (~> 2.0)
16
16
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
17
- actionview (5.0.0.rc1)
18
- activesupport (= 5.0.0.rc1)
17
+ actionview (5.1.1)
18
+ activesupport (= 5.1.1)
19
19
  builder (~> 3.1)
20
- erubis (~> 2.7.0)
21
- rails-dom-testing (~> 1.0, >= 1.0.5)
22
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
23
- activesupport (5.0.0.rc1)
20
+ erubi (~> 1.4)
21
+ rails-dom-testing (~> 2.0)
22
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
23
+ activesupport (5.1.1)
24
24
  concurrent-ruby (~> 1.0, >= 1.0.2)
25
25
  i18n (~> 0.7)
26
26
  minitest (~> 5.1)
27
27
  tzinfo (~> 1.1)
28
- builder (3.2.2)
29
- byebug (9.0.5)
30
- concurrent-ruby (1.0.2)
31
- concurrent-ruby (1.0.2-java)
32
- erubis (2.7.0)
33
- i18n (0.7.0)
34
- json (1.8.3)
35
- json (1.8.3-java)
28
+ builder (3.2.3)
29
+ concurrent-ruby (1.0.5)
30
+ erubi (1.6.0)
31
+ i18n (0.8.1)
36
32
  loofah (2.0.3)
37
33
  nokogiri (>= 1.5.9)
38
34
  method_source (0.8.2)
39
35
  mini_portile2 (2.1.0)
40
- minitest (5.9.0)
41
- nokogiri (1.6.8)
36
+ minitest (5.10.2)
37
+ nokogiri (1.7.2)
42
38
  mini_portile2 (~> 2.1.0)
43
- pkg-config (~> 1.1.7)
44
- nokogiri (1.6.8-java)
45
- pkg-config (1.1.7)
46
- rack (2.0.0.rc1)
47
- json
39
+ rack (2.0.3)
48
40
  rack-test (0.6.3)
49
41
  rack (>= 1.0)
50
- rails-deprecated_sanitizer (1.0.3)
51
- activesupport (>= 4.2.0.alpha)
52
- rails-dom-testing (1.0.7)
53
- activesupport (>= 4.2.0.beta, < 5.0)
54
- nokogiri (~> 1.6.0)
55
- rails-deprecated_sanitizer (>= 1.0.1)
42
+ rails-dom-testing (2.0.3)
43
+ activesupport (>= 4.2.0)
44
+ nokogiri (>= 1.6)
56
45
  rails-html-sanitizer (1.0.3)
57
46
  loofah (~> 2.0)
58
- railties (5.0.0.rc1)
59
- actionpack (= 5.0.0.rc1)
60
- activesupport (= 5.0.0.rc1)
47
+ railties (5.1.1)
48
+ actionpack (= 5.1.1)
49
+ activesupport (= 5.1.1)
61
50
  method_source
62
51
  rake (>= 0.8.7)
63
52
  thor (>= 0.18.1, < 2.0)
64
- rake (10.5.0)
65
- responders (2.2.0)
66
- railties (>= 4.2.0, < 5.1)
67
- thor (0.19.1)
68
- thread_safe (0.3.5)
69
- thread_safe (0.3.5-java)
70
- tzinfo (1.2.2)
53
+ rake (12.0.0)
54
+ thor (0.19.4)
55
+ thread_safe (0.3.6)
56
+ tzinfo (1.2.3)
71
57
  thread_safe (~> 0.1)
72
58
 
73
59
  PLATFORMS
74
- java
75
60
  ruby
76
61
 
77
62
  DEPENDENCIES
78
- bundler (~> 1.6)
63
+ bundler (>= 1.6)
79
64
  byebug
80
65
  partially_useful!
81
- rake (~> 10.0)
82
- responders (~> 2.0)
66
+ rake (>= 10.0)
83
67
 
84
68
  BUNDLED WITH
85
- 1.11.2
69
+ 1.14.6
data/README.md CHANGED
@@ -43,11 +43,12 @@ If you run into any problems, make sure to disable the gem and restart your Rail
43
43
 
44
44
  ## Supported Ruby and Rails versions
45
45
 
46
- Version 5.0.0 has support for Rails 5 and Ruby 2.2, older versions are supported by the 0.x releases.
46
+ Version 5.1.0 has support for Rails 5.x and Ruby 2.x.
47
+ Older Rails and Ruby versions are supported by the 0.x releases.
47
48
 
48
49
  ## Contributing
49
50
 
50
- 1. Fork it ( https://github.com/[my-github-username]/partially_useful/fork )
51
+ 1. Fork it ( https://github.com/phoet/partially_useful/fork )
51
52
  2. Create your feature branch (`git checkout -b my-new-feature`)
52
53
  3. Commit your changes (`git commit -am 'Add some feature'`)
53
54
  4. Push to the branch (`git push origin my-new-feature`)
@@ -0,0 +1,5 @@
1
+ source "https://rubygems.org"
2
+
3
+ gemspec path: '..'
4
+
5
+ gem 'railties', '~> 5.0'
@@ -0,0 +1,5 @@
1
+ source "https://rubygems.org"
2
+
3
+ gemspec path: '..'
4
+
5
+ gem 'railties', '~> 5.1'
@@ -1,3 +1,3 @@
1
1
  module PartiallyUseful
2
- VERSION = "5.0.0"
2
+ VERSION = "5.1.0"
3
3
  end
@@ -18,8 +18,8 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency 'railties', '>= 4.1', '< 5.1'
21
+ spec.add_dependency 'railties', '>= 4.1'
22
22
 
23
- spec.add_development_dependency "bundler", "~> 1.6"
24
- spec.add_development_dependency "rake", "~> 10.0"
23
+ spec.add_development_dependency "bundler", ">= 1.6"
24
+ spec.add_development_dependency "rake", ">= 10.0"
25
25
  end
@@ -1,7 +1,9 @@
1
1
  class WelcomeController < ApplicationController
2
- respond_to :html, :json, :xml
3
-
4
2
  def index
5
- respond_with({})
3
+ respond_to do |format|
4
+ format.html
5
+ format.xml
6
+ format.json { render json: {} }
7
+ end
6
8
  end
7
9
  end
@@ -7,7 +7,6 @@ require 'action_view/railtie'
7
7
  # you've limited to :test, :development, or :production.
8
8
  Bundler.require(*Rails.groups)
9
9
  require "partially_useful"
10
- require "responders" if Rails::VERSION::MINOR >= 2
11
10
 
12
11
  module Dummy
13
12
  class Application < Rails::Application
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: partially_useful
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0
4
+ version: 5.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - phoet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-17 00:00:00.000000000 Z
11
+ date: 2017-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -17,9 +17,6 @@ dependencies:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '4.1'
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: '5.1'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
@@ -27,35 +24,32 @@ dependencies:
27
24
  - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: '4.1'
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: '5.1'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: bundler
35
29
  requirement: !ruby/object:Gem::Requirement
36
30
  requirements:
37
- - - "~>"
31
+ - - ">="
38
32
  - !ruby/object:Gem::Version
39
33
  version: '1.6'
40
34
  type: :development
41
35
  prerelease: false
42
36
  version_requirements: !ruby/object:Gem::Requirement
43
37
  requirements:
44
- - - "~>"
38
+ - - ">="
45
39
  - !ruby/object:Gem::Version
46
40
  version: '1.6'
47
41
  - !ruby/object:Gem::Dependency
48
42
  name: rake
49
43
  requirement: !ruby/object:Gem::Requirement
50
44
  requirements:
51
- - - "~>"
45
+ - - ">="
52
46
  - !ruby/object:Gem::Version
53
47
  version: '10.0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
51
  requirements:
58
- - - "~>"
52
+ - - ">="
59
53
  - !ruby/object:Gem::Version
60
54
  version: '10.0'
61
55
  description: Helps finding partials in large html pages
@@ -72,6 +66,8 @@ files:
72
66
  - Gemfile.lock
73
67
  - README.md
74
68
  - Rakefile
69
+ - gemfiles/railties-5-0.gemfile
70
+ - gemfiles/railties-5-1.gemfile
75
71
  - lib/partially_useful.rb
76
72
  - lib/partially_useful/partial_renderer.rb
77
73
  - lib/partially_useful/railtie.rb
@@ -130,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
130
126
  version: '0'
131
127
  requirements: []
132
128
  rubyforge_project:
133
- rubygems_version: 2.5.1
129
+ rubygems_version: 2.6.8
134
130
  signing_key:
135
131
  specification_version: 4
136
132
  summary: Helps finding partials in large html pages