Skip to content

Commit

Permalink
0.43
Browse files Browse the repository at this point in the history
  • Loading branch information
nichtich committed May 10, 2015
1 parent 25f9037 commit 7d1075a
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Build.PL
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This Build.PL for Catmandu-Importer-getJSON was generated by Dist::Zilla::Plugin::ModuleBuildTiny 0.007.
# This Build.PL for Catmandu-Importer-getJSON was generated by Dist::Zilla::Plugin::ModuleBuildTiny 0.010.
use strict;
use warnings;

Expand Down
2 changes: 2 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Changelog for Catmandu-Importer-getJSON

{{$NEXT}}

0.43 2015-05-10 22:12:01 CEST
- added caching

0.42 2015-04-06 16:52:48 CEST
Expand Down
8 changes: 4 additions & 4 deletions META.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Jakob Voß"
],
"dynamic_config" : 0,
"generated_by" : "Dist::Milla version v1.0.8, Dist::Zilla version 5.020, CPAN::Meta::Converter version 2.142060",
"generated_by" : "Dist::Milla version v1.0.15, Dist::Zilla version 5.020, CPAN::Meta::Converter version 2.142690",
"license" : [
"perl_5"
],
Expand All @@ -31,7 +31,7 @@
},
"develop" : {
"requires" : {
"Dist::Milla" : "v1.0.8",
"Dist::Milla" : "v1.0.15",
"Test::Pod" : "1.41"
}
},
Expand Down Expand Up @@ -59,11 +59,11 @@
"web" : "https://github.com/nichtich/Catmandu-Importer-getJSON"
}
},
"version" : "0.42",
"version" : "0.43",
"x_contributors" : [
"bayashi <bayashi@cpan.org>",
"Jakob Voss <jakob@nichtich.de>",
"Jakob Voss <voss@gbv.de>",
"bayashi <bayashi@cpan.org>",
"vpeil <vitali.peil@uni-bielefeld.de>"
]
}
Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,18 @@ item.

Number of seconds to wait between requests.

- cache

Cache JSON response of URLs to not request the same URL twice. HTTP error
codes in the 4xx range (e.g. 404) are also cached but 5xx errors are not.

The value of this option can be any objects that implements method `get` and
`set` (e.g. `CHI`), an existing directory for file caching, a true value to
enable in-memory-caching, or a false value to disable caching (default).

File caching uses file names based on MD5 of an URL so for instance
`http://example.org/` is cached as `4389382917e51695b759543fdfd5f690.json`.

# METHODS

## time
Expand Down

0 comments on commit 7d1075a

Please sign in to comment.