remote_partial 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.rdoc +4 -3
- data/lib/remote_partial.rb +1 -1
- data/lib/remote_partial/version.rb +7 -2
- data/test/log/test.log +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NWQ4NDJjOWQxM2RmY2I0YzRiZTk2MDhkYjA0ZjIzMWIzYzA2Mjc3NA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ODM1ODFmMzVjODc5ZGRmYjc2NjFiNzUxNTNmMWY1MTA1NmYwNGExYg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YzY3NThkZjNhZmQwYjdkYTBiOTAwZWExOTc1MWFhNmIyMjcyNTliZTNmMDZi
|
10
|
+
YjQ5NDk0NTI5NTY0MjU2MTEzNWI1YmFlYmE5NDVkYzUyMWZjMzBkOWE2ZmVm
|
11
|
+
MDA3Mzg0OTg0MzllYWFiMzU3OTZjZWM2MThhZGI5ODQwZTVkOGQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MmExYzcyMmM2YmE2MjdiODE4Y2NkYjc0Y2NlMjVjMGQ0MjhkMjIyYTgzMzQ0
|
14
|
+
NDY0ZGExYzg2Y2E5NDYwMjBiMDJhYTk1ZTk2YjAwMTA0NmQ0YWVmZjFlZDUz
|
15
|
+
ODk0ZTVlNDFhY2NlMTZiZTcwOWVkN2ZlOTExNGY3YjA4NmM1Mzk=
|
data/README.rdoc
CHANGED
@@ -30,10 +30,11 @@ With this defined:
|
|
30
30
|
|
31
31
|
=== Within a Rails environment
|
32
32
|
|
33
|
-
The root
|
34
|
-
folder. Paths relative to Rails.root will then be:
|
33
|
+
The root will be Rails.root, unless RemotePartial.root is explicitly defined.
|
35
34
|
|
36
|
-
|
35
|
+
Partials will be placed in the app/views folder. Paths relative to root will then be:
|
36
|
+
|
37
|
+
db/remote_partial --> location for yaml file storing state information
|
37
38
|
app/views/remote_partials --> output path, where partials will be created
|
38
39
|
|
39
40
|
=== Logging
|
data/lib/remote_partial.rb
CHANGED
@@ -1,14 +1,19 @@
|
|
1
1
|
module RemotePartial
|
2
|
-
VERSION = "0.7.
|
2
|
+
VERSION = "0.7.3"
|
3
3
|
end
|
4
4
|
|
5
5
|
# History
|
6
6
|
# =======
|
7
7
|
#
|
8
|
+
# 0.7.3 Improves folder location when root defined and Rails exists
|
9
|
+
# ------------------------------------------------------------------
|
10
|
+
# If a rails app was mounted within a rack app, the view path pointed
|
11
|
+
# at the mounted rails app location rather than being relative to the host
|
12
|
+
# rack app. This bug is fixed in this version.
|
13
|
+
#
|
8
14
|
# 0.7.2 Adds facility to direct HTTP through proxy
|
9
15
|
# ------------------------------------------------
|
10
16
|
#
|
11
|
-
#
|
12
17
|
# 0.7.1 Ensures code works in standalone mode
|
13
18
|
# -------------------------------------------
|
14
19
|
# An additional require statement to load all the required libraries when not
|
data/test/log/test.log
CHANGED
@@ -133,3 +133,7 @@ I, [2013-11-26T08:04:39.077014 #3428] INFO -- : Preparing to test logging via a
|
|
133
133
|
W, [2013-11-26T08:04:39.115809 #3428] WARN -- : Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<Net::HTTPBadRequest 400 readbody=true>
|
134
134
|
I, [2013-11-26T08:04:39.198116 #3428] INFO -- : Preparing to test logging via assert_log_entry_added
|
135
135
|
W, [2013-11-26T08:04:39.207608 #3428] WARN -- : Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<Net::HTTPBadRequest 400 readbody=true>
|
136
|
+
I, [2013-12-02T15:32:23.919684 #18410] INFO -- : Preparing to test logging via assert_log_entry_added
|
137
|
+
W, [2013-12-02T15:32:23.931269 #18410] WARN -- : Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<Net::HTTPBadRequest 400 readbody=true>
|
138
|
+
I, [2013-12-02T15:32:23.936440 #18410] INFO -- : Preparing to test logging via assert_log_entry_added
|
139
|
+
W, [2013-12-02T15:32:23.941199 #18410] WARN -- : Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<Net::HTTPBadRequest 400 readbody=true>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: remote_partial
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rob Nichols
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|