second_curtain 0.1.2 → 0.1.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
- NTNiMzEzMDRlOWI1OGU2OGQxMjIwM2MxNDA4OTQzNmZlNjQ5ZDAxZg==
4
+ OTIwOTBjYjc0Y2Y4MjNmNmU4Y2MyMDk5YmNiZTgxMzI4Y2JhNDNmNQ==
5
5
  data.tar.gz: !binary |-
6
- MzBmMTNlMTU4NTliNTE2ZWQ1NWY2OGI4ODE4ZDUxZmVkY2MxNmRlYQ==
6
+ MTFkMWM1NDAzNGU1MjdlZDE3ZjRkZWU3NTZlZDY3N2Q4MTM2ODEzOA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZWE4NTRhZjAyMmJkOTBhOGUyM2UzMWU0OTNlZjEyNDUzNWQ2MzczNTA0ODRh
10
- ZDFiNWVlNWQ0YTBkYzI4NmUyZGNiZmU1NWQwNDk5NThlZDhmNjUyYWRjZmQ3
11
- OWNhYWEyYmY4YWRiMmMyMjQ0NWY5YjYzOWM4ZjJlYTAwZjlhODU=
9
+ ZWYyNGMyZjViMmRjNDQ4ZTcwMGM3YzU3ZWQzNTUwMTBmYTljODJhMjk2Mjk4
10
+ OTY1ZWZlNWE1ZDk1YmViZjMyM2JjMmJkMTk5MmI3YTdjNWY4MzBlMzBlOWVh
11
+ MDAzMGMyZjZhMDcxOTllMjc0N2JjMjBhNDNjMjA1ZTZhOGY3NDg=
12
12
  data.tar.gz: !binary |-
13
- NWMzYjk2ODI3OGNjMGU2YzM1YzA1MmQ3ODAyNjUzNTFmMGZiNWZkNGFmOWRk
14
- NGE5MjIxNjBiZDdlMWQwMjNhN2JkNTM2MmI5NjVkY2E1YzNjZjA3M2Q4NzY4
15
- NWYwY2EyODZlMDdlM2Q2YTg0MDE4NTc4NGYzZTk3MjE0MjM5ZGQ=
13
+ NjMwMGJmNmFkMjhhYzM3Yjg3ZWU0ZjRmN2EwZTIxN2UxYTA4NjMzMjVhZjY2
14
+ ODdhYzU5OTVjYjBiYzNiY2I0MGEyYjhmZjdkOGQ0Y2I2NTA5Y2JiM2QxZTZk
15
+ ZDE4YmI0YmM2OTViNTNjMWUxNzkyOWQyYWUwMGIyNTk3ZmNhMTQ=
data/bin/second_curtain CHANGED
@@ -12,13 +12,13 @@ end
12
12
  bucket_name = ENV['UPLOAD_IOS_SNAPSHOT_BUCKET_NAME']
13
13
 
14
14
  if bucket_name == nil
15
- abort "error: Second Curtain bucket name must be specified in environment UPLOAD_IOS_SNAPSHOT_BUCKET_NAME variable".red
15
+ abort "error: Second Curtain bucket name must be specified in environment UPLOAD_IOS_SNAPSHOT_BUCKET_NAME variable"
16
16
  end
17
17
 
18
18
  aws_key = ENV['AWS_ACCESS_KEY_ID']
19
19
  aws_secret = ENV['AWS_SECRET_ACCESS_KEY']
20
20
  if aws_key == nil || aws_secret == nil
21
- abort "error: Second Curtain AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY must be defined as environment variables".red
21
+ abort "error: Second Curtain AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY must be defined as environment variables"
22
22
  end
23
23
 
24
24
  path_prefix = ENV['UPLOAD_IOS_SNAPSHOT_BUCKET_PREFIX'] || '/'
@@ -51,8 +51,7 @@ input.each do |line|
51
51
  end
52
52
  end
53
53
 
54
-
55
54
  failures_address = manager.upload(folder_name)
56
55
  if failures_address
57
- $stderr.puts "Failures: " + failures_address
56
+ $stderr.puts ("Failures: " + failures_address)
58
57
  end
@@ -3,8 +3,8 @@ require 'upload'
3
3
 
4
4
  class UploadManager
5
5
  def initialize (bucket, path_prefix)
6
- abort "error: Second Curtain must supply an S3 bucket".red unless bucket
7
- abort "error: Second Curtain must supply a path prefix of at least '/'".re unless path_prefix
6
+ abort "error: Second Curtain must supply an S3 bucket" unless bucket
7
+ abort "error: Second Curtain must supply a path prefix of at least '/'" unless path_prefix
8
8
 
9
9
  @uploads = []
10
10
  @path_prefix = path_prefix
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: second_curtain
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ash Furrow
@@ -24,20 +24,6 @@ dependencies:
24
24
  - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.48'
27
- - !ruby/object:Gem::Dependency
28
- name: colored
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ~>
32
- - !ruby/object:Gem::Version
33
- version: '1.2'
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ~>
39
- - !ruby/object:Gem::Version
40
- version: '1.2'
41
27
  description: ! "\n If you're using the cool FBSnapshotTestCase to test your iOS view
42
28
  logic, awesome! Even better if you have continuous integration, like on Travis,
43
29
  to automate running those tests!\n\n Wouldn't it be awesome if we could upload