git_hub 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2009 arvicco
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -5,7 +5,7 @@
5
5
  == DESCRIPTION:
6
6
 
7
7
  git_hub is a library that wraps github API and exposes simple interface for
8
- finding, creating and managing github repositories and other resources.
8
+ finding, creating and managing github repositories and other resources...
9
9
 
10
10
  == FEATURES/PROBLEMS:
11
11
 
data/Rakefile CHANGED
@@ -1,20 +1,57 @@
1
+ require 'rubygems'
2
+ require 'rake'
1
3
 
2
- require 'bones' rescue abort '### Please install the "bones" gem ###'
4
+ begin
5
+ require 'jeweler'
6
+ Jeweler::Tasks.new do |gem|
7
+ gem.name = "git_hub"
8
+ gem.summary = %Q{Simple interface to github API}
9
+ gem.description = %Q{Simple interface to github API}
10
+ gem.email = "arvitallian@gmail.com"
11
+ gem.homepage = "http://github.com/arvicco/git_hub"
12
+ gem.authors = ["arvicco"]
13
+ gem.add_development_dependency "rspec", ">= 1.2.9"
14
+ gem.add_development_dependency "cucumber", ">= 0"
15
+ # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
16
+ end
17
+ Jeweler::GemcutterTasks.new
18
+ rescue LoadError
19
+ puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
20
+ end
3
21
 
4
- ensure_in_path 'lib'
5
- require 'git_hub'
22
+ require 'spec/rake/spectask'
23
+ Spec::Rake::SpecTask.new(:spec) do |spec|
24
+ spec.libs << 'lib' << 'spec'
25
+ spec.spec_files = FileList['spec/**/*_spec.rb']
26
+ end
6
27
 
7
- task :default => 'test:run'
8
- task 'gem:release' => 'test:run'
28
+ Spec::Rake::SpecTask.new(:rcov) do |spec|
29
+ spec.libs << 'lib' << 'spec'
30
+ spec.pattern = 'spec/**/*_spec.rb'
31
+ spec.rcov = true
32
+ end
9
33
 
10
- Bones {
11
- ignore_file '.gitignore'
12
- name 'git_hub'
13
- authors 'Arvicco'
14
- email 'arvitallian@gmail.com'
15
- url 'http://github.com/arvicco/git_hub'
16
- version GitHub::VERSION
17
- ignore_file '.gitignore'
18
- }
34
+ task :spec => :check_dependencies
19
35
 
20
- # EOF
36
+ begin
37
+ require 'cucumber/rake/task'
38
+ Cucumber::Rake::Task.new(:features)
39
+
40
+ task :features => :check_dependencies
41
+ rescue LoadError
42
+ task :features do
43
+ abort "Cucumber is not available. In order to run features, you must: sudo gem install cucumber"
44
+ end
45
+ end
46
+
47
+ task :default => :spec
48
+
49
+ require 'rake/rdoctask'
50
+ Rake::RDocTask.new do |rdoc|
51
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
52
+
53
+ rdoc.rdoc_dir = 'rdoc'
54
+ rdoc.title = "zemax #{version}"
55
+ rdoc.rdoc_files.include('README*')
56
+ rdoc.rdoc_files.include('lib/**/*.rb')
57
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.0
File without changes
@@ -0,0 +1,4 @@
1
+ $LOAD_PATH.unshift(File.dirname(__FILE__) + '/../../lib')
2
+ require 'zemax'
3
+
4
+ require 'spec/expectations'
@@ -0,0 +1,9 @@
1
+ Feature: something something
2
+ In order to something something
3
+ A user something something
4
+ something something something
5
+
6
+ Scenario: something something
7
+ Given inspiration
8
+ When I create a sweet new gem
9
+ Then everyone should see how awesome I am
data/git_hub.gemspec ADDED
@@ -0,0 +1,77 @@
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{git_hub}
8
+ s.version = "0.1.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["arvicco"]
12
+ s.date = %q{2010-01-07}
13
+ s.default_executable = %q{git_hub}
14
+ s.description = %q{Simple interface to github API}
15
+ s.email = %q{arvitallian@gmail.com}
16
+ s.executables = ["git_hub"]
17
+ s.extra_rdoc_files = [
18
+ "LICENSE",
19
+ "README.rdoc"
20
+ ]
21
+ s.files = [
22
+ "LICENSE",
23
+ "README.rdoc",
24
+ "Rakefile",
25
+ "VERSION",
26
+ "bin/git_hub",
27
+ "features/step_definitions/zemax_steps.rb",
28
+ "features/support/env.rb",
29
+ "features/zemax.feature",
30
+ "git_hub.gemspec",
31
+ "lib/git_hub.rb",
32
+ "lib/git_hub/api.rb",
33
+ "lib/git_hub/base.rb",
34
+ "lib/git_hub/repo.rb",
35
+ "spec/git_hub/api_spec.rb",
36
+ "spec/git_hub/base_spec.rb",
37
+ "spec/git_hub/repo_spec.rb",
38
+ "spec/spec.opts",
39
+ "spec/spec_helper.rb",
40
+ "spec/stubs/repos/create.res",
41
+ "spec/stubs/repos/delete/new_repo.1.res",
42
+ "spec/stubs/repos/delete/new_repo.2.res",
43
+ "spec/stubs/repos/search/joe+repo.res",
44
+ "spec/stubs/repos/show/joe007.res",
45
+ "spec/stubs/repos/show/joe007/err_repo.res",
46
+ "spec/stubs/repos/show/joe007/fine_repo.res",
47
+ "spec/stubs/repos/show/joe007/new_repo.res"
48
+ ]
49
+ s.homepage = %q{http://github.com/arvicco/git_hub}
50
+ s.rdoc_options = ["--charset=UTF-8"]
51
+ s.require_paths = ["lib"]
52
+ s.rubygems_version = %q{1.3.5}
53
+ s.summary = %q{Simple interface to github API}
54
+ s.test_files = [
55
+ "spec/git_hub/api_spec.rb",
56
+ "spec/git_hub/base_spec.rb",
57
+ "spec/git_hub/repo_spec.rb",
58
+ "spec/spec_helper.rb"
59
+ ]
60
+
61
+ if s.respond_to? :specification_version then
62
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
63
+ s.specification_version = 3
64
+
65
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
66
+ s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
67
+ s.add_development_dependency(%q<cucumber>, [">= 0"])
68
+ else
69
+ s.add_dependency(%q<rspec>, [">= 1.2.9"])
70
+ s.add_dependency(%q<cucumber>, [">= 0"])
71
+ end
72
+ else
73
+ s.add_dependency(%q<rspec>, [">= 1.2.9"])
74
+ s.add_dependency(%q<cucumber>, [">= 0"])
75
+ end
76
+ end
77
+
metadata CHANGED
@@ -1,44 +1,56 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git_hub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
- - Arvicco
7
+ - arvicco
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-01-05 00:00:00 +03:00
13
- default_executable:
12
+ date: 2010-01-07 00:00:00 +03:00
13
+ default_executable: git_hub
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
- name: bones
16
+ name: rspec
17
17
  type: :development
18
18
  version_requirement:
19
19
  version_requirements: !ruby/object:Gem::Requirement
20
20
  requirements:
21
21
  - - ">="
22
22
  - !ruby/object:Gem::Version
23
- version: 3.2.0
23
+ version: 1.2.9
24
24
  version:
25
- description: |-
26
- git_hub is a library that wraps github API and exposes simple interface for
27
- finding, creating and managing github repositories and other resources.
25
+ - !ruby/object:Gem::Dependency
26
+ name: cucumber
27
+ type: :development
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: "0"
34
+ version:
35
+ description: Simple interface to github API
28
36
  email: arvitallian@gmail.com
29
37
  executables:
30
38
  - git_hub
31
39
  extensions: []
32
40
 
33
41
  extra_rdoc_files:
34
- - History.txt
35
- - README.txt
36
- - bin/git_hub
42
+ - LICENSE
43
+ - README.rdoc
37
44
  files:
38
- - History.txt
39
- - README.txt
45
+ - LICENSE
46
+ - README.rdoc
40
47
  - Rakefile
48
+ - VERSION
41
49
  - bin/git_hub
50
+ - features/step_definitions/zemax_steps.rb
51
+ - features/support/env.rb
52
+ - features/zemax.feature
53
+ - git_hub.gemspec
42
54
  - lib/git_hub.rb
43
55
  - lib/git_hub/api.rb
44
56
  - lib/git_hub/base.rb
@@ -62,8 +74,7 @@ licenses: []
62
74
 
63
75
  post_install_message:
64
76
  rdoc_options:
65
- - --main
66
- - README.txt
77
+ - --charset=UTF-8
67
78
  require_paths:
68
79
  - lib
69
80
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -80,10 +91,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
91
  version:
81
92
  requirements: []
82
93
 
83
- rubyforge_project: git_hub
94
+ rubyforge_project:
84
95
  rubygems_version: 1.3.5
85
96
  signing_key:
86
97
  specification_version: 3
87
- summary: git_hub is a library that wraps github API and exposes simple interface for finding, creating and managing github repositories and other resources
88
- test_files: []
89
-
98
+ summary: Simple interface to github API
99
+ test_files:
100
+ - spec/git_hub/api_spec.rb
101
+ - spec/git_hub/base_spec.rb
102
+ - spec/git_hub/repo_spec.rb
103
+ - spec/spec_helper.rb
data/History.txt DELETED
@@ -1,4 +0,0 @@
1
- == git_hub 0.0.1 / 2010-01-05
2
-
3
- * 1 major enhancement
4
- * Birthday!