newjs 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ == 1.0.4 2008-02-16
2
+
3
+ * newjs - added missing newjs/rubyforge.rb file
4
+
1
5
  == 1.0.3 2008-02-15
2
6
 
3
7
  * install_website:
@@ -34,6 +34,7 @@ lib/newjs/autotest/javascript_test_autotest.rb
34
34
  lib/newjs/autotest/javascript_test_autotest/config.rb
35
35
  lib/newjs/autotest/javascript_test_ext.rb
36
36
  lib/newjs/jstest.rb
37
+ lib/newjs/rubyforge.rb
37
38
  lib/newjs/version.rb
38
39
  log/debug.log
39
40
  newjs_generators/install_website/USAGE
@@ -93,8 +93,8 @@ EOS
93
93
  @author = options[:author]
94
94
  @email = options[:email]
95
95
  unless @author && @email
96
- require 'newgem/rubyforge'
97
- rubyforge_config = Newgem::Rubyforge.new
96
+ require 'newjs/rubyforge'
97
+ rubyforge_config = Newjs::Rubyforge.new
98
98
  @author ||= rubyforge_config.full_name
99
99
  @email ||= rubyforge_config.email
100
100
  end
@@ -0,0 +1,18 @@
1
+ require 'rubygems'
2
+ require 'rubyforge'
3
+
4
+ module Newjs
5
+ class Rubyforge
6
+ attr_reader :full_name, :email
7
+
8
+ def initialize
9
+ @full_name = rubyforge.userconfig['full_name'] || ENV['NAME'] || 'FIXME full name'
10
+ @email = rubyforge.userconfig['email'] || ENV['EMAIL'] || 'FIXME email'
11
+ end
12
+
13
+ def rubyforge
14
+ @rubyforge ||= RubyForge.new(::RubyForge::CONFIG_F)
15
+ end
16
+
17
+ end
18
+ end
@@ -2,7 +2,7 @@ module Newjs #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 1
4
4
  MINOR = 0
5
- TINY = 3
5
+ TINY = 4
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
@@ -33,7 +33,7 @@
33
33
  <h1>JavaScript Project Generator</h1>
34
34
  <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/newjs"; return false'>
35
35
  <p>Get Version</p>
36
- <a href="http://rubyforge.org/projects/newjs" class="numbers">1.0.3</a>
36
+ <a href="http://rubyforge.org/projects/newjs" class="numbers">1.0.4</a>
37
37
  </div>
38
38
  <h1>&#x2192; &#8216;newjs&#8217;</h1>
39
39
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: newjs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dr Nic Williams
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-02-15 00:00:00 +10:00
12
+ date: 2008-02-16 00:00:00 +10:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -100,6 +100,7 @@ files:
100
100
  - lib/newjs/autotest/javascript_test_autotest/config.rb
101
101
  - lib/newjs/autotest/javascript_test_ext.rb
102
102
  - lib/newjs/jstest.rb
103
+ - lib/newjs/rubyforge.rb
103
104
  - lib/newjs/version.rb
104
105
  - log/debug.log
105
106
  - newjs_generators/install_website/USAGE