pullr 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -2,6 +2,7 @@ doc
2
2
  pkg
3
3
  tmp/*
4
4
  .DS_Store
5
+ .bundle
5
6
  .yardoc
6
7
  *.db
7
8
  *.log
@@ -1,3 +1,7 @@
1
+ ### 0.1.3 / 2010-07-18
2
+
3
+ * Require `uri` before `addressable/uri`.
4
+
1
5
  ### 0.1.2 / 2010-03-23
2
6
 
3
7
  * Added {Pullr::LocalRepository#name}.
data/Gemfile ADDED
@@ -0,0 +1,23 @@
1
+ source 'https://rubygems.org'
2
+
3
+ group(:runtime) do
4
+ gem 'addressable', '>= 2.1.1'
5
+ end
6
+
7
+ group(:development) do
8
+ gem 'rake', '~> 0.8.7'
9
+ gem 'jeweler', '~> 1.4.0', :git => 'git://github.com/technicalpickles/jeweler.git'
10
+ end
11
+
12
+ group(:doc) do
13
+ case RUBY_PLATFORM
14
+ when 'java'
15
+ gem 'maruku', '~> 0.6.0'
16
+ else
17
+ gem 'rdiscount', '~> 1.6.3'
18
+ end
19
+
20
+ gem 'yard', '~> 0.5.3'
21
+ end
22
+
23
+ gem 'rspec', '~> 1.3.0', :group => [:development, :test]
data/Rakefile CHANGED
@@ -1,24 +1,28 @@
1
1
  require 'rubygems'
2
+ require 'bundler'
3
+
4
+ begin
5
+ Bundler.setup(:development, :doc)
6
+ rescue Bundler::BundlerError => e
7
+ STDERR.puts e.message
8
+ STDERR.puts "Run `bundle install` to install missing gems"
9
+ exit e.status_code
10
+ end
11
+
2
12
  require 'rake'
13
+ require 'jeweler'
3
14
  require './lib/pullr/version.rb'
4
15
 
5
- begin
6
- require 'jeweler'
7
- Jeweler::Tasks.new do |gem|
8
- gem.name = 'pullr'
9
- gem.version = Pullr::VERSION
10
- gem.summary = %Q{A Ruby library for quickly pulling down or updating any Repository.}
11
- gem.description = %Q{Pullr is a Ruby library for quickly pulling down or updating any Repository. Pullr currently supports Git, Mercurial (Hg), SubVersion (SVN) and Rsync. Pullr provides a command-line utility and an API which can be used by other frameworks.}
12
- gem.email = 'postmodern.mod3@gmail.com'
13
- gem.homepage = 'http://github.com/postmodern/pullr'
14
- gem.authors = ['Postmodern']
15
- gem.add_dependency 'addressable', '>= 2.1.1'
16
- gem.add_development_dependency 'rspec', '>= 1.3.0'
17
- gem.add_development_dependency 'yard', '>= 0.5.3'
18
- gem.has_rdoc = 'yard'
19
- end
20
- rescue LoadError
21
- puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
16
+ Jeweler::Tasks.new do |gem|
17
+ gem.name = 'pullr'
18
+ gem.version = Pullr::VERSION
19
+ gem.license = 'MIT'
20
+ gem.summary = %Q{A Ruby library for quickly pulling down or updating any Repository.}
21
+ gem.description = %Q{Pullr is a Ruby library for quickly pulling down or updating any Repository. Pullr currently supports Git, Mercurial (Hg), SubVersion (SVN) and Rsync. Pullr provides a command-line utility and an API which can be used by other frameworks.}
22
+ gem.email = 'postmodern.mod3@gmail.com'
23
+ gem.homepage = 'http://github.com/postmodern/pullr'
24
+ gem.authors = ['Postmodern']
25
+ gem.has_rdoc = 'yard'
22
26
  end
23
27
 
24
28
  require 'spec/rake/spectask'
@@ -28,15 +32,7 @@ Spec::Rake::SpecTask.new(:spec) do |spec|
28
32
  spec.spec_opts = ['--options', '.specopts']
29
33
  end
30
34
 
31
- task :spec => :check_dependencies
32
35
  task :default => :spec
33
36
 
34
- begin
35
- require 'yard'
36
-
37
- YARD::Rake::YardocTask.new
38
- rescue LoadError
39
- task :yard do
40
- abort "YARD is not available. In order to run yard, you must: gem install yard"
41
- end
42
- end
37
+ require 'yard'
38
+ YARD::Rake::YardocTask.new
@@ -1,5 +1,6 @@
1
1
  require 'pullr/scm/scm'
2
2
 
3
+ require 'uri'
3
4
  require 'addressable/uri'
4
5
 
5
6
  module Pullr
@@ -1,4 +1,4 @@
1
1
  module Pullr
2
2
  # pullr version
3
- VERSION = '0.1.2'
3
+ VERSION = '0.1.3'
4
4
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{pullr}
8
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Postmodern"]
12
- s.date = %q{2010-03-23}
12
+ s.date = %q{2010-07-18}
13
13
  s.default_executable = %q{pullr}
14
14
  s.description = %q{Pullr is a Ruby library for quickly pulling down or updating any Repository. Pullr currently supports Git, Mercurial (Hg), SubVersion (SVN) and Rsync. Pullr provides a command-line utility and an API which can be used by other frameworks.}
15
15
  s.email = %q{postmodern.mod3@gmail.com}
@@ -24,6 +24,7 @@ Gem::Specification.new do |s|
24
24
  ".specopts",
25
25
  ".yardopts",
26
26
  "ChangeLog.md",
27
+ "Gemfile",
27
28
  "LICENSE.txt",
28
29
  "README.md",
29
30
  "Rakefile",
@@ -54,35 +55,38 @@ Gem::Specification.new do |s|
54
55
  ]
55
56
  s.has_rdoc = %q{yard}
56
57
  s.homepage = %q{http://github.com/postmodern/pullr}
57
- s.rdoc_options = ["--charset=UTF-8"]
58
+ s.licenses = ["MIT"]
58
59
  s.require_paths = ["lib"]
59
- s.rubygems_version = %q{1.3.6}
60
+ s.rubygems_version = %q{1.3.7}
60
61
  s.summary = %q{A Ruby library for quickly pulling down or updating any Repository.}
61
62
  s.test_files = [
62
- "spec/spec_helper.rb",
63
+ "spec/local_repository_spec.rb",
63
64
  "spec/pullr_spec.rb",
65
+ "spec/remote_repository_spec.rb",
64
66
  "spec/scm_spec.rb",
65
- "spec/local_repository_spec.rb",
66
- "spec/remote_repository_spec.rb"
67
+ "spec/spec_helper.rb"
67
68
  ]
68
69
 
69
70
  if s.respond_to? :specification_version then
70
71
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
71
72
  s.specification_version = 3
72
73
 
73
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
74
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
74
75
  s.add_runtime_dependency(%q<addressable>, [">= 2.1.1"])
75
- s.add_development_dependency(%q<rspec>, [">= 1.3.0"])
76
- s.add_development_dependency(%q<yard>, [">= 0.5.3"])
76
+ s.add_development_dependency(%q<rake>, ["~> 0.8.7"])
77
+ s.add_development_dependency(%q<jeweler>, ["~> 1.4.0"])
78
+ s.add_development_dependency(%q<rspec>, ["~> 1.3.0"])
77
79
  else
78
80
  s.add_dependency(%q<addressable>, [">= 2.1.1"])
79
- s.add_dependency(%q<rspec>, [">= 1.3.0"])
80
- s.add_dependency(%q<yard>, [">= 0.5.3"])
81
+ s.add_dependency(%q<rake>, ["~> 0.8.7"])
82
+ s.add_dependency(%q<jeweler>, ["~> 1.4.0"])
83
+ s.add_dependency(%q<rspec>, ["~> 1.3.0"])
81
84
  end
82
85
  else
83
86
  s.add_dependency(%q<addressable>, [">= 2.1.1"])
84
- s.add_dependency(%q<rspec>, [">= 1.3.0"])
85
- s.add_dependency(%q<yard>, [">= 0.5.3"])
87
+ s.add_dependency(%q<rake>, ["~> 0.8.7"])
88
+ s.add_dependency(%q<jeweler>, ["~> 1.4.0"])
89
+ s.add_dependency(%q<rspec>, ["~> 1.3.0"])
86
90
  end
87
91
  end
88
92
 
@@ -1,7 +1,15 @@
1
1
  require 'rubygems'
2
- gem 'rspec', '>=1.3.0'
3
- require 'spec'
2
+ require 'bundler'
3
+
4
+ begin
5
+ Bundler.setup(:runtime, :test)
6
+ rescue Bundler::BundlerError => e
7
+ STDERR.puts e.message
8
+ STDERR.puts "Run `bundle install` to install missing gems"
9
+ exit e.status_code
10
+ end
4
11
 
12
+ require 'spec'
5
13
  require 'pullr/version'
6
14
 
7
15
  include Pullr
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 2
9
- version: 0.1.2
8
+ - 3
9
+ version: 0.1.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Postmodern
@@ -14,13 +14,13 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-03-23 00:00:00 -07:00
17
+ date: 2010-07-18 00:00:00 -07:00
18
18
  default_executable: pullr
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: addressable
22
- prerelease: false
23
22
  requirement: &id001 !ruby/object:Gem::Requirement
23
+ none: false
24
24
  requirements:
25
25
  - - ">="
26
26
  - !ruby/object:Gem::Version
@@ -30,35 +30,53 @@ dependencies:
30
30
  - 1
31
31
  version: 2.1.1
32
32
  type: :runtime
33
+ prerelease: false
33
34
  version_requirements: *id001
34
35
  - !ruby/object:Gem::Dependency
35
- name: rspec
36
- prerelease: false
36
+ name: rake
37
37
  requirement: &id002 !ruby/object:Gem::Requirement
38
+ none: false
38
39
  requirements:
39
- - - ">="
40
+ - - ~>
40
41
  - !ruby/object:Gem::Version
41
42
  segments:
42
- - 1
43
- - 3
44
43
  - 0
45
- version: 1.3.0
44
+ - 8
45
+ - 7
46
+ version: 0.8.7
46
47
  type: :development
48
+ prerelease: false
47
49
  version_requirements: *id002
48
50
  - !ruby/object:Gem::Dependency
49
- name: yard
50
- prerelease: false
51
+ name: jeweler
51
52
  requirement: &id003 !ruby/object:Gem::Requirement
53
+ none: false
52
54
  requirements:
53
- - - ">="
55
+ - - ~>
54
56
  - !ruby/object:Gem::Version
55
57
  segments:
58
+ - 1
59
+ - 4
56
60
  - 0
57
- - 5
58
- - 3
59
- version: 0.5.3
61
+ version: 1.4.0
60
62
  type: :development
63
+ prerelease: false
61
64
  version_requirements: *id003
65
+ - !ruby/object:Gem::Dependency
66
+ name: rspec
67
+ requirement: &id004 !ruby/object:Gem::Requirement
68
+ none: false
69
+ requirements:
70
+ - - ~>
71
+ - !ruby/object:Gem::Version
72
+ segments:
73
+ - 1
74
+ - 3
75
+ - 0
76
+ version: 1.3.0
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: *id004
62
80
  description: Pullr is a Ruby library for quickly pulling down or updating any Repository. Pullr currently supports Git, Mercurial (Hg), SubVersion (SVN) and Rsync. Pullr provides a command-line utility and an API which can be used by other frameworks.
63
81
  email: postmodern.mod3@gmail.com
64
82
  executables:
@@ -74,6 +92,7 @@ files:
74
92
  - .specopts
75
93
  - .yardopts
76
94
  - ChangeLog.md
95
+ - Gemfile
77
96
  - LICENSE.txt
78
97
  - README.md
79
98
  - Rakefile
@@ -103,21 +122,24 @@ files:
103
122
  - spec/spec_helper.rb
104
123
  has_rdoc: yard
105
124
  homepage: http://github.com/postmodern/pullr
106
- licenses: []
107
-
125
+ licenses:
126
+ - MIT
108
127
  post_install_message:
109
- rdoc_options:
110
- - --charset=UTF-8
128
+ rdoc_options: []
129
+
111
130
  require_paths:
112
131
  - lib
113
132
  required_ruby_version: !ruby/object:Gem::Requirement
133
+ none: false
114
134
  requirements:
115
135
  - - ">="
116
136
  - !ruby/object:Gem::Version
137
+ hash: 338471343
117
138
  segments:
118
139
  - 0
119
140
  version: "0"
120
141
  required_rubygems_version: !ruby/object:Gem::Requirement
142
+ none: false
121
143
  requirements:
122
144
  - - ">="
123
145
  - !ruby/object:Gem::Version
@@ -127,13 +149,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
127
149
  requirements: []
128
150
 
129
151
  rubyforge_project:
130
- rubygems_version: 1.3.6
152
+ rubygems_version: 1.3.7
131
153
  signing_key:
132
154
  specification_version: 3
133
155
  summary: A Ruby library for quickly pulling down or updating any Repository.
134
156
  test_files:
135
- - spec/spec_helper.rb
136
- - spec/pullr_spec.rb
137
- - spec/scm_spec.rb
138
157
  - spec/local_repository_spec.rb
158
+ - spec/pullr_spec.rb
139
159
  - spec/remote_repository_spec.rb
160
+ - spec/scm_spec.rb
161
+ - spec/spec_helper.rb