chimps-cli 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,32 @@
1
+
2
+ # editors
3
+ *~
4
+ \#*
5
+ \.#*
6
+ *.tmproj
7
+ tmtags
8
+ TAGS
9
+ *.swp
10
+
11
+ ## PROJECT::GENERAL
12
+ coverage
13
+ rdoc
14
+ pkg
15
+
16
+ # editors
17
+ # miscellaneous
18
+ # version control
19
+ *.tmproj
20
+ *DO_NOT_VERSION*
21
+ *~
22
+ .#*
23
+ .DS_Store
24
+ .bak
25
+ .bzr
26
+ .hg
27
+ .svn
28
+ TAGS
29
+ \#*
30
+ \.#*
31
+ pkg/*
32
+ Gemfile.lock
data/Gemfile CHANGED
@@ -1,8 +1,3 @@
1
1
  #!/usr/bin/env ruby
2
2
  source :gemcutter
3
- gem "chimps", ">= 0.3.2"
4
- gem "configliere", ">= 0.3.2"
5
- gem "json", "1.4.6"
6
- group :test do
7
- gem "rspec"
8
- end
3
+ gemspec
data/Rakefile CHANGED
@@ -1,24 +1,2 @@
1
- require 'rubygems'
2
- require 'rake'
3
-
4
- begin
5
- # http://github.com/technicalpickles/jeweler
6
- require 'jeweler'
7
- Jeweler::Tasks.new do |gem|
8
- gem.name = "chimps-cli"
9
- gem.summary = "Chimps CLI is command-line interface for the Chimps gem (http://www.infochimps.com/labs)"
10
- gem.description = "Chimps CLI provides the command line program 'chimps' which allows you to easily make API calls against Infochimps web services."
11
- gem.email = "coders@infochimps.com"
12
- gem.homepage = "http://github.com/infochimps/chimps-cli"
13
- gem.authors = ["Dhruv Bansal"]
14
- end
15
- Jeweler::GemcutterTasks.new
16
- rescue LoadError
17
- puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
18
- end
19
-
20
- desc "Build tags"
21
- task :tags do
22
- system "etags -R README.rdoc bin lib spec"
23
- end
24
-
1
+ require 'bundler'
2
+ Bundler::GemHelper.install_tasks
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.3
@@ -1,105 +1,26 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
1
  # -*- encoding: utf-8 -*-
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $:.unshift(lib) unless $:.include?(lib)
5
4
 
6
5
  Gem::Specification.new do |s|
7
- s.name = %q{chimps-cli}
8
- s.version = "0.0.2"
6
+ s.name = "chimps-cli"
7
+ s.version = File.read(File.expand_path("../VERSION", __FILE__))
8
+ s.platform = Gem::Platform::RUBY
9
+ s.authors = ["Dhruv Bansal"]
10
+ s.email = ["coders@infochimps.com"]
11
+ s.homepage = "http://github.com/infochimps/chimps-cli"
12
+ s.summary = "Chimps CLI is command-line interface for the Infochimps APIs"
13
+ s.description = "Chimps CLI provides the command-line program 'chimps' which allows you to easily make API calls against Infochimps web services, including searching, creating datasets, downloading, and querying data."
14
+ s.extra_rdoc_files = ["README.rdoc"]
15
+ s.files = `git ls-files`.split("\n")
16
+ s.test_files = `git ls-files -- spec/*`.split("\n")
17
+ s.require_paths = ["lib"]
18
+ s.executables = ["chimps"]
19
+
20
+ s.add_dependency "chimps", ">= 0.3.5"
21
+ s.add_dependency "configliere", ">= 0.3.2"
22
+ s.add_dependency "json"
9
23
 
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Dhruv Bansal"]
12
- s.date = %q{2011-03-25}
13
- s.default_executable = %q{chimps}
14
- s.description = %q{Chimps CLI provides the command line program 'chimps' which allows you to easily make API calls against Infochimps web services.}
15
- s.email = %q{coders@infochimps.com}
16
- s.executables = ["chimps"]
17
- s.extra_rdoc_files = [
18
- "LICENSE",
19
- "README.rdoc"
20
- ]
21
- s.files = [
22
- "Gemfile",
23
- "Gemfile.lock",
24
- "LICENSE",
25
- "README.rdoc",
26
- "Rakefile",
27
- "VERSION",
28
- "bin/chimps",
29
- "chimps-cli.gemspec",
30
- "lib/chimps-cli.rb",
31
- "lib/chimps-cli/commands.rb",
32
- "lib/chimps-cli/commands/base.rb",
33
- "lib/chimps-cli/commands/create.rb",
34
- "lib/chimps-cli/commands/delete.rb",
35
- "lib/chimps-cli/commands/destroy.rb",
36
- "lib/chimps-cli/commands/download.rb",
37
- "lib/chimps-cli/commands/get.rb",
38
- "lib/chimps-cli/commands/help.rb",
39
- "lib/chimps-cli/commands/list.rb",
40
- "lib/chimps-cli/commands/me.rb",
41
- "lib/chimps-cli/commands/post.rb",
42
- "lib/chimps-cli/commands/put.rb",
43
- "lib/chimps-cli/commands/query.rb",
44
- "lib/chimps-cli/commands/search.rb",
45
- "lib/chimps-cli/commands/show.rb",
46
- "lib/chimps-cli/commands/test.rb",
47
- "lib/chimps-cli/commands/update.rb",
48
- "lib/chimps-cli/commands/upload.rb",
49
- "lib/chimps-cli/utils.rb",
50
- "lib/chimps-cli/utils/acts_on_resource.rb",
51
- "lib/chimps-cli/utils/explicit_path.rb",
52
- "lib/chimps-cli/utils/http_format.rb",
53
- "lib/chimps-cli/utils/uses_param_value_data.rb",
54
- "spec/chimps-cli/commands/delete_spec.rb",
55
- "spec/chimps-cli/commands/get_spec.rb",
56
- "spec/chimps-cli/commands/help_spec.rb",
57
- "spec/chimps-cli/commands/list_spec.rb",
58
- "spec/chimps-cli/commands/post_spec.rb",
59
- "spec/chimps-cli/commands/put_spec.rb",
60
- "spec/chimps-cli/commands/show_spec.rb",
61
- "spec/spec_helper.rb",
62
- "spec/support/acts_on_resource.rb",
63
- "spec/support/explicit_path.rb",
64
- "spec/support/http_format.rb",
65
- "spec/support/uses_param_value_data.rb"
66
- ]
67
- s.homepage = %q{http://github.com/infochimps/chimps-cli}
68
- s.require_paths = ["lib"]
69
- s.rubygems_version = %q{1.3.7}
70
- s.summary = %q{Chimps CLI is command-line interface for the Chimps gem (http://www.infochimps.com/labs)}
71
- s.test_files = [
72
- "spec/chimps-cli/commands/delete_spec.rb",
73
- "spec/chimps-cli/commands/get_spec.rb",
74
- "spec/chimps-cli/commands/help_spec.rb",
75
- "spec/chimps-cli/commands/list_spec.rb",
76
- "spec/chimps-cli/commands/post_spec.rb",
77
- "spec/chimps-cli/commands/put_spec.rb",
78
- "spec/chimps-cli/commands/show_spec.rb",
79
- "spec/spec_helper.rb",
80
- "spec/support/acts_on_resource.rb",
81
- "spec/support/explicit_path.rb",
82
- "spec/support/http_format.rb",
83
- "spec/support/uses_param_value_data.rb"
84
- ]
85
-
86
- if s.respond_to? :specification_version then
87
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
88
- s.specification_version = 3
89
-
90
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
91
- s.add_runtime_dependency(%q<chimps>, [">= 0.3.2"])
92
- s.add_runtime_dependency(%q<configliere>, [">= 0.3.2"])
93
- s.add_runtime_dependency(%q<json>, ["= 1.4.6"])
94
- else
95
- s.add_dependency(%q<chimps>, [">= 0.3.2"])
96
- s.add_dependency(%q<configliere>, [">= 0.3.2"])
97
- s.add_dependency(%q<json>, ["= 1.4.6"])
98
- end
99
- else
100
- s.add_dependency(%q<chimps>, [">= 0.3.2"])
101
- s.add_dependency(%q<configliere>, [">= 0.3.2"])
102
- s.add_dependency(%q<json>, ["= 1.4.6"])
103
- end
24
+ s.add_development_dependency "rspec", ">= 2.0.0"
104
25
  end
105
26
 
@@ -1,6 +1,4 @@
1
1
  require 'rubygems'
2
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path('../Gemfile', File.dirname(__FILE__))
3
- require 'bundler/setup'
4
2
  require 'chimps'
5
3
  require 'chimps-cli/utils'
6
4
  require 'chimps-cli/commands'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chimps-cli
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dhruv Bansal
@@ -15,29 +15,29 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-03-25 00:00:00 -05:00
19
- default_executable: chimps
18
+ date: 2011-04-12 00:00:00 -05:00
19
+ default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
- prerelease: false
23
22
  name: chimps
24
- version_requirements: &id001 !ruby/object:Gem::Requirement
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- hash: 23
29
+ hash: 25
30
30
  segments:
31
31
  - 0
32
32
  - 3
33
- - 2
34
- version: 0.3.2
35
- requirement: *id001
33
+ - 5
34
+ version: 0.3.5
36
35
  type: :runtime
36
+ version_requirements: *id001
37
37
  - !ruby/object:Gem::Dependency
38
- prerelease: false
39
38
  name: configliere
40
- version_requirements: &id002 !ruby/object:Gem::Requirement
39
+ prerelease: false
40
+ requirement: &id002 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
43
  - - ">="
@@ -48,36 +48,50 @@ dependencies:
48
48
  - 3
49
49
  - 2
50
50
  version: 0.3.2
51
- requirement: *id002
52
51
  type: :runtime
52
+ version_requirements: *id002
53
53
  - !ruby/object:Gem::Dependency
54
- prerelease: false
55
54
  name: json
56
- version_requirements: &id003 !ruby/object:Gem::Requirement
55
+ prerelease: false
56
+ requirement: &id003 !ruby/object:Gem::Requirement
57
57
  none: false
58
58
  requirements:
59
- - - "="
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
- hash: 11
61
+ hash: 3
62
62
  segments:
63
- - 1
64
- - 4
65
- - 6
66
- version: 1.4.6
67
- requirement: *id003
63
+ - 0
64
+ version: "0"
68
65
  type: :runtime
69
- description: Chimps CLI provides the command line program 'chimps' which allows you to easily make API calls against Infochimps web services.
70
- email: coders@infochimps.com
66
+ version_requirements: *id003
67
+ - !ruby/object:Gem::Dependency
68
+ name: rspec
69
+ prerelease: false
70
+ requirement: &id004 !ruby/object:Gem::Requirement
71
+ none: false
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ hash: 15
76
+ segments:
77
+ - 2
78
+ - 0
79
+ - 0
80
+ version: 2.0.0
81
+ type: :development
82
+ version_requirements: *id004
83
+ description: Chimps CLI provides the command-line program 'chimps' which allows you to easily make API calls against Infochimps web services, including searching, creating datasets, downloading, and querying data.
84
+ email:
85
+ - coders@infochimps.com
71
86
  executables:
72
87
  - chimps
73
88
  extensions: []
74
89
 
75
90
  extra_rdoc_files:
76
- - LICENSE
77
91
  - README.rdoc
78
92
  files:
93
+ - .gitignore
79
94
  - Gemfile
80
- - Gemfile.lock
81
95
  - LICENSE
82
96
  - README.rdoc
83
97
  - Rakefile
@@ -153,7 +167,7 @@ rubyforge_project:
153
167
  rubygems_version: 1.3.7
154
168
  signing_key:
155
169
  specification_version: 3
156
- summary: Chimps CLI is command-line interface for the Chimps gem (http://www.infochimps.com/labs)
170
+ summary: Chimps CLI is command-line interface for the Infochimps APIs
157
171
  test_files:
158
172
  - spec/chimps-cli/commands/delete_spec.rb
159
173
  - spec/chimps-cli/commands/get_spec.rb
@@ -1,32 +0,0 @@
1
- GEM
2
- remote: http://rubygems.org/
3
- specs:
4
- addressable (2.2.4)
5
- chimps (0.3.2)
6
- addressable
7
- configliere (>= 0.3.2)
8
- json (= 1.4.6)
9
- rest-client (>= 1.6.1)
10
- configliere (0.3.2)
11
- diff-lcs (1.1.2)
12
- json (1.4.6)
13
- mime-types (1.16)
14
- rest-client (1.6.1)
15
- mime-types (>= 1.16)
16
- rspec (2.5.0)
17
- rspec-core (~> 2.5.0)
18
- rspec-expectations (~> 2.5.0)
19
- rspec-mocks (~> 2.5.0)
20
- rspec-core (2.5.1)
21
- rspec-expectations (2.5.0)
22
- diff-lcs (~> 1.1.2)
23
- rspec-mocks (2.5.0)
24
-
25
- PLATFORMS
26
- ruby
27
-
28
- DEPENDENCIES
29
- chimps (>= 0.3.2)
30
- configliere (>= 0.3.2)
31
- json (= 1.4.6)
32
- rspec