deepsecurity 0.0.21 → 0.0.22hf1

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.
data/CHANGELOG.md CHANGED
@@ -2,12 +2,21 @@
2
2
 
3
3
  ## CHANGELOG (notable new features or fixes)
4
4
 
5
+
6
+ ### 0.0.22hf1
7
+
8
+ * Fix call for warn_unparseable_data()
9
+
10
+ ### 0.0.22
11
+
12
+ * Use Ruby 1.9.3-p448 on Windows for installer
13
+ * Use "real" InnoSetup in Windows VM
14
+
5
15
  ### 0.0.21
6
16
 
7
17
  * Extended `-fields` to accept a filename to read the fields from
8
18
  * Added warning for unparseable entries
9
19
 
10
-
11
20
  ### 0.0.20
12
21
 
13
22
  * `dsc` command refactoring
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  Provide a Ruby Wrapper for Trend Micro's DeepSecurity SOAP API. Also includes a command line binary `dsc` which exposes
4
4
  some of the functionality to shell scripts.
5
5
 
6
- ## Installation
6
+ ## Installation (All OS with Ruby installed)
7
7
 
8
8
  Add this line to your application's Gemfile:
9
9
 
@@ -17,6 +17,14 @@ Or install it yourself as:
17
17
 
18
18
  $ gem install deepsecurity
19
19
 
20
+ ## Installation (Windows)
21
+
22
+ If you are using Windows and do feel familiar with the command line you may also download a bundled installer under
23
+ http://deepsecurity-gem.s3.amazonaws.com/index.html
24
+
25
+ The bundled installer allows you to install a current Ruby version and the deepsecurity gem using a simple graphical
26
+ installer.
27
+
20
28
  ## Usage
21
29
 
22
30
  TODO: Write usage instructions here
data/Rakefile CHANGED
@@ -11,7 +11,7 @@ end
11
11
  desc "Build Windows Installer"
12
12
  task :windows_installer => :build do
13
13
  require "dsc"
14
- RUBY_INSTALLER_VERSION = "1.9.3-p392"
14
+ RUBY_INSTALLER_VERSION = "1.9.3-p448"
15
15
  GEM_VERSION = Dsc::VERSION.to_s
16
16
  system("./windows-installer/iscc windows-installer/dsc.iss /dgemVersion=\"#{GEM_VERSION}\" /drubyVersion=\"#{RUBY_INSTALLER_VERSION}\"")
17
17
  end
@@ -1,3 +1,3 @@
1
1
  module DeepSecurity
2
- VERSION = "0.0.21"
2
+ VERSION = "0.0.22hf1"
3
3
  end
@@ -58,7 +58,7 @@ module SavonHelper
58
58
  # Warn about unparsable mapping
59
59
  # @todo Check if mappings can be derived from klass
60
60
  # @param data [Hash, Object] Source Savon data
61
- def warn_unparseable_data(data, interface)
61
+ def self.warn_unparseable_data(data, interface)
62
62
  message = "Can't parse #{type_string} #{@name.inspect}: #{data.inspect}"
63
63
  interface.logger.warn(message)
64
64
  self.default_value()
@@ -9,7 +9,8 @@
9
9
 
10
10
  ; #define rubyVersion "1.9.3-p392"
11
11
  #define rubyFilename "rubyinstaller-"+rubyVersion+".exe"
12
- #define rubyUrl = "http://rubyforge.org/frs/download.php/76798/rubyinstaller-"+rubyVersion+".exe"
12
+ #define rubyUrl = "http://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-"+rubyVersion+".exe?direct"
13
+
13
14
 
14
15
  [Setup]
15
16
  DefaultDirName={pf}\{#MyAppCompany}\{#MyAppName}
@@ -50,7 +51,7 @@ Name: custom; Description: {cm:customInstallation}; Flags: iscustom
50
51
 
51
52
  [Components]
52
53
  Name: deepsecurity_gem; Description: deepsecurity gem ({#gemVersion}); Types: custom full
53
- Name: ruby; Description: Ruby ({#rubyVersion}); Types: custom full; ExtraDiskSpaceRequired: 72204063
54
+ Name: ruby; Description: Ruby ({#rubyVersion}); Types: custom full; ExtraDiskSpaceRequired: 15465768
54
55
 
55
56
  [Files]
56
57
  Source: "isxdl.dll"; Flags: dontcopy
@@ -1,25 +1,12 @@
1
- #!/bin/sh
1
+ #!/bin/bash
2
2
 
3
- export 'VERSIONER_PERL_PREFER_32_BIT'='yes'
4
- export 'Apple_Ubiquity_Message'='/tmp/launch-WDwvc6/Apple_Ubiquity_Message'
5
- export 'FONT_ENCODINGS_DIRECTORY'='/Applications/CrossOver.app/Contents/SharedSupport/X11/lib/X11/fonts/encodings/encodings.dir'
6
- export 'Apple_PubSub_Socket_Render'='/tmp/launch-QqUjp3/Render'
7
- export 'CX_FONTCONFIG_PATH'='/Applications/CrossOver.app/Contents/SharedSupport/X11/etc/fonts'
8
- export 'DISPLAY'=':2'
9
- export 'TMPDIR'='/var/folders/b1/8rblxjkj3970_n00kc_lpqhr0000gp/T/'
10
- export 'DYLD_FALLBACK_LIBRARY_PATH'='/Applications/CrossOver.app/Contents/SharedSupport/X11/lib:/Users/udos/lib:/lib:/usr/lib:/usr/X11/lib'
11
- export 'COMMAND_MODE'='unix2003'
12
- export 'CX_BOTTLE_PATH'='/Users/udos/Library/Application Support/CrossOver/Bottles'
13
- export 'FONTCONFIG_ROOT'='/Applications/CrossOver.app/Contents/SharedSupport/X11'
14
- export 'MACOSX_DEPLOYMENT_TARGET'='10.8'
15
- export 'PYTHONPATH'='/Applications/CrossOver.app/Contents/SharedSupport/CrossOver/lib/python'
16
- export 'SSH_AUTH_SOCK'='/tmp/launch-cbyBYN/Listeners'
17
- export CX_BOTTLE='InnoSetup'
18
- export PATH="$PATH:"'/Applications/CrossOver.app/Contents/SharedSupport/CrossOver/bin'
3
+ ISCC_BIN="C:\Programme\Inno Setup 5\ISCC.EXE"
4
+ ISS_FILE="//psf/Home/Documents/Development/deepsecurity/$1"
5
+ ISS_FILE=${ISS_FILE//\//\\}
19
6
 
20
- ISCC_BIN="C:\Program Files\Inno Setup 5\ISCC.EXE"
21
- ISS_FILE="$1"
7
+ VM_NAME="Windows XP"
22
8
 
23
9
  shift
24
10
 
25
- wine --cx-app "$ISCC_BIN" "$ISS_FILE" $*
11
+ prlctl resume "$VM_NAME"
12
+ prlctl exec "$VM_NAME" $ISCC_BIN $ISS_FILE $*
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deepsecurity
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.21
5
- prerelease:
4
+ version: 0.0.22hf1
5
+ prerelease: 6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Udo Schneider
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-10-21 00:00:00.000000000 Z
12
+ date: 2013-10-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: savon
@@ -221,16 +221,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
221
221
  version: '0'
222
222
  segments:
223
223
  - 0
224
- hash: 3193197376613847506
224
+ hash: 3644233676676362844
225
225
  required_rubygems_version: !ruby/object:Gem::Requirement
226
226
  none: false
227
227
  requirements:
228
- - - ! '>='
228
+ - - ! '>'
229
229
  - !ruby/object:Gem::Version
230
- version: '0'
231
- segments:
232
- - 0
233
- hash: 3193197376613847506
230
+ version: 1.3.1
234
231
  requirements: []
235
232
  rubyforge_project:
236
233
  rubygems_version: 1.8.24