eyeballs 0.3.5 → 0.3.6

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -27,7 +27,7 @@ begin
27
27
  require 'jeweler'
28
28
  Jeweler::Tasks.new do |s|
29
29
  s.name = "eyeballs"
30
- s.version = "0.3.5"
30
+ s.version = "0.3.6"
31
31
  s.author = "Paul Campbell"
32
32
  s.email = "paul@rslw.com"
33
33
  s.homepage = "http://www.github.com/paulca/eyeballs.js"
data/eyeballs.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{eyeballs}
8
- s.version = "0.3.5"
8
+ s.version = "0.3.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Paul Campbell"]
12
- s.date = %q{2010-06-17}
12
+ s.date = %q{2010-07-02}
13
13
  s.default_executable = %q{eyeballs}
14
14
  s.email = %q{paul@rslw.com}
15
15
  s.executables = ["eyeballs"]
@@ -60,11 +60,10 @@ Gem::Specification.new do |s|
60
60
  "test/unit/test_model_with_callbacks.html",
61
61
  "test/unit/test_rails.html"
62
62
  ]
63
- s.has_rdoc = false
64
63
  s.homepage = %q{http://www.github.com/paulca/eyeballs.js}
65
64
  s.rdoc_options = ["--charset=UTF-8"]
66
65
  s.require_paths = ["lib"]
67
- s.rubygems_version = %q{1.3.7}
66
+ s.rubygems_version = %q{1.3.6}
68
67
  s.summary = %q{A lightweight javascript MVC framework.}
69
68
  s.test_files = [
70
69
  "spec/app_generator_spec.rb",
@@ -79,7 +78,7 @@ Gem::Specification.new do |s|
79
78
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
80
79
  s.specification_version = 3
81
80
 
82
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
81
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
83
82
  s.add_runtime_dependency(%q<thor>, [">= 0"])
84
83
  s.add_runtime_dependency(%q<activesupport>, [">= 0"])
85
84
  else
data/lib/eyeballs/cli.rb CHANGED
@@ -6,7 +6,7 @@ module Eyeballs
6
6
  ARGV.delete('generate')
7
7
  if(ARGV.include?(requested_generator))
8
8
  ARGV.delete(requested_generator)
9
- "Eyeballs::#{requested_generator.capitalize}Generator".constantize.start
9
+ Kernel.const_get("Eyeballs::#{requested_generator.capitalize}Generator").start
10
10
  end
11
11
  end
12
12
 
@@ -4,7 +4,8 @@ describe Eyeballs::ControllerGenerator do
4
4
 
5
5
  before(:all) do
6
6
  create_test_root
7
- run_command("eyeballs generate controller Paul")
7
+ FileUtils.cd(test_root)
8
+ Eyeballs::ControllerGenerator.start(["Paul"])
8
9
  end
9
10
 
10
11
  let(:controller_file) { file('app/controllers/paul_controller.js') }
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eyeballs
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
5
4
  prerelease: false
6
5
  segments:
7
6
  - 0
8
7
  - 3
9
- - 5
10
- version: 0.3.5
8
+ - 6
9
+ version: 0.3.6
11
10
  platform: ruby
12
11
  authors:
13
12
  - Paul Campbell
@@ -15,18 +14,16 @@ autorequire:
15
14
  bindir: bin
16
15
  cert_chain: []
17
16
 
18
- date: 2010-06-17 00:00:00 -07:00
17
+ date: 2010-07-02 00:00:00 +01:00
19
18
  default_executable: eyeballs
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: thor
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"
@@ -36,11 +33,9 @@ dependencies:
36
33
  name: activesupport
37
34
  prerelease: false
38
35
  requirement: &id002 !ruby/object:Gem::Requirement
39
- none: false
40
36
  requirements:
41
37
  - - ">="
42
38
  - !ruby/object:Gem::Version
43
- hash: 3
44
39
  segments:
45
40
  - 0
46
41
  version: "0"
@@ -97,13 +92,7 @@ files:
97
92
  - test/unit/test_model.html
98
93
  - test/unit/test_model_with_callbacks.html
99
94
  - test/unit/test_rails.html
100
- - spec/app_generator_spec.rb
101
- - spec/controller_generator_spec.rb
102
- - spec/model_generator_spec.rb
103
- - spec/rack_app_detector_spec.rb
104
- - spec/scaffold_generator_spec.rb
105
- - spec/spec_helper.rb
106
- has_rdoc: false
95
+ has_rdoc: true
107
96
  homepage: http://www.github.com/paulca/eyeballs.js
108
97
  licenses: []
109
98
 
@@ -113,27 +102,23 @@ rdoc_options:
113
102
  require_paths:
114
103
  - lib
115
104
  required_ruby_version: !ruby/object:Gem::Requirement
116
- none: false
117
105
  requirements:
118
106
  - - ">="
119
107
  - !ruby/object:Gem::Version
120
- hash: 3
121
108
  segments:
122
109
  - 0
123
110
  version: "0"
124
111
  required_rubygems_version: !ruby/object:Gem::Requirement
125
- none: false
126
112
  requirements:
127
113
  - - ">="
128
114
  - !ruby/object:Gem::Version
129
- hash: 3
130
115
  segments:
131
116
  - 0
132
117
  version: "0"
133
118
  requirements: []
134
119
 
135
120
  rubyforge_project:
136
- rubygems_version: 1.3.7
121
+ rubygems_version: 1.3.6
137
122
  signing_key:
138
123
  specification_version: 3
139
124
  summary: A lightweight javascript MVC framework.