springboard 0.20.1 → 0.20.2

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -4,7 +4,7 @@ require "bundler/gem_tasks"
4
4
  desc "update elasticsearch version"
5
5
  task :update, [:version] do |t, args|
6
6
  sh "rm -rf vendor/elasticsearch && mkdir vendor/elasticsearch"
7
- sh "wget https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-#{args.version}.tar.gz"
7
+ sh "wget http://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-#{args.version}.tar.gz"
8
8
  sh "tar zxvf elasticsearch-#{args.version}.tar.gz"
9
9
  sh "mv elasticsearch-#{args.version}/* vendor/elasticsearch"
10
10
  sh "rm -rf elasticsearch-#{args.version} elasticsearch-#{args.version}.tar.gz"
@@ -1,6 +1,6 @@
1
1
  #!/bin/sh
2
2
 
3
- ES_CLASSPATH=$ES_CLASSPATH:$ES_HOME/lib/elasticsearch-0.20.1.jar:$ES_HOME/lib/*:$ES_HOME/lib/sigar/*
3
+ ES_CLASSPATH=$ES_CLASSPATH:$ES_HOME/lib/elasticsearch-0.20.2.jar:$ES_HOME/lib/*:$ES_HOME/lib/sigar/*
4
4
 
5
5
  if [ "x$ES_MIN_MEM" = "x" ]; then
6
6
  ES_MIN_MEM=256m
@@ -37,7 +37,9 @@ JAVA_OPTS="$JAVA_OPTS -Xss256k"
37
37
  JAVA_OPTS="$JAVA_OPTS -Djava.awt.headless=true"
38
38
 
39
39
  # Force the JVM to use IPv4 stack
40
- # JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true"
40
+ if [ "x$ES_USE_IPV4" != "x" ]; then
41
+ JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true"
42
+ fi
41
43
 
42
44
  JAVA_OPTS="$JAVA_OPTS -XX:+UseParNewGC"
43
45
  JAVA_OPTS="$JAVA_OPTS -XX:+UseConcMarkSweepGC"
@@ -46,15 +48,17 @@ JAVA_OPTS="$JAVA_OPTS -XX:CMSInitiatingOccupancyFraction=75"
46
48
  JAVA_OPTS="$JAVA_OPTS -XX:+UseCMSInitiatingOccupancyOnly"
47
49
 
48
50
  # When running under Java 7
49
- #JAVA_OPTS="$JAVA_OPTS -XX:+UseCondCardMark"
50
-
51
- # GC logging options -- uncomment to enable
52
- # JAVA_OPTS="$JAVA_OPTS -XX:+PrintGCDetails"
53
- # JAVA_OPTS="$JAVA_OPTS -XX:+PrintGCTimeStamps"
54
- # JAVA_OPTS="$JAVA_OPTS -XX:+PrintClassHistogram"
55
- # JAVA_OPTS="$JAVA_OPTS -XX:+PrintTenuringDistribution"
56
- # JAVA_OPTS="$JAVA_OPTS -XX:+PrintGCApplicationStoppedTime"
57
- # JAVA_OPTS="$JAVA_OPTS -Xloggc:/var/log/elasticsearch/gc.log"
51
+ # JAVA_OPTS="$JAVA_OPTS -XX:+UseCondCardMark"
52
+
53
+ # GC logging options
54
+ if [ "x$ES_USE_GC_LOGGING" != "x" ]; then
55
+ JAVA_OPTS="$JAVA_OPTS -XX:+PrintGCDetails"
56
+ JAVA_OPTS="$JAVA_OPTS -XX:+PrintGCTimeStamps"
57
+ JAVA_OPTS="$JAVA_OPTS -XX:+PrintClassHistogram"
58
+ JAVA_OPTS="$JAVA_OPTS -XX:+PrintTenuringDistribution"
59
+ JAVA_OPTS="$JAVA_OPTS -XX:+PrintGCApplicationStoppedTime"
60
+ JAVA_OPTS="$JAVA_OPTS -Xloggc:/var/log/elasticsearch/gc.log"
61
+ fi
58
62
 
59
63
  # Causes the JVM to dump its heap on OutOfMemory.
60
64
  JAVA_OPTS="$JAVA_OPTS -XX:+HeapDumpOnOutOfMemoryError"
@@ -1,3 +1,3 @@
1
1
  module Springboard
2
- VERSION = "0.20.1"
2
+ VERSION = "0.20.2"
3
3
  end
data/springboard.gemspec CHANGED
@@ -15,4 +15,6 @@ Gem::Specification.new do |gem|
15
15
  gem.name = "springboard"
16
16
  gem.require_paths = ["lib"]
17
17
  gem.version = Springboard::VERSION
18
+
19
+ gem.add_development_dependency 'rake'
18
20
  end
@@ -1,6 +1,6 @@
1
1
  #!/bin/sh
2
2
 
3
- ES_CLASSPATH=$ES_CLASSPATH:$ES_HOME/lib/elasticsearch-0.20.1.jar:$ES_HOME/lib/*:$ES_HOME/lib/sigar/*
3
+ ES_CLASSPATH=$ES_CLASSPATH:$ES_HOME/lib/elasticsearch-0.20.2.jar:$ES_HOME/lib/*:$ES_HOME/lib/sigar/*
4
4
 
5
5
  if [ "x$ES_MIN_MEM" = "x" ]; then
6
6
  ES_MIN_MEM=256m
@@ -37,7 +37,9 @@ JAVA_OPTS="$JAVA_OPTS -Xss256k"
37
37
  JAVA_OPTS="$JAVA_OPTS -Djava.awt.headless=true"
38
38
 
39
39
  # Force the JVM to use IPv4 stack
40
- # JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true"
40
+ if [ "x$ES_USE_IPV4" != "x" ]; then
41
+ JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true"
42
+ fi
41
43
 
42
44
  JAVA_OPTS="$JAVA_OPTS -XX:+UseParNewGC"
43
45
  JAVA_OPTS="$JAVA_OPTS -XX:+UseConcMarkSweepGC"
@@ -46,15 +48,17 @@ JAVA_OPTS="$JAVA_OPTS -XX:CMSInitiatingOccupancyFraction=75"
46
48
  JAVA_OPTS="$JAVA_OPTS -XX:+UseCMSInitiatingOccupancyOnly"
47
49
 
48
50
  # When running under Java 7
49
- #JAVA_OPTS="$JAVA_OPTS -XX:+UseCondCardMark"
50
-
51
- # GC logging options -- uncomment to enable
52
- # JAVA_OPTS="$JAVA_OPTS -XX:+PrintGCDetails"
53
- # JAVA_OPTS="$JAVA_OPTS -XX:+PrintGCTimeStamps"
54
- # JAVA_OPTS="$JAVA_OPTS -XX:+PrintClassHistogram"
55
- # JAVA_OPTS="$JAVA_OPTS -XX:+PrintTenuringDistribution"
56
- # JAVA_OPTS="$JAVA_OPTS -XX:+PrintGCApplicationStoppedTime"
57
- # JAVA_OPTS="$JAVA_OPTS -Xloggc:/var/log/elasticsearch/gc.log"
51
+ # JAVA_OPTS="$JAVA_OPTS -XX:+UseCondCardMark"
52
+
53
+ # GC logging options
54
+ if [ "x$ES_USE_GC_LOGGING" != "x" ]; then
55
+ JAVA_OPTS="$JAVA_OPTS -XX:+PrintGCDetails"
56
+ JAVA_OPTS="$JAVA_OPTS -XX:+PrintGCTimeStamps"
57
+ JAVA_OPTS="$JAVA_OPTS -XX:+PrintClassHistogram"
58
+ JAVA_OPTS="$JAVA_OPTS -XX:+PrintTenuringDistribution"
59
+ JAVA_OPTS="$JAVA_OPTS -XX:+PrintGCApplicationStoppedTime"
60
+ JAVA_OPTS="$JAVA_OPTS -Xloggc:/var/log/elasticsearch/gc.log"
61
+ fi
58
62
 
59
63
  # Causes the JVM to dump its heap on OutOfMemory.
60
64
  JAVA_OPTS="$JAVA_OPTS -XX:+HeapDumpOnOutOfMemoryError"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: springboard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.1
4
+ version: 0.20.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,8 +9,24 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-11 00:00:00.000000000 Z
13
- dependencies: []
12
+ date: 2013-02-07 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rake
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
14
30
  description: ! "Packages up elasticsearch in a gem and adds a ruby executable to run
15
31
  it easily with relative config paths.\n Makes elasticsearch
16
32
  dead simple to develop with."
@@ -47,15 +63,15 @@ files:
47
63
  - vendor/elasticsearch/bin/plugin
48
64
  - vendor/elasticsearch/config/elasticsearch.yml
49
65
  - vendor/elasticsearch/config/logging.yml
50
- - vendor/elasticsearch/lib/elasticsearch-0.20.1.jar
66
+ - vendor/elasticsearch/lib/elasticsearch-0.20.2.jar
51
67
  - vendor/elasticsearch/lib/jna-3.3.0.jar
52
68
  - vendor/elasticsearch/lib/jts-1.12.jar
53
69
  - vendor/elasticsearch/lib/log4j-1.2.17.jar
54
- - vendor/elasticsearch/lib/lucene-analyzers-3.6.1.jar
55
- - vendor/elasticsearch/lib/lucene-core-3.6.1.jar
56
- - vendor/elasticsearch/lib/lucene-highlighter-3.6.1.jar
57
- - vendor/elasticsearch/lib/lucene-memory-3.6.1.jar
58
- - vendor/elasticsearch/lib/lucene-queries-3.6.1.jar
70
+ - vendor/elasticsearch/lib/lucene-analyzers-3.6.2.jar
71
+ - vendor/elasticsearch/lib/lucene-core-3.6.2.jar
72
+ - vendor/elasticsearch/lib/lucene-highlighter-3.6.2.jar
73
+ - vendor/elasticsearch/lib/lucene-memory-3.6.2.jar
74
+ - vendor/elasticsearch/lib/lucene-queries-3.6.2.jar
59
75
  - vendor/elasticsearch/lib/sigar/libsigar-amd64-freebsd-6.so
60
76
  - vendor/elasticsearch/lib/sigar/libsigar-amd64-linux.so
61
77
  - vendor/elasticsearch/lib/sigar/libsigar-amd64-solaris.so
@@ -97,4 +113,3 @@ signing_key:
97
113
  specification_version: 3
98
114
  summary: Run elasticsearch as a gem binary
99
115
  test_files: []
100
- has_rdoc: