mesmerize 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mesmerize (0.1.4)
4
+ mesmerize (0.1.5)
5
5
  commander (~> 4.1.2)
6
6
  faraday (~> 0.8.0)
7
7
  faraday_middleware (~> 0.8.7)
@@ -1,5 +1,5 @@
1
1
  module Mesmerize
2
- VERSION = '0.1.4'
2
+ VERSION = '0.1.5'
3
3
  end
4
4
 
5
5
  $:.push File.expand_path('../', __FILE__)
@@ -43,16 +43,16 @@ command :release do |c|
43
43
  `agvtool -noscm new-marketing-version #{@tag}`
44
44
  end
45
45
 
46
- @filename = "#{@app["name"]}-#{@build_number}.zip"
47
-
48
46
  # Un-parsing and passing options to `build` command
49
47
  cargs = options.__hash__.delete_if{|k, v| ![:workspace, :project, :scheme].include?(k)}.collect{|k, v| "--#{k} #{v}"}
50
- cargs += ["-q", "#{File.basename(@filename, '.zip')}.app"]
48
+ cargs += ["-q", "#{@app["name"]}.app"]
51
49
  command(:build).run(*cargs)
50
+
51
+ @filename = "#{@app["name"]}-#{@build_number}.zip"
52
+
53
+ abort unless system "zip -rmTq #{@filename} #{@app["name"]}.app"
52
54
 
53
- abort unless system "zip -rmTq #{@filename} #{File.basename(@filename, '.zip')}.app"
54
-
55
- log "upload", @filename
55
+ log "upload", "#{@filename}"
56
56
 
57
57
  params = {
58
58
  :version => @build_number.to_s,
@@ -63,10 +63,10 @@ command :release do |c|
63
63
  client.post_release(@app["slug"], params, @filename) do |status, body|
64
64
  case status
65
65
  when 200...300, nil
66
- log "publish appcast.xml"
66
+ log "publish", "appcast.xml"
67
67
 
68
- log "delete #{@filename}"
69
- system "rm -f #{File.basename(@filename, '.zip')}.*"
68
+ log "rm", @filename
69
+ system "rm -f #{@filename}"
70
70
 
71
71
  puts
72
72
  say_ok "Successfully created release, #{@app["name"]} r#{@build_number}"
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mesmerize
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-19 00:00:00.000000000Z
12
+ date: 2012-06-21 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &70346558697320 !ruby/object:Gem::Requirement
16
+ requirement: &70273402435520 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.6.1
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70346558697320
24
+ version_requirements: *70273402435520
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rake
27
- requirement: &70346558696820 !ruby/object:Gem::Requirement
27
+ requirement: &70273402435020 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 0.9.2
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70346558696820
35
+ version_requirements: *70273402435020
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: commander
38
- requirement: &70346558696360 !ruby/object:Gem::Requirement
38
+ requirement: &70273402434560 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 4.1.2
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70346558696360
46
+ version_requirements: *70273402434560
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: json
49
- requirement: &70346558695900 !ruby/object:Gem::Requirement
49
+ requirement: &70273402434100 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 1.7.3
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *70346558695900
57
+ version_requirements: *70273402434100
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: faraday
60
- requirement: &70346558695440 !ruby/object:Gem::Requirement
60
+ requirement: &70273402433640 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: 0.8.0
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *70346558695440
68
+ version_requirements: *70273402433640
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: faraday_middleware
71
- requirement: &70346558694980 !ruby/object:Gem::Requirement
71
+ requirement: &70273402433180 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ~>
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: 0.8.7
77
77
  type: :runtime
78
78
  prerelease: false
79
- version_requirements: *70346558694980
79
+ version_requirements: *70273402433180
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: netrc
82
- requirement: &70346558694520 !ruby/object:Gem::Requirement
82
+ requirement: &70273402432720 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ~>
@@ -87,7 +87,7 @@ dependencies:
87
87
  version: 0.7.2
88
88
  type: :runtime
89
89
  prerelease: false
90
- version_requirements: *70346558694520
90
+ version_requirements: *70273402432720
91
91
  description: Command-Line Interface for Mesmerize
92
92
  email: m@mattt.me
93
93
  executables:
@@ -109,6 +109,7 @@ files:
109
109
  - ./lib/mesmerize/commands.rb
110
110
  - ./lib/mesmerize/xcodebuildinfo.rb
111
111
  - ./lib/mesmerize.rb
112
+ - ./mesmerize-0.1.4.gem
112
113
  - ./mesmerize.gemspec
113
114
  - ./Rakefile
114
115
  - ./README.md
@@ -127,7 +128,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
127
128
  version: '0'
128
129
  segments:
129
130
  - 0
130
- hash: 2880016635781705436
131
+ hash: 3947975139626834727
131
132
  required_rubygems_version: !ruby/object:Gem::Requirement
132
133
  none: false
133
134
  requirements:
@@ -136,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
137
  version: '0'
137
138
  segments:
138
139
  - 0
139
- hash: 2880016635781705436
140
+ hash: 3947975139626834727
140
141
  requirements: []
141
142
  rubyforge_project:
142
143
  rubygems_version: 1.8.15