transcriptic 0.2.1 → 0.2.2

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: a14cbee49f85959abf71a7616a2029e786cd34c2
4
- data.tar.gz: 6e66d187ce54162178369e8b2590568640e9cb25
3
+ metadata.gz: df7520b6492d5e8e386b736c581a85139675ca58
4
+ data.tar.gz: 2fa1a96e201c8e7bfcb439709c4c8696027d622c
5
5
  SHA512:
6
- metadata.gz: 048ea671184ac4f068f55c6cd8c9396449391ceef617d2011c8edcd678add6846d5867bf9bcf59418155f69d0ae3381083eb52ae90ce1e6b0a098cb4a3a3cc52
7
- data.tar.gz: 1e46bcdeb81ae0f075da5d10e329d41ad7e617aae2c076c06cfc791ebd630698b48f0453059dd93e475cc5aae9a54e4d932c0118fbe5d36d746f956fa2b96aa2
6
+ metadata.gz: c6e0a7a3a6d862678dceb771223d267c824b8a909d4a20e9baa95a0907eb13c8df136cbba72a443ae4378e6d7a4bba0f4c9c42274888f4ebeb33928f2af81295
7
+ data.tar.gz: 396a542b17b24a4dbd17c5e84b6c6afbb917e950a7e3c74d8ba6e6611eb55b36119465e220955170558efe20559c65e71a62550beb66f4d422d517802e3d6fea
@@ -20,7 +20,6 @@ module Transcriptic
20
20
  def generate
21
21
  empty_directory target.join('app')
22
22
  empty_directory target.join('project')
23
- empty_directory target.join('lib')
24
23
 
25
24
  template 'app/Main.erb', target.join('app/Main.scala')
26
25
  template 'project/Build.erb', target.join('project/Build.scala')
@@ -49,6 +48,10 @@ module Transcriptic
49
48
  options[:email]
50
49
  end
51
50
 
51
+ def author?
52
+ not (options[:author] == "John Appleseed")
53
+ end
54
+
52
55
  def copyright_year
53
56
  Time.now.year
54
57
  end
@@ -1,4 +1,4 @@
1
- Copyright (C) <%= copyright_year %> <%= author %>
1
+ Copyright (C) <%= copyright_year %> <%= author if author? %>
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -37,6 +37,7 @@ object ShellPrompt {
37
37
  object Resolvers {
38
38
  val transcriptic = "Transcriptic" at "https://raw.github.com/transcriptic/maven2/master/releases/"
39
39
  val autoprotocol = "Autoprotocol" at "http://transcriptic.s3.amazonaws.com/autoprotocol/"
40
+ val typesafe = "Typesafe" at "http://repo.typesafe.com/typesafe/releases/"
40
41
  }
41
42
 
42
43
  object AutoprotocolBuild extends Build {
@@ -49,11 +50,11 @@ object AutoprotocolBuild extends Build {
49
50
  file("."),
50
51
  settings =
51
52
  buildSettings ++ Seq (libraryDependencies ++= (Seq("org.autoprotocol" %% "autoprotocol" % "0.1.0-SNAPSHOT") ++
52
- dependencies), resolvers ++= Seq(transcriptic, autoprotocol)) ++ Defaults.defaultSettings ++
53
+ dependencies), resolvers ++= Seq(transcriptic, autoprotocol, typesafe)) ++ Defaults.defaultSettings ++
53
54
  StartScriptPlugin.startScriptForClassesSettings
54
55
  ) settings (
55
56
  fork in run := true
56
57
  ) settings (
57
- unmanagedSourceDirectories in Compile <<= baseDirectory { dir => Seq(dir / "app") }
58
+ unmanagedSourceDirectories in Compile <+= baseDirectory { _ / "app" }
58
59
  )
59
60
  }
@@ -1,4 +1,4 @@
1
1
  module Transcriptic
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  AUTOPROTOCOL_VERSION = "0.1.0"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: transcriptic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Transcriptic