partially_useful 0.2.2 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +1 -6
- data/CHANGELOG.md +4 -0
- data/Gemfile +1 -4
- data/Gemfile.lock +41 -34
- data/README.md +2 -2
- data/lib/partially_useful/version.rb +1 -1
- data/partially_useful.gemspec +1 -1
- data/test/dummy/config/environments/test.rb +1 -2
- metadata +11 -7
- data/test/dummy/config/initializers/assets.rb +0 -11
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 28c2fc26fa22c317241dd939c12f030593aed021
|
|
4
|
+
data.tar.gz: 8534d88416172b5902b2a7a7680435b36090f1e9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b97efd12bfc36b131813ea1137373aa1db573c8454175cd4978a0cab96ab136369393c906d72f1d2f9c8784d5072862b8927210e67b34541c8b46c1dfda8ed1a
|
|
7
|
+
data.tar.gz: cc6cee3ae6d5b405c01256da73698f6740ffd024c8afb88a69ccedda6c1dbd4bf46beeb69ddac46f7f98209429b983eb28595e3b302e8b78e682c7061e715bcf
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,65 +1,69 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
partially_useful (0.
|
|
5
|
-
railties (
|
|
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 (
|
|
11
|
-
actionview (=
|
|
12
|
-
activesupport (=
|
|
13
|
-
rack (~>
|
|
14
|
-
rack-test (~> 0.6.
|
|
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.
|
|
17
|
-
actionview (
|
|
18
|
-
activesupport (=
|
|
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.
|
|
23
|
-
activesupport (
|
|
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 (
|
|
31
|
-
|
|
32
|
-
|
|
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.
|
|
36
|
-
json (1.8.
|
|
37
|
-
loofah (2.0.
|
|
34
|
+
json (1.8.3)
|
|
35
|
+
json (1.8.3-java)
|
|
36
|
+
loofah (2.0.3)
|
|
38
37
|
nokogiri (>= 1.5.9)
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
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.
|
|
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.
|
|
56
|
+
rails-html-sanitizer (1.0.3)
|
|
54
57
|
loofah (~> 2.0)
|
|
55
|
-
railties (
|
|
56
|
-
actionpack (=
|
|
57
|
-
activesupport (=
|
|
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.
|
|
61
|
-
responders (2.
|
|
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
|
-
|
|
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
|
|
data/partially_useful.gemspec
CHANGED
|
@@ -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', '
|
|
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.
|
|
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.
|
|
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:
|
|
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.
|
|
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 )
|