bosdk_designer 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/.gemtest ADDED
File without changes
data/Rakefile CHANGED
@@ -1,47 +1,30 @@
1
1
  require 'rubygems'
2
- require 'rake'
3
2
  require 'rake/clean'
4
3
 
5
- CLOBBER.include 'pkg'
6
- CLOBBER.include 'doc'
7
- CLOBBER.include '.yardoc'
4
+ CLOBBER.include('doc', '.yardoc')
8
5
 
9
- begin
10
- require 'jeweler'
11
- Jeweler::Tasks.new do |gem|
12
- gem.name = "bosdk_designer"
13
- gem.summary = %Q{Access the Business Objects Universe Designer using Ruby}
14
- gem.description = %Q{This library gives you access to the Business Objects Universe Designer through the Ruby WIN32 API.}
15
- gem.email = "semmons99@gmail.com"
16
- gem.homepage = "http://semmons99.github.com/bosdk-designer"
17
- gem.authors = ["Shane Emmons"]
18
- gem.rubyforge_project = "bosdk-designer"
19
- gem.add_development_dependency "rspec", "~> 1.3.0"
6
+ def gemspec
7
+ @gemspec ||= begin
8
+ file = File.expand_path("../bosdk_designer.gemspec", __FILE__)
9
+ eval(File.read(file), binding, file)
20
10
  end
21
- Jeweler::GemcutterTasks.new
22
- Jeweler::RubyforgeTasks.new do |rubyforge|
23
- rubyforge.doc_task = "rdoc"
24
- rubyforge.remote_doc_path = ""
25
- end
26
- rescue LoadError
27
- puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
28
- end
29
-
30
- require 'spec/rake/spectask'
31
- Spec::Rake::SpecTask.new(:spec) do |spec|
32
- spec.libs << 'lib' << 'spec'
33
- spec.spec_files = FileList['spec/**/*_spec.rb']
34
- end
35
-
36
- Spec::Rake::SpecTask.new(:rcov) do |spec|
37
- spec.libs << 'lib' << 'spec'
38
- spec.pattern = 'spec/**/*_spec.rb'
39
- spec.rcov = true
40
11
  end
41
12
 
42
- task :spec => :check_dependencies
43
-
13
+ require 'rspec/core/rake_task'
14
+ RSpec::Core::RakeTask.new
44
15
  task :default => :spec
16
+ task :test => :spec
45
17
 
46
18
  require 'yard'
47
19
  YARD::Rake::YardocTask.new
20
+
21
+ require 'rake/gempackagetask'
22
+ Rake::GemPackageTask.new(gemspec) do |pkg|
23
+ pkg.gem_spec = gemspec
24
+ end
25
+ task :gem => :gemspec
26
+
27
+ desc "Validate the gemspec"
28
+ task :gemspec do
29
+ gemspec.validate
30
+ end
@@ -1,57 +1,21 @@
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
1
  Gem::Specification.new do |s|
7
- s.name = %q{bosdk_designer}
8
- s.version = "0.1.1"
2
+ s.name = "bosdk_designer"
3
+ s.version = "0.2.0"
4
+ s.platform = Gem::Platform::RUBY
5
+ s.authors = ["Shane Emmons"]
6
+ s.email = "semmons99@gmail.com"
7
+ s.homepage = "http://semmons99.github.com/bosdk-designer"
8
+ s.summary = "Access the Business Objects Universe Designer using Ruby"
9
+ s.description = "This library gives you access to the Business Objects Universe Designer through the Ruby WIN32 API."
10
+
11
+ s.required_rubygems_version = ">= 1.3.6"
9
12
 
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Shane Emmons"]
12
- s.date = %q{2010-04-28}
13
- s.description = %q{This library gives you access to the Business Objects Universe Designer through the Ruby WIN32 API.}
14
- s.email = %q{semmons99@gmail.com}
15
- s.extra_rdoc_files = [
16
- "LICENSE",
17
- "README.md"
18
- ]
19
- s.files = [
20
- ".document",
21
- ".gitignore",
22
- "LICENSE",
23
- "README.md",
24
- "Rakefile",
25
- "VERSION",
26
- "bosdk_designer.gemspec",
27
- "lib/bosdk_designer.rb",
28
- "lib/bosdk_designer/designer.rb",
29
- "spec/designer_spec.rb",
30
- "spec/spec.opts",
31
- "spec/spec_helper.rb"
32
- ]
33
- s.homepage = %q{http://semmons99.github.com/bosdk-designer}
34
- s.rdoc_options = ["--charset=UTF-8"]
35
- s.require_paths = ["lib"]
36
- s.rubyforge_project = %q{bosdk-designer}
37
- s.rubygems_version = %q{1.3.6}
38
- s.summary = %q{Access the Business Objects Universe Designer using Ruby}
39
- s.test_files = [
40
- "spec/designer_spec.rb",
41
- "spec/spec_helper.rb"
42
- ]
13
+ s.add_development_dependency "rspec", ">= 2.0.0"
43
14
 
44
- if s.respond_to? :specification_version then
45
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
46
- s.specification_version = 3
15
+ s.files = Dir.glob("{lib,spec}/**/*")
16
+ s.files += %w(README.md LICENSE)
17
+ s.files += %w(Rakefile .gemtest bosdk_designer.gemspec)
47
18
 
48
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
49
- s.add_development_dependency(%q<rspec>, ["~> 1.3.0"])
50
- else
51
- s.add_dependency(%q<rspec>, ["~> 1.3.0"])
52
- end
53
- else
54
- s.add_dependency(%q<rspec>, ["~> 1.3.0"])
55
- end
19
+ s.require_path = "lib"
56
20
  end
57
21
 
data/spec/spec_helper.rb CHANGED
@@ -1,9 +1,6 @@
1
1
  $LOAD_PATH.unshift(File.dirname(__FILE__))
2
2
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
3
3
  require 'bosdk_designer'
4
- require 'spec'
5
- require 'spec/autorun'
6
4
 
7
- Spec::Runner.configure do |config|
8
-
5
+ RSpec.configure do |config|
9
6
  end
metadata CHANGED
@@ -1,88 +1,67 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: bosdk_designer
3
- version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 1
8
- - 1
9
- version: 0.1.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0
5
+ prerelease:
10
6
  platform: ruby
11
- authors:
7
+ authors:
12
8
  - Shane Emmons
13
9
  autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
-
17
- date: 2010-04-28 00:00:00 -04:00
12
+ date: 2011-02-18 00:00:00.000000000 -05:00
18
13
  default_executable:
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
21
16
  name: rspec
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- requirements:
25
- - - ~>
26
- - !ruby/object:Gem::Version
27
- segments:
28
- - 1
29
- - 3
30
- - 0
31
- version: 1.3.0
17
+ requirement: &10384044 !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: 2.0.0
32
23
  type: :development
33
- version_requirements: *id001
34
- description: This library gives you access to the Business Objects Universe Designer through the Ruby WIN32 API.
24
+ prerelease: false
25
+ version_requirements: *10384044
26
+ description: This library gives you access to the Business Objects Universe Designer
27
+ through the Ruby WIN32 API.
35
28
  email: semmons99@gmail.com
36
29
  executables: []
37
-
38
30
  extensions: []
39
-
40
- extra_rdoc_files:
41
- - LICENSE
31
+ extra_rdoc_files: []
32
+ files:
33
+ - lib/bosdk_designer/designer.rb
34
+ - lib/bosdk_designer.rb
35
+ - spec/designer_spec.rb
36
+ - spec/spec_helper.rb
42
37
  - README.md
43
- files:
44
- - .document
45
- - .gitignore
46
38
  - LICENSE
47
- - README.md
48
39
  - Rakefile
49
- - VERSION
40
+ - .gemtest
50
41
  - bosdk_designer.gemspec
51
- - lib/bosdk_designer.rb
52
- - lib/bosdk_designer/designer.rb
53
- - spec/designer_spec.rb
54
- - spec/spec.opts
55
- - spec/spec_helper.rb
56
42
  has_rdoc: true
57
43
  homepage: http://semmons99.github.com/bosdk-designer
58
44
  licenses: []
59
-
60
45
  post_install_message:
61
- rdoc_options:
62
- - --charset=UTF-8
63
- require_paths:
46
+ rdoc_options: []
47
+ require_paths:
64
48
  - lib
65
- required_ruby_version: !ruby/object:Gem::Requirement
66
- requirements:
67
- - - ">="
68
- - !ruby/object:Gem::Version
69
- segments:
70
- - 0
71
- version: "0"
72
- required_rubygems_version: !ruby/object:Gem::Requirement
73
- requirements:
74
- - - ">="
75
- - !ruby/object:Gem::Version
76
- segments:
77
- - 0
78
- version: "0"
49
+ required_ruby_version: !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ required_rubygems_version: !ruby/object:Gem::Requirement
56
+ none: false
57
+ requirements:
58
+ - - ! '>='
59
+ - !ruby/object:Gem::Version
60
+ version: 1.3.6
79
61
  requirements: []
80
-
81
- rubyforge_project: bosdk-designer
82
- rubygems_version: 1.3.6
62
+ rubyforge_project:
63
+ rubygems_version: 1.5.2
83
64
  signing_key:
84
65
  specification_version: 3
85
66
  summary: Access the Business Objects Universe Designer using Ruby
86
- test_files:
87
- - spec/designer_spec.rb
88
- - spec/spec_helper.rb
67
+ test_files: []
data/.document DELETED
@@ -1,4 +0,0 @@
1
- README.md
2
- lib/**/*.rb
3
- bin/*
4
- LICENSE
data/.gitignore DELETED
@@ -1,23 +0,0 @@
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
- doc
21
- .yardoc
22
-
23
- ## PROJECT::SPECIFIC
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.1.1
data/spec/spec.opts DELETED
@@ -1 +0,0 @@
1
- --color