creative_commons_rails 0.9.2 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MWNhNjRjNmFiM2U0ZjU4MjRkZmY1OWFlMWM2NjgzZjUyMDU3MWJlZg==
4
+ NTg4MWZiNWRlY2ZjYjlmM2Q2ODM0ZTkyOTM3MDk1ZDU2ZjgwZmQ3Yg==
5
5
  data.tar.gz: !binary |-
6
- YmNhMTUzZmNjMDMwNTY1NDgwZjUzYzY2YmIyNWRiZTkwYjAxZWY5ZA==
6
+ NWY1NDMwNWI5OTlmOGZhNzgxZmJiNzMwYWE1ZTc5YWQ3YWM1NDJmYg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- OTA3MTIzZWY2MDEzNTdlM2FhZDdmZTEyOTZhYjEzYjNjZDIzZGQyYTY5NzEz
10
- ZWI3ZGRjNzdhMWY3Yjg2Y2ZhMTM1NjNjOTUyMzk3OTNjMTVlYTMxNjIzOTUy
11
- OGM2YTFkZTlkNjYxMjJhNDRlMjRhYTZiZWYyMTAyYjBkZTA2MzU=
9
+ ZWNiZmFjM2RjMDc2NmM1NGI5ZDBmY2JhZDE1ZDdiOGNkN2VmZmYyMjM4OWJj
10
+ ZTkwMjBkOTRiOTI3ODQ5MWYwYjExM2E3MmRkYTE0YjdkMDZiMjc3OTc1MGQ3
11
+ MDlhZjkxZTFkMWY3NWM0MTA1Y2RlNWEyMTFiYWNhNDUyOTYyMDI=
12
12
  data.tar.gz: !binary |-
13
- MjY2NWZiMDBhZTAxZTNhODI5N2NlMTdhNmI5NTdjNmU3NmE0OWE4NWRkZTkz
14
- NmQ3NGRhYjM1NDkzOTJkMzcxZmI5OTFjZDFlMDEwYWQzNTgwZTA1NDg4NGZm
15
- NzVhYzkyNDBkOTJjMGVlMTM2MGEwYmRiNmYzZDJmMjY4ODQyMmM=
13
+ YWIzNDJhNzE0ZDI1NTU4YjEwZWIwNjcxMDhkOGRmM2Q5OTUzMmQ5NDFjZWUx
14
+ YTczMGQxN2U0YzlkYzMwMjg1MzNmNTlhZjE3NTliMjNkM2RhNjllZDdiMzZk
15
+ MDdiZTNiY2U3YzRkZmUzNjU1OWU2YjIyOTNlZDEwZjkyMGU1YTU=
@@ -33,7 +33,11 @@ module CreativeCommonsRails
33
33
  end
34
34
 
35
35
  def deed_url
36
- "http://creativecommons.org/licenses/#{type}/#{version}/#{jurisdiction}/deed.#{language}"
36
+ if jurisdiction == "unported"
37
+ "http://creativecommons.org/licenses/#{type}/#{version}/deed.#{language}"
38
+ else
39
+ "http://creativecommons.org/licenses/#{type}/#{version}/#{jurisdiction}/deed.#{language}"
40
+ end
37
41
  end
38
42
 
39
43
  def icon_url(size = :normal)
@@ -1,3 +1,3 @@
1
1
  module CreativeCommonsRails
2
- VERSION = "0.9.2"
2
+ VERSION = "0.9.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: creative_commons_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kent Mewhort
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-19 00:00:00.000000000 Z
11
+ date: 2013-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler