packager 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -74,13 +74,18 @@ module Packager
74
74
 
75
75
  puts "Regenerating the bundle."
76
76
 
77
- rm_rf "bundle"
78
- rm_rf ".bundle"
79
77
  rm_rf "#{short_package_name}-pkg"
78
+ rm_rf package_name
80
79
  rm "#{package_name}.pkg", :force => true
81
- Bundler.with_clean_env do
82
- sh "bundle --standalone --without development"
80
+ rm_rf ".bundle"
81
+
82
+ unless ENV['PREBUNDLED']
83
+ rm_rf "bundle"
84
+ Bundler.with_clean_env do
85
+ sh 'bundle --standalone --without development'
86
+ end
83
87
  end
88
+
84
89
  mkdir_p "#{package_name}/local/#{short_package_name}"
85
90
  cp_r "bundle", "#{package_name}/local/#{short_package_name}/"
86
91
 
@@ -1,4 +1,4 @@
1
1
  module Packager
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,40 +1,36 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: packager
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.5
4
5
  prerelease:
5
- version: 0.0.4
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Yehuda Katz
9
9
  - Peter Wagenet
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
-
14
- date: 2011-06-09 00:00:00 Z
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
13
+ date: 2011-08-20 00:00:00.000000000Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
17
16
  name: bundler
18
- prerelease: false
19
- requirement: &id001 !ruby/object:Gem::Requirement
17
+ requirement: &70243012290200 !ruby/object:Gem::Requirement
20
18
  none: false
21
- requirements:
19
+ requirements:
22
20
  - - ~>
23
- - !ruby/object:Gem::Version
21
+ - !ruby/object:Gem::Version
24
22
  version: 1.1.pre.4
25
23
  type: :runtime
26
- version_requirements: *id001
24
+ prerelease: false
25
+ version_requirements: *70243012290200
27
26
  description: A tool for creating a standalone Mac OS X .pkg of your gem.
28
- email:
27
+ email:
29
28
  - wycats@gmail.com
30
29
  - peter.wagenet@gmail.com
31
30
  executables: []
32
-
33
31
  extensions: []
34
-
35
32
  extra_rdoc_files: []
36
-
37
- files:
33
+ files:
38
34
  - README.md
39
35
  - lib/packager.rb
40
36
  - lib/packager/rake/base_task.rb
@@ -48,30 +44,26 @@ files:
48
44
  - resources/packager.iss.erb
49
45
  homepage:
50
46
  licenses: []
51
-
52
47
  post_install_message:
53
48
  rdoc_options: []
54
-
55
- require_paths:
49
+ require_paths:
56
50
  - lib
57
- required_ruby_version: !ruby/object:Gem::Requirement
51
+ required_ruby_version: !ruby/object:Gem::Requirement
58
52
  none: false
59
- requirements:
60
- - - ">="
61
- - !ruby/object:Gem::Version
62
- version: "0"
63
- required_rubygems_version: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - ! '>='
55
+ - !ruby/object:Gem::Version
56
+ version: '0'
57
+ required_rubygems_version: !ruby/object:Gem::Requirement
64
58
  none: false
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
59
+ requirements:
60
+ - - ! '>='
61
+ - !ruby/object:Gem::Version
68
62
  version: 1.3.6
69
63
  requirements: []
70
-
71
64
  rubyforge_project:
72
- rubygems_version: 1.8.5
65
+ rubygems_version: 1.8.6
73
66
  signing_key:
74
67
  specification_version: 3
75
68
  summary: Packager your gem for Mac OS X
76
69
  test_files: []
77
-