second_curtain 0.1.4 → 0.1.5

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
- ZTExMTZkY2FkY2Q5ZDQ3YWZiMDRkNTAwYzY3YmI5ZjUwNjM3MTUwZg==
4
+ MDk0OGYxZjA4ZGJjODZkZjY0MWI3ZjljMjViNTVjYWRiMTk2MTUzZA==
5
5
  data.tar.gz: !binary |-
6
- ZTA3NTIwNzRkOTgxMDFjNTk5OTY0ZGNmNDg3YmY2YjdmMGRjMWYyZA==
6
+ MGE5NTRhNmU3ZmE1NjdlNTg2ZmQ5MTViZTUzMjkxYjhjYzdlMzhhNA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MWJiNTFkYzEwNDY2YmIzZjg3YjYwNzRhNDZjZTVlZTVlNDdkNjc4YzY5MTdh
10
- YjA2ZTI1MWM4YWViODU5YmIzMzVhMjU3N2M4Zjk2OGYxYWU4ZGQyYzE1YWFk
11
- MzkwOTYxZmVjYWFiMGI3NTFhNzIxMGJiYmRhY2QzMjk5NjhiOWY=
9
+ OWUxY2EyZjc0NTBjMDUyNDAxNjA5N2U4MWYwNzA5MGE1NzI3MDI4YjU1MDIw
10
+ YjhjNjczZGYzZGM0YTcwZGEzOWZlZDdiYWY5ZjIwYWQ1ZWZkZTA2ZDdkODVh
11
+ MmZmNTkzMzMwYTlhOGQ2NDcyNWQxZjBmYTFiNzY2MzhlYzgxODk=
12
12
  data.tar.gz: !binary |-
13
- MTFjYjg5MzZkYTM3MWQ3ZDMzYmI4NDc5OTk3M2E3MTc4ZjFiYzU3N2ZjOWU1
14
- MDc5ZWQxMDlmNzZjMDU0ZGY3YzUzZjMwNjZmMjkyNjVhMzJmZTE1NjZmMGUx
15
- MDUzYjYwZWQzOWVkNWY2YzZjYzhkMGJlOGIwODliZWMzOTJhZmQ=
13
+ ODNkOWNhZmQ3MDM0MDcwNzFiMWRhNGZmZjQ0ODIzNWI4YWQyODg3ODYyZGEx
14
+ YTZmZDk1N2JhNmQzOTJlNWNhYmMyYzYzN2U2MGE1Y2MyMzNkNTJhYjM0ZmJm
15
+ ODdjNTc2NDA4Mzk0MmUxNDNhYmUxNmI0MWVjZjk5MTk0NTBiNmE=
@@ -21,12 +21,12 @@ class Upload
21
21
  expected_filename = Pathname.new(@expected_path).basename.to_s
22
22
  expected_object = bucket.objects[path + "/" + expected_filename]
23
23
  expected_object.write(:file => @expected_path)
24
- @uploaded_expected_url = expected_object.url_for(:read)
24
+ @uploaded_expected_url = expected_object.public_url
25
25
 
26
26
  actual_filename = Pathname.new(@actual_path).basename.to_s
27
27
  actual_object = bucket.objects[path + "/" + actual_filename]
28
28
  actual_object.write(:file => @actual_path)
29
- @uploaded_actual_url = actual_object.url_for(:read)
29
+ @uploaded_actual_url = actual_object.public_url
30
30
  end
31
31
 
32
32
  def to_html
@@ -24,7 +24,7 @@ class UploadManager
24
24
 
25
25
  index_object = @bucket.objects[@path_prefix + folder_name + "/index.html"]
26
26
  index_object.write(to_html)
27
- index_object.url_for(:read).to_s
27
+ index_object.public_url.to_s
28
28
  end
29
29
 
30
30
  def to_html
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: second_curtain
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ash Furrow
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-29 00:00:00.000000000 Z
11
+ date: 2014-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk