partially_useful 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -0
- data/CHANGELOG.md +8 -0
- data/Gemfile.lock +11 -11
- data/README.md +4 -0
- data/lib/partially_useful.rb +1 -1
- data/lib/partially_useful/{engine.rb → railtie.rb} +2 -2
- data/lib/partially_useful/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e229c40c10a43e789e8898f07979db26e5f8568
|
4
|
+
data.tar.gz: 73857d35476f11ba4c64b35a42178f57d32e483e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f81ff24b5c74de8915a64f18fa74a27922ababe18cc0be3e9f1d66d3a005cee7f6bbd55ef06ce45973e85b3ba444c74407a087248e7906cb716cf2f3d6f3656
|
7
|
+
data.tar.gz: 7d7aa49f72198e4bb70376c1439608880863b0b823798bda1aec5acce21b88f8375f3c0418f99f8baeec02ab7f41fa50ce62b60fe4e72fcc9b8fc316cc35be27
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
ADDED
data/Gemfile.lock
CHANGED
@@ -1,22 +1,22 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
partially_useful (0.0.
|
5
|
-
railties (
|
4
|
+
partially_useful (0.0.2)
|
5
|
+
railties (~> 4.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
actionpack (4.1.
|
11
|
-
actionview (= 4.1.
|
12
|
-
activesupport (= 4.1.
|
10
|
+
actionpack (4.1.0)
|
11
|
+
actionview (= 4.1.0)
|
12
|
+
activesupport (= 4.1.0)
|
13
13
|
rack (~> 1.5.2)
|
14
14
|
rack-test (~> 0.6.2)
|
15
|
-
actionview (4.1.
|
16
|
-
activesupport (= 4.1.
|
15
|
+
actionview (4.1.0)
|
16
|
+
activesupport (= 4.1.0)
|
17
17
|
builder (~> 3.1)
|
18
18
|
erubis (~> 2.7.0)
|
19
|
-
activesupport (4.1.
|
19
|
+
activesupport (4.1.0)
|
20
20
|
i18n (~> 0.6, >= 0.6.9)
|
21
21
|
json (~> 1.7, >= 1.7.7)
|
22
22
|
minitest (~> 5.1)
|
@@ -30,9 +30,9 @@ GEM
|
|
30
30
|
rack (1.5.2)
|
31
31
|
rack-test (0.6.2)
|
32
32
|
rack (>= 1.0)
|
33
|
-
railties (4.1.
|
34
|
-
actionpack (= 4.1.
|
35
|
-
activesupport (= 4.1.
|
33
|
+
railties (4.1.0)
|
34
|
+
actionpack (= 4.1.0)
|
35
|
+
activesupport (= 4.1.0)
|
36
36
|
rake (>= 0.8.7)
|
37
37
|
thor (>= 0.18.1, < 2.0)
|
38
38
|
rake (10.3.1)
|
data/README.md
CHANGED
@@ -31,6 +31,10 @@ The plugin is enabled by default, buy you can disable it in your rails configura
|
|
31
31
|
config.partially_useful = false
|
32
32
|
```
|
33
33
|
|
34
|
+
## Supported Ruby versions
|
35
|
+
|
36
|
+
See .travis.yml
|
37
|
+
|
34
38
|
## Contributing
|
35
39
|
|
36
40
|
1. Fork it ( https://github.com/[my-github-username]/partially_useful/fork )
|
data/lib/partially_useful.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
module PartiallyUseful
|
2
|
-
class
|
2
|
+
class Railtie < Rails::Railtie
|
3
3
|
config.partially_useful = true
|
4
4
|
|
5
5
|
initializer :partially_useful do |app|
|
6
6
|
if app.config.partially_useful
|
7
|
-
ActionView::PartialRenderer.prepend PartiallyUseful::PartialRenderer
|
7
|
+
ActionView::PartialRenderer.send(:prepend, PartiallyUseful::PartialRenderer)
|
8
8
|
end
|
9
9
|
end
|
10
10
|
end
|
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: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- phoet
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-05-
|
11
|
+
date: 2014-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -61,13 +61,14 @@ extra_rdoc_files: []
|
|
61
61
|
files:
|
62
62
|
- ".gitignore"
|
63
63
|
- ".travis.yml"
|
64
|
+
- CHANGELOG.md
|
64
65
|
- Gemfile
|
65
66
|
- Gemfile.lock
|
66
67
|
- README.md
|
67
68
|
- Rakefile
|
68
69
|
- lib/partially_useful.rb
|
69
|
-
- lib/partially_useful/engine.rb
|
70
70
|
- lib/partially_useful/partial_renderer.rb
|
71
|
+
- lib/partially_useful/railtie.rb
|
71
72
|
- lib/partially_useful/version.rb
|
72
73
|
- partially_useful.gemspec
|
73
74
|
- test/dummy/Rakefile
|