scala-bootstrapper 0.7.2 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,21 @@
1
+ ## MAC OS
2
+ .DS_Store
3
+
4
+ ## TEXTMATE
5
+ *.tmproj
6
+ tmtags
7
+
8
+ ## EMACS
9
+ *~
10
+ \#*
11
+ .\#*
12
+
13
+ ## VIM
14
+ *.swp
15
+
16
+ ## PROJECT::GENERAL
17
+ coverage
18
+ rdoc
19
+ pkg
20
+
21
+ ## PROJECT::SPECIFIC
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.2
1
+ 0.8.0
data/bin/HACKING ADDED
@@ -0,0 +1 @@
1
+ When you make changes to this project, please test by bootstrapping a new project and running `sbt update test` there.
@@ -77,3 +77,8 @@ end
77
77
  if File.exists?("src/scripts/startup.sh")
78
78
  `mv src/scripts/startup.sh src/scripts/#{project_name.downcase}.sh`
79
79
  end
80
+
81
+ [ "src/scripts/#{project_name.downcase}.sh", "src/scripts/console", "run" ].each do |executable|
82
+ `chmod +x #{executable}` if File.exists?(executable)
83
+ end
84
+
@@ -9,19 +9,25 @@ import com.twitter.sbt._
9
9
  * val example = "com.example" % "exampleland" % "1.0.3"
10
10
  * mean to add a dependency on exampleland version 1.0.3 from provider "com.example".
11
11
  */
12
- class BirdNameProject(info: ProjectInfo) extends StandardServiceProject(info)
13
- with CompileThriftScala
14
- with NoisyDependencies
15
- with DefaultRepos
16
- with SubversionPublisher
17
- {
18
- val finagleVersion = "1.2.1"
12
+ class BirdNameProject(info: ProjectInfo) extends StandardServiceProject(info)
13
+ with CompileThriftScala
14
+ with NoisyDependencies
15
+ with DefaultRepos
16
+ with Tartifactory
17
+ with TartifactoryRepos
18
+ with SubversionPublisher {
19
+
20
+ val twitterInternal = "binaries.local.twitter.com" at "http://binaries.local.twitter.com/maven/"
21
+
22
+ val finagleVersion = "1.2.5"
23
+
19
24
  val finagleC = "com.twitter" % "finagle-core" % finagleVersion
20
25
  val finagleT = "com.twitter" % "finagle-thrift" % finagleVersion
21
26
  val finagleO = "com.twitter" % "finagle-ostrich4" % finagleVersion
22
27
 
23
28
  // thrift
24
29
  val libthrift = "thrift" % "libthrift" % "0.5.0"
30
+ val util = "com.twitter" % "util" % "1.8.3"
25
31
 
26
32
  override def originalThriftNamespaces = Map("BirdName" -> "com.twitter.birdname.thrift")
27
33
  val scalaThriftTargetNamespace = "com.twitter.birdname"
@@ -1,7 +1,9 @@
1
1
  import sbt._
2
2
 
3
3
  class Plugins(info: ProjectInfo) extends PluginDefinition(info) {
4
- val twitterMaven = "twitter.com" at "http://maven.twttr.com/"
5
- val standardProject = "com.twitter" % "standard-project" % "0.11.1"
6
- val sbtThrift = "com.twitter" % "sbt-thrift" % "1.1.0"
4
+ override def repositories = Set("twitter.artifactory" at "http://artifactory.local.twitter.com/repo/")
5
+ override def ivyRepositories = Seq(Resolver.defaultLocal(None)) ++ repositories
6
+
7
+ val defaultProject = "com.twitter" % "standard-project" % "0.11.4"
8
+ val sbtThrift = "com.twitter" % "sbt-thrift" % "1.3.4"
7
9
  }
@@ -38,7 +38,7 @@ class BirdNameServiceImpl(config: BirdNameServiceConfig) extends BirdNameService
38
38
  }
39
39
 
40
40
  def put(key: String, value: String) = {
41
- log.debug("put %s")
41
+ log.debug("put %s", key)
42
42
  database(key) = value
43
43
  Future.void
44
44
  }
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
- $: << File.dirname(__FILE__) + "/../../../target/gen-rb"
2
+ $: << File.dirname(__FILE__) + "/../../target/gen-rb"
3
3
 
4
4
  require "rubygems"
5
5
  require "bundler/setup"
@@ -0,0 +1,72 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{scala-bootstrapper}
8
+ s.version = "0.8.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Kyle Maxwell"]
12
+ s.date = %q{2011-03-29}
13
+ s.description = %q{Twitter scala project init}
14
+ s.email = %q{kmaxwell@twitter.com}
15
+ s.executables = ["HACKING", "sbt", "scala-bootstrapper"]
16
+ s.extra_rdoc_files = [
17
+ "LICENSE",
18
+ "README.rdoc"
19
+ ]
20
+ s.files = [
21
+ ".document",
22
+ ".gitignore",
23
+ "LICENSE",
24
+ "README.rdoc",
25
+ "Rakefile",
26
+ "VERSION",
27
+ "bin/HACKING",
28
+ "bin/sbt",
29
+ "bin/scala-bootstrapper",
30
+ "lib/template/.gitignore",
31
+ "lib/template/Capfile",
32
+ "lib/template/Gemfile",
33
+ "lib/template/config/development.scala.erb",
34
+ "lib/template/config/production.scala.erb",
35
+ "lib/template/config/staging.scala.erb",
36
+ "lib/template/config/test.scala.erb",
37
+ "lib/template/project/build.properties",
38
+ "lib/template/project/build/BirdNameProject.scala.erb",
39
+ "lib/template/project/plugins/Plugins.scala.erb",
40
+ "lib/template/run",
41
+ "lib/template/src/main/scala/com/twitter/birdname/BirdNameServiceImpl.scala.erb",
42
+ "lib/template/src/main/scala/com/twitter/birdname/Main.scala.erb",
43
+ "lib/template/src/main/scala/com/twitter/birdname/config/BirdNameServiceConfig.scala.erb",
44
+ "lib/template/src/main/thrift/birdname.thrift.erb",
45
+ "lib/template/src/scripts/console.erb",
46
+ "lib/template/src/scripts/startup.sh",
47
+ "lib/template/src/test/scala/com/twitter/birdname/AbstractSpec.scala.erb",
48
+ "lib/template/src/test/scala/com/twitter/birdname/BirdNameServiceSpec.scala.erb",
49
+ "scala-bootstrapper.gemspec",
50
+ "vendor/sbt-launch-0.7.4.jar",
51
+ "vendor/trollop.rb"
52
+ ]
53
+ s.homepage = %q{http://github.com/fizx/scala-bootstrapper}
54
+ s.rdoc_options = ["--charset=UTF-8"]
55
+ s.require_paths = ["lib"]
56
+ s.rubygems_version = %q{1.3.6}
57
+ s.summary = %q{Twitter scala project init}
58
+
59
+ if s.respond_to? :specification_version then
60
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
61
+ s.specification_version = 3
62
+
63
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
64
+ s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
65
+ else
66
+ s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
67
+ end
68
+ else
69
+ s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
70
+ end
71
+ end
72
+
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scala-bootstrapper
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
5
- prerelease:
4
+ prerelease: false
6
5
  segments:
7
6
  - 0
8
- - 7
9
- - 2
10
- version: 0.7.2
7
+ - 8
8
+ - 0
9
+ version: 0.8.0
11
10
  platform: ruby
12
11
  authors:
13
12
  - Kyle Maxwell
@@ -15,18 +14,16 @@ autorequire:
15
14
  bindir: bin
16
15
  cert_chain: []
17
16
 
18
- date: 2011-03-20 00:00:00 -07:00
17
+ date: 2011-03-29 00:00:00 -07:00
19
18
  default_executable:
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: thoughtbot-shoulda
23
22
  prerelease: false
24
23
  requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
24
  requirements:
27
25
  - - ">="
28
26
  - !ruby/object:Gem::Version
29
- hash: 3
30
27
  segments:
31
28
  - 0
32
29
  version: "0"
@@ -35,6 +32,7 @@ dependencies:
35
32
  description: Twitter scala project init
36
33
  email: kmaxwell@twitter.com
37
34
  executables:
35
+ - HACKING
38
36
  - sbt
39
37
  - scala-bootstrapper
40
38
  extensions: []
@@ -44,10 +42,12 @@ extra_rdoc_files:
44
42
  - README.rdoc
45
43
  files:
46
44
  - .document
45
+ - .gitignore
47
46
  - LICENSE
48
47
  - README.rdoc
49
48
  - Rakefile
50
49
  - VERSION
50
+ - bin/HACKING
51
51
  - bin/sbt
52
52
  - bin/scala-bootstrapper
53
53
  - lib/template/.gitignore
@@ -69,6 +69,7 @@ files:
69
69
  - lib/template/src/scripts/startup.sh
70
70
  - lib/template/src/test/scala/com/twitter/birdname/AbstractSpec.scala.erb
71
71
  - lib/template/src/test/scala/com/twitter/birdname/BirdNameServiceSpec.scala.erb
72
+ - scala-bootstrapper.gemspec
72
73
  - vendor/sbt-launch-0.7.4.jar
73
74
  - vendor/trollop.rb
74
75
  has_rdoc: true
@@ -76,32 +77,28 @@ homepage: http://github.com/fizx/scala-bootstrapper
76
77
  licenses: []
77
78
 
78
79
  post_install_message:
79
- rdoc_options: []
80
-
80
+ rdoc_options:
81
+ - --charset=UTF-8
81
82
  require_paths:
82
83
  - lib
83
84
  required_ruby_version: !ruby/object:Gem::Requirement
84
- none: false
85
85
  requirements:
86
86
  - - ">="
87
87
  - !ruby/object:Gem::Version
88
- hash: 3
89
88
  segments:
90
89
  - 0
91
90
  version: "0"
92
91
  required_rubygems_version: !ruby/object:Gem::Requirement
93
- none: false
94
92
  requirements:
95
93
  - - ">="
96
94
  - !ruby/object:Gem::Version
97
- hash: 3
98
95
  segments:
99
96
  - 0
100
97
  version: "0"
101
98
  requirements: []
102
99
 
103
100
  rubyforge_project:
104
- rubygems_version: 1.5.0
101
+ rubygems_version: 1.3.6
105
102
  signing_key:
106
103
  specification_version: 3
107
104
  summary: Twitter scala project init