leap_web_certs 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -43,7 +43,7 @@ class Cert < CouchRest::Model::Base
43
43
  end
44
44
 
45
45
  def zipname
46
- 'cert.zip'
46
+ 'cert.txt'
47
47
  end
48
48
 
49
49
  def zip_attachment
@@ -1,3 +1,3 @@
1
1
  module LeapWebCerts
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -9,11 +9,11 @@ class CertTest < ActiveSupport::TestCase
9
9
  end
10
10
 
11
11
  test "certs come with attachments" do
12
- assert @sample.has_attachment? "cert.zip"
12
+ assert @sample.has_attachment? "cert.txt"
13
13
  end
14
14
 
15
15
  test "cert.zip_attachment returns couchDB attachment" do
16
- assert_equal "application/zip", @sample.zip_attachment["content_type"]
16
+ assert_equal "text/plain", @sample.zip_attachment["content_type"]
17
17
  end
18
18
 
19
19
  test "cert.zipped returns the actual data" do
@@ -24,7 +24,7 @@ class CertTest < ActiveSupport::TestCase
24
24
  end
25
25
 
26
26
  test "cert.zipname returns name for the zip file" do
27
- assert_equal "cert.zip", @sample.zipname
27
+ assert_equal "cert.txt", @sample.zipname
28
28
  end
29
29
 
30
30
  test "test data is valid" do
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: leap_web_certs
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Azul
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-09-18 00:00:00 Z
18
+ date: 2012-09-19 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rails