partially_useful 0.2.2 → 5.0.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: 1ebef1233f73625b5e0f211d5dc79cfb37da095a
4
- data.tar.gz: 095852829c6266185cd9ec0bf06ff8566bb031fc
3
+ metadata.gz: 28c2fc26fa22c317241dd939c12f030593aed021
4
+ data.tar.gz: 8534d88416172b5902b2a7a7680435b36090f1e9
5
5
  SHA512:
6
- metadata.gz: 70889c869a76d1bb45b9d56937be2110fb6203905cd2f52558d79d3a1911db253657a8e0738d62df12e06eebb17d446c35103b482011aede7e1d0414bd469c0f
7
- data.tar.gz: b1373344087cd5f048eda1f5c9e27a2620aa307c96fb95cbf91f31523a73ed4dfeab96a1c64b8f5abe4a64840ceb5921973b6c830c380b530416e5e5b9da9875
6
+ metadata.gz: b97efd12bfc36b131813ea1137373aa1db573c8454175cd4978a0cab96ab136369393c906d72f1d2f9c8784d5072862b8927210e67b34541c8b46c1dfda8ed1a
7
+ data.tar.gz: cc6cee3ae6d5b405c01256da73698f6740ffd024c8afb88a69ccedda6c1dbd4bf46beeb69ddac46f7f98209429b983eb28595e3b302e8b78e682c7061e715bcf
@@ -1,8 +1,3 @@
1
1
  script: "bundle exec rake"
2
2
  rvm:
3
- - rbx-2
4
- - jruby-19mode
5
- - 1.9.3
6
- - 2.0.0
7
- - 2.1.0
8
- - 2.1.1
3
+ - 2.2.0
@@ -1,3 +1,7 @@
1
+ # 5.0.0
2
+
3
+ * compatibility with rails 5 (#4 @kirs)
4
+
1
5
  # 0.2.2
2
6
 
3
7
  * loosen rails dependency
data/Gemfile CHANGED
@@ -2,8 +2,5 @@ source "https://rubygems.org"
2
2
 
3
3
  gemspec
4
4
 
5
- group :rails_4_2 do
6
- gem "responders", '~> 2.0'
7
- end
8
-
5
+ gem "responders", '~> 2.0'
9
6
  gem "byebug", platforms: :ruby_20
@@ -1,65 +1,69 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- partially_useful (0.2.2)
5
- railties (~> 4.1)
4
+ partially_useful (5.0.0)
5
+ railties (>= 4.1, < 5.1)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actionpack (4.2.1)
11
- actionview (= 4.2.1)
12
- activesupport (= 4.2.1)
13
- rack (~> 1.6)
14
- rack-test (~> 0.6.2)
10
+ actionpack (5.0.0.rc1)
11
+ actionview (= 5.0.0.rc1)
12
+ activesupport (= 5.0.0.rc1)
13
+ rack (~> 2.x)
14
+ rack-test (~> 0.6.3)
15
15
  rails-dom-testing (~> 1.0, >= 1.0.5)
16
- rails-html-sanitizer (~> 1.0, >= 1.0.1)
17
- actionview (4.2.1)
18
- activesupport (= 4.2.1)
16
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
17
+ actionview (5.0.0.rc1)
18
+ activesupport (= 5.0.0.rc1)
19
19
  builder (~> 3.1)
20
20
  erubis (~> 2.7.0)
21
21
  rails-dom-testing (~> 1.0, >= 1.0.5)
22
- rails-html-sanitizer (~> 1.0, >= 1.0.1)
23
- activesupport (4.2.1)
22
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
23
+ activesupport (5.0.0.rc1)
24
+ concurrent-ruby (~> 1.0, >= 1.0.2)
24
25
  i18n (~> 0.7)
25
- json (~> 1.7, >= 1.7.7)
26
26
  minitest (~> 5.1)
27
- thread_safe (~> 0.3, >= 0.3.4)
28
27
  tzinfo (~> 1.1)
29
28
  builder (3.2.2)
30
- byebug (4.0.4)
31
- columnize (= 0.9.0)
32
- columnize (0.9.0)
29
+ byebug (9.0.5)
30
+ concurrent-ruby (1.0.2)
31
+ concurrent-ruby (1.0.2-java)
33
32
  erubis (2.7.0)
34
33
  i18n (0.7.0)
35
- json (1.8.2)
36
- json (1.8.2-java)
37
- loofah (2.0.1)
34
+ json (1.8.3)
35
+ json (1.8.3-java)
36
+ loofah (2.0.3)
38
37
  nokogiri (>= 1.5.9)
39
- mini_portile (0.6.2)
40
- minitest (5.5.1)
41
- nokogiri (1.6.6.2)
42
- mini_portile (~> 0.6.0)
43
- nokogiri (1.6.6.2-java)
44
- rack (1.6.0)
38
+ method_source (0.8.2)
39
+ mini_portile2 (2.1.0)
40
+ minitest (5.9.0)
41
+ nokogiri (1.6.8)
42
+ 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
45
48
  rack-test (0.6.3)
46
49
  rack (>= 1.0)
47
50
  rails-deprecated_sanitizer (1.0.3)
48
51
  activesupport (>= 4.2.0.alpha)
49
- rails-dom-testing (1.0.6)
52
+ rails-dom-testing (1.0.7)
50
53
  activesupport (>= 4.2.0.beta, < 5.0)
51
54
  nokogiri (~> 1.6.0)
52
55
  rails-deprecated_sanitizer (>= 1.0.1)
53
- rails-html-sanitizer (1.0.2)
56
+ rails-html-sanitizer (1.0.3)
54
57
  loofah (~> 2.0)
55
- railties (4.2.1)
56
- actionpack (= 4.2.1)
57
- activesupport (= 4.2.1)
58
+ railties (5.0.0.rc1)
59
+ actionpack (= 5.0.0.rc1)
60
+ activesupport (= 5.0.0.rc1)
61
+ method_source
58
62
  rake (>= 0.8.7)
59
63
  thor (>= 0.18.1, < 2.0)
60
- rake (10.4.2)
61
- responders (2.1.0)
62
- railties (>= 4.2.0, < 5)
64
+ rake (10.5.0)
65
+ responders (2.2.0)
66
+ railties (>= 4.2.0, < 5.1)
63
67
  thor (0.19.1)
64
68
  thread_safe (0.3.5)
65
69
  thread_safe (0.3.5-java)
@@ -76,3 +80,6 @@ DEPENDENCIES
76
80
  partially_useful!
77
81
  rake (~> 10.0)
78
82
  responders (~> 2.0)
83
+
84
+ BUNDLED WITH
85
+ 1.11.2
data/README.md CHANGED
@@ -41,9 +41,9 @@ HTML comments might subtly break your application when partials are used out of
41
41
 
42
42
  If you run into any problems, make sure to disable the gem and restart your Rails server.
43
43
 
44
- ## Supported Ruby versions
44
+ ## Supported Ruby and Rails versions
45
45
 
46
- See .travis.yml
46
+ Version 5.0.0 has support for Rails 5 and Ruby 2.2, older versions are supported by the 0.x releases.
47
47
 
48
48
  ## Contributing
49
49
 
@@ -1,3 +1,3 @@
1
1
  module PartiallyUseful
2
- VERSION = "0.2.2"
2
+ VERSION = "5.0.0"
3
3
  end
@@ -18,7 +18,7 @@ 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'
21
+ spec.add_dependency 'railties', '>= 4.1', '< 5.1'
22
22
 
23
23
  spec.add_development_dependency "bundler", "~> 1.6"
24
24
  spec.add_development_dependency "rake", "~> 10.0"
@@ -13,8 +13,7 @@ Rails.application.configure do
13
13
  config.eager_load = false
14
14
 
15
15
  # Configure static asset server for tests with Cache-Control for performance.
16
- config.serve_static_assets = true
17
- config.static_cache_control = 'public, max-age=3600'
16
+ config.public_file_server.enabled = true
18
17
 
19
18
  # Show full error reports and disable caching.
20
19
  config.consider_all_requests_local = true
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: partially_useful
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 5.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - phoet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-01 00:00:00.000000000 Z
11
+ date: 2016-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '4.1'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '5.1'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: '4.1'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '5.1'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: bundler
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -90,7 +96,6 @@ files:
90
96
  - test/dummy/config/environment.rb
91
97
  - test/dummy/config/environments/development.rb
92
98
  - test/dummy/config/environments/test.rb
93
- - test/dummy/config/initializers/assets.rb
94
99
  - test/dummy/config/initializers/backtrace_silencers.rb
95
100
  - test/dummy/config/initializers/cookies_serializer.rb
96
101
  - test/dummy/config/initializers/filter_parameter_logging.rb
@@ -125,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
130
  version: '0'
126
131
  requirements: []
127
132
  rubyforge_project:
128
- rubygems_version: 2.4.5
133
+ rubygems_version: 2.5.1
129
134
  signing_key:
130
135
  specification_version: 4
131
136
  summary: Helps finding partials in large html pages
@@ -149,7 +154,6 @@ test_files:
149
154
  - test/dummy/config/environment.rb
150
155
  - test/dummy/config/environments/development.rb
151
156
  - test/dummy/config/environments/test.rb
152
- - test/dummy/config/initializers/assets.rb
153
157
  - test/dummy/config/initializers/backtrace_silencers.rb
154
158
  - test/dummy/config/initializers/cookies_serializer.rb
155
159
  - test/dummy/config/initializers/filter_parameter_logging.rb
@@ -1,11 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Version of your assets, change this if you want to expire all your assets.
4
- Rails.application.config.assets.version = '1.0'
5
-
6
- # Add additional assets to the asset load path
7
- # Rails.application.config.assets.paths << Emoji.images_path
8
-
9
- # Precompile additional assets.
10
- # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
11
- # Rails.application.config.assets.precompile += %w( search.js )