prmd 0.6.0 → 0.6.1

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
- YzI3ZTkyMWEwZDAzNzc5ZDQxZDI3ZmUwMWQ2MTVhZGIyNTRmNzI0NQ==
4
+ MGRjMWI5YWQ0MWVmZDNiZWM5YTE5MGIwYmIzMTZiYjI1MzMzNGYzNQ==
5
5
  data.tar.gz: !binary |-
6
- OTdiNDJlZWQ1YzkxYmU1OWRkODU1NWY4YmVhZThiMzhjZjhmMjA0YQ==
6
+ YWM0MzYxYWYwNmZiOTdjZDI5MWU5OGZjNjcxNTY5N2JjNTU5MTU2Mg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NDkxMjczOWQ0MmMwMDEzN2JkYzVhOGZmNTUyZGQxYzg4ZDY4N2EyZDMzNTIx
10
- YTI4ZjJiMTBhMTdlNmU5MTU2MmRmMzY0MjVkNzY4YTBkMjEyYTkzODk2NjI5
11
- MmMxN2E3NTg1OTAzNWRmOWE1MjdmMTQyY2Y0YmExNzIwNWJmNGM=
9
+ NDQ2NzlhN2RkOWNlODRhNzRiYTM5MGJhN2U3MDlmNTJmZjFmNjFjNDU3MDFk
10
+ YmM4MThkNjQ4ZmY3NjhmZmZkMzNlOTNmYTVhOGFmOWRkMjM1ZGUzZjBmNGNm
11
+ NjMyZTRjODQ5ZmFhZjZhMDkwZjAxNmViNTM5NjA2YTY5ZjBkZTc=
12
12
  data.tar.gz: !binary |-
13
- NGZlY2E3NzVhOGRkN2YxODM1ZjJkMTk1ZDAwNzNiNjE4Yzk3MjJmNjhjMDhk
14
- NWJkNDJhNDY5M2E5OWViY2VhM2MyZGI0ZTMxMjI0MTFjMzk5YWVjN2JjYWI0
15
- OTJiN2YzZmUxMzY5YWRhODA2ZDM4ZDNlNmJlMzQ4N2Y0NmFhN2I=
13
+ NjJhY2I3ZTNjZWU3ODdjNDdkM2UxODhlODg3NDk1ZDdhNzdkOGQzNmVjM2M2
14
+ MzY1OWY0MmI0ODBmZDI5NDBkYmQ2ZjY4ZmZiZDA0OWM0M2YxY2ZmMDIwYjg4
15
+ NDI1NjFlZDBjYWMwOGNkMGNiZmQ0OWY4NTI5ZDBhMzM1NTg5NzQ=
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- prmd (0.6.0)
4
+ prmd (0.6.1)
5
5
  erubis (~> 2.7)
6
6
  json_schema (~> 0.1)
7
7
 
@@ -13,7 +13,7 @@
13
13
  end
14
14
  %>
15
15
  $ curl -n -X <%= link['method'] %> <%= schema.href %><%= path -%>
16
- <%- if !data.empty? && link['method'].upcase == 'GET' %> \
16
+ <%- if !data.empty? && link['method'].upcase != 'GET' %> \
17
17
  -H "Content-Type: <%= options[:content_type] %>" \
18
18
  -d '<%= JSON.pretty_generate(data) %>'
19
19
  <%- elsif !get_params.empty? && link['method'].upcase == 'GET' %> -G \
@@ -1,3 +1,3 @@
1
1
  module Prmd
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prmd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - geemus
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-18 00:00:00.000000000 Z
11
+ date: 2014-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: erubis