sunrise 0.0.2 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/bin/sunrise +1 -1
  3. data/lib/sunrise.rb +1 -1
  4. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.1.0
@@ -39,7 +39,7 @@ def setup_sunrise_client(options = nil)
39
39
  end
40
40
 
41
41
  program :name, 'Sunrise Uploader'
42
- program :version, '0.0.2'
42
+ program :version, '0.1.0'
43
43
  program :description, 'Command-line uploader for Sunrise (http://sunrisehq.com)'
44
44
  global_option('--verbose', 'Display non-critical status information') { $verbose = true }
45
45
  global_option('--growl', 'Use growl notifications (Mac OS X only)') { $growl = true }
@@ -35,7 +35,7 @@ module Sunrise
35
35
  # If no name for an upload is specified, set a default name using the
36
36
  # first part of the filename.
37
37
  def default_name(file)
38
- File.basename(file)
38
+ File.basename(file.path)
39
39
  end
40
40
  end
41
41
 
metadata CHANGED
@@ -5,9 +5,9 @@ version: !ruby/object:Gem::Version
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
+ - 1
8
9
  - 0
9
- - 2
10
- version: 0.0.2
10
+ version: 0.1.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Logan Koester