liquid-md5 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3071bc1064654c416b31c31f0c2d2e2c4df8ad36
4
- data.tar.gz: a723dec823e92536c768dfae796e5a3a040d3c6f
3
+ metadata.gz: d2d79fe5b6b15408b9159ec70b81987700ecc809
4
+ data.tar.gz: 0212cd79284e27c1b8fa4341d903a5a079111f20
5
5
  SHA512:
6
- metadata.gz: 81d9884032c8921aaa38f9779237e3b1a5575333a367e83d1d47f537c54d2b5ecc83324b77d2522baf7ed531e55f24c806a868e013150f9a2edde3067cdf6f36
7
- data.tar.gz: f2062ad15b3ae9c520ada8834d9a9b4a47ee03cb42fd78b6ddb1821a4fa1678e3353a69085ad178d9e16a01897e09778914bbc545cd53bee41bffe83535c1bfa
6
+ metadata.gz: 3623f57f6b6a82bbaeada4777d190487b6f18aaec97b3b057a64eab9a6ddf3562d3a5369b5740d4661bf1f656b1b4af89e1df41db3ad379374e4bc3e426569fa
7
+ data.tar.gz: b8377d71fa00df928f04a1231102ba4882af422ab94d9dc9d8737f73863648dc4f13277c82aca6cf81e915a80ff6599e48408c4814f78302ee0a3eb403a83af3
data/README.md CHANGED
@@ -6,11 +6,22 @@
6
6
 
7
7
  *A Liquid filter that outputs an MD5 hash*
8
8
 
9
+ ## Installation
10
+
11
+ 1. Add `gem 'liquid-md5'` to your site's Gemfile and run `bundle`
12
+ 2. Add the following to your site's `_config.yml`:
13
+
14
+ ```yml
15
+ gems:
16
+ - liquid-md5
9
17
  ```
18
+
19
+ ## Usage
20
+ ```liquid
10
21
  {{ site.email | md5 }}
11
22
  ```
12
23
 
13
24
  Can be useful for generating Gravatar URLs from email addresses.
14
- ```
25
+ ```liquid
15
26
  http://gravatar.com/avatar/{{ site.email | downcase | md5 }}?s=144
16
27
  ```
File without changes
@@ -2,21 +2,21 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "liquid-md5"
5
- spec.summary = "Adds md5 filter to Liquid."
6
- spec.version = "0.0.1"
5
+ spec.version = "0.0.2"
7
6
  spec.authors = ["Pat Hawks"]
8
- spec.email = "pat@pathawks.com"
7
+ spec.email = ["pat@pathawks.com"]
8
+ spec.summary = "Adds md5 filter to Liquid."
9
9
  spec.homepage = "https://github.com/pathawks/liquid-md5"
10
- spec.licenses = ["MIT"]
10
+ spec.licenses = "MIT"
11
11
 
12
12
  spec.files = `git ls-files -z`.split("\x0")
13
13
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
14
14
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
15
15
  spec.require_paths = ["lib"]
16
16
 
17
- spec.add_runtime_dependency "liquid", [">= 2.5", "< 4.0"]
17
+ spec.add_runtime_dependency "liquid", ">= 2.5", "< 4.0"
18
18
 
19
- spec.add_development_dependency "jekyll", [">= 2.0", "< 4.0"]
19
+ spec.add_development_dependency "jekyll", ">= 2.0", "< 4.0"
20
20
  spec.add_development_dependency "rspec", "~> 3.0"
21
21
  spec.add_development_dependency "rake"
22
22
  spec.add_development_dependency "bundler", "~> 1.6"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: liquid-md5
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pat Hawks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-20 00:00:00.000000000 Z
11
+ date: 2016-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: liquid
@@ -93,7 +93,8 @@ dependencies:
93
93
  - !ruby/object:Gem::Version
94
94
  version: '1.6'
95
95
  description:
96
- email: pat@pathawks.com
96
+ email:
97
+ - pat@pathawks.com
97
98
  executables: []
98
99
  extensions: []
99
100
  extra_rdoc_files: []
@@ -104,7 +105,7 @@ files:
104
105
  - LICENSE
105
106
  - README.md
106
107
  - Rakefile
107
- - lib/md5.rb
108
+ - lib/liquid-md5.rb
108
109
  - liquid-md5.gemspec
109
110
  - script/bootstrap
110
111
  - script/cibuild
@@ -135,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
135
136
  version: '0'
136
137
  requirements: []
137
138
  rubyforge_project:
138
- rubygems_version: 2.2.2
139
+ rubygems_version: 2.5.1
139
140
  signing_key:
140
141
  specification_version: 4
141
142
  summary: Adds md5 filter to Liquid.