gordon 0.0.14 → 0.0.15

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f96bc9082e1fa53d17474c0ad13eaf2b4724a487
4
- data.tar.gz: c3bab3732ee745e380e937da11c8018200a706c4
3
+ metadata.gz: 77d003b8301e3fdf10dc46f8c3478d5f8f5be391
4
+ data.tar.gz: 82eb02e41d6f36a1307abbe12c06ff2c1fd9664b
5
5
  SHA512:
6
- metadata.gz: 7e58da1e400b4cfec597b3203f7f9d19dc7dc865a071708af7f07e8b334a2aca3da44fe1f253d1cb2838ca5bfa6fec88f0f23afd0a4d7bed6f1c83515ee9cfb3
7
- data.tar.gz: e8d17b489e533aa2638b9c360c10eea86c9f272ad605c91e65fa0afb0dd72bab0367b919716488ba7825645d16464e5a60f742df4504fefab5b297fc11771a3b
6
+ metadata.gz: 8b126c87ef02e08e4d812d61d56d62e710ceed461a7907080096083f135240d38c4ef11f71d7f46532fe0886e1b5e2de778b5aefc2938a5f88b087bb977dbabd
7
+ data.tar.gz: d60e21e5a6933bc1b4a4dda5f4d4b4a1a42f308d013b90fb0b051c19394c2e338d1a14fbd3f4e9ccc16adccb469ef1ef44db8c106af5953723f077a0f65649de
data/README.md CHANGED
@@ -88,10 +88,11 @@ Sounds good?
88
88
 
89
89
  First, generate war files. After, do the following steps:
90
90
 
91
- * Set --app-source with the path of war file;
92
- * Set --runtime-name to java-oracle (only for CentOS platform at this time) or java-openjdk;
93
- * Set --runtime-version (1.7.0_60, 1.8.0_31; Gordon checks and inject correct version into package metadata).
94
- * You can avoid --init-type because war files are handled by application server of choice (Tomcat or Jetty).
91
+ * Set `--app-source` with the path of war file;
92
+ * Set `--runtime-name` to java-oracle (only for CentOS platform at this time) or java-openjdk;
93
+ * Set `--runtime-version` (1.7.0_60, 1.8.0_31; Gordon checks and inject correct version into package metadata).
94
+ * Set `--web-server-type` to `tomcat` or `jetty`;
95
+ * You can avoid `--init-type` because war files are handled by application server of choice (Tomcat or Jetty).
95
96
 
96
97
  ## Why you not use Omnibus or Heroku buildpacks?
97
98
 
data/lib/gordon/cooker.rb CHANGED
@@ -42,7 +42,6 @@ module Gordon
42
42
  cook_args << "--debug" if options.debug
43
43
 
44
44
  cook_args << "--target #{options.package_type}"
45
- # cook_args << "--platform #{recipe.platform}" if recipe.requires_platform?
46
45
  cook_args << "--pkg-dir #{File.expand_path(options.output_dir)}"
47
46
  cook_args << "--cache-dir #{File.expand_path(FPM_COOKERY_CACHE_DIR)}"
48
47
  cook_args << "--tmp-root #{File.expand_path(FPM_COOKERY_BUILD_DIR)}"
@@ -62,9 +61,17 @@ module Gordon
62
61
  end
63
62
 
64
63
  def debug(command)
64
+ STDOUT.puts '*' * 80
65
+ STDOUT.puts ''
66
+ STDOUT.puts 'Gordon will run the following command:'
65
67
  STDOUT.puts ''
66
68
  STDOUT.puts command
67
69
  STDOUT.puts ''
70
+ STDOUT.puts 'With these environment variables:'
71
+ STDOUT.puts ''
72
+ STDOUT.puts ENV.sort.map { |k, v| "#{k} = #{v}" }.join "\n"
73
+ STDOUT.puts ''
74
+ STDOUT.puts '*' * 80
68
75
  end
69
76
  end
70
77
  end
@@ -1,3 +1,3 @@
1
1
  module Gordon
2
- VERSION = "0.0.14"
2
+ VERSION = "0.0.15"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gordon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcelo Pinheiro