digitalpardoe-rflickr 1.1.2 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Gemfile ADDED
@@ -0,0 +1,9 @@
1
+ source "http://rubygems.org"
2
+
3
+ gem "mime-types", ">= 0"
4
+
5
+ group :development do
6
+ gem "rdoc", ">= 0"
7
+ gem "bundler", ">= 0"
8
+ gem "jeweler", ">= 0"
9
+ end
@@ -1,9 +1,10 @@
1
1
  # rFlickr
2
2
 
3
+ **Warning**: This gem only works with Ruby 1.8, a new version compatible with Ruby 2.0 is coming soon.
4
+
3
5
  To use this version of rFlickr, first you will need to install
4
- the RubyGem you can do by (from a command line):
6
+ the RubyGem using the following command:
5
7
 
6
- $ gem sources -a http://gems.github.com (you only have to do this once)
7
8
  $ sudo gem install digitalpardoe-rflickr
8
9
 
9
10
  Then you'll need to get a Flickr API key as detailed here:
@@ -19,6 +20,3 @@ A short guide to get you started can be found here:
19
20
 
20
21
  The guide is a little out of date in it's gem installation technique,
21
22
  use the instructions above instead.
22
-
23
- This project is still a work in progress, bear with me whilst it is
24
- set up.
data/Rakefile CHANGED
@@ -1,56 +1,42 @@
1
+ # encoding: utf-8
2
+
1
3
  require 'rubygems'
4
+ require 'bundler'
5
+ begin
6
+ Bundler.setup(:default, :development)
7
+ rescue Bundler::BundlerError => e
8
+ $stderr.puts e.message
9
+ $stderr.puts "Run `bundle install` to install missing gems"
10
+ exit e.status_code
11
+ end
2
12
  require 'rake'
3
13
 
4
- begin
5
- require 'jeweler'
6
- Jeweler::Tasks.new do |gem|
14
+ require 'jeweler'
15
+ Jeweler::Tasks.new do |gem|
7
16
  gem.name = "digitalpardoe-rflickr"
8
17
  gem.summary = "rFlickr is a Ruby interface to the Flickr API"
9
18
  gem.email = "contact@digitalpardoe.co.uk"
10
19
  gem.homepage = "http://github.com/digitalpardoe/rflickr"
11
20
  gem.authors = ["digital:pardoe"]
12
21
  gem.description = "rFlickr is a clone of the original RubyForge based rflickr, a Ruby implementation of the Flickr API. It includes a faithful albeit old reproduction of the published API."
13
- gem.add_dependency('mime-types')
14
- end
15
- rescue LoadError
16
- puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
17
22
  end
23
+ Jeweler::RubygemsDotOrgTasks.new
18
24
 
19
25
  require 'rake/testtask'
20
26
  Rake::TestTask.new(:test) do |test|
21
- test.libs << 'lib' << 'test'
22
- test.pattern = 'test/**/*_test.rb'
23
- test.verbose = true
24
- end
25
-
26
- begin
27
- require 'rcov/rcovtask'
28
- Rcov::RcovTask.new do |test|
29
- test.libs << 'test'
30
- test.pattern = 'test/**/*_test.rb'
31
- test.verbose = true
32
- end
33
- rescue LoadError
34
- task :rcov do
35
- abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
36
- end
27
+ test.libs << 'lib' << 'test'
28
+ test.pattern = 'test/**/test_*.rb'
29
+ test.verbose = true
37
30
  end
38
31
 
39
32
  task :default => :test
40
33
 
41
- require 'rake/rdoctask'
34
+ require 'rdoc/task'
42
35
  Rake::RDocTask.new do |rdoc|
43
- if File.exist?('VERSION.yml')
44
- config = YAML.load(File.read('VERSION.yml'))
45
- version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
46
- else
47
- version = ""
48
- end
36
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
49
37
 
50
- rdoc.rdoc_dir = 'rdoc'
51
- rdoc.title = "rflickr #{version}"
52
- rdoc.rdoc_files.include('README*')
53
- rdoc.rdoc_files.include('LICENSE*')
54
- rdoc.rdoc_files.include('lib/**/*.rb')
38
+ rdoc.rdoc_dir = 'rdoc'
39
+ rdoc.title = "digitalpardoe-rflickr #{version}"
40
+ rdoc.rdoc_files.include('README*')
41
+ rdoc.rdoc_files.include('lib/**/*.rb')
55
42
  end
56
-
@@ -1,4 +1,5 @@
1
1
  ---
2
- :major: 1
3
2
  :minor: 1
4
- :patch: 2
3
+ :patch: 4
4
+ :build:
5
+ :major: 1
@@ -0,0 +1,73 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "digitalpardoe-rflickr"
8
+ s.version = "1.1.4"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["digital:pardoe"]
12
+ s.date = "2013-08-09"
13
+ s.description = "rFlickr is a clone of the original RubyForge based rflickr, a Ruby implementation of the Flickr API. It includes a faithful albeit old reproduction of the published API."
14
+ s.email = "contact@digitalpardoe.co.uk"
15
+ s.extra_rdoc_files = [
16
+ "LICENSE",
17
+ "README.markdown"
18
+ ]
19
+ s.files = [
20
+ "Gemfile",
21
+ "LICENSE",
22
+ "README.markdown",
23
+ "Rakefile",
24
+ "VERSION.yml",
25
+ "digitalpardoe-rflickr.gemspec",
26
+ "lib/flickr.rb",
27
+ "lib/flickr/auth.rb",
28
+ "lib/flickr/base.rb",
29
+ "lib/flickr/blogs.rb",
30
+ "lib/flickr/contacts.rb",
31
+ "lib/flickr/favorites.rb",
32
+ "lib/flickr/groups.rb",
33
+ "lib/flickr/interestingness.rb",
34
+ "lib/flickr/licenses.rb",
35
+ "lib/flickr/notes.rb",
36
+ "lib/flickr/people.rb",
37
+ "lib/flickr/photos.rb",
38
+ "lib/flickr/photosets.rb",
39
+ "lib/flickr/pools.rb",
40
+ "lib/flickr/reflection.rb",
41
+ "lib/flickr/tags.rb",
42
+ "lib/flickr/transform.rb",
43
+ "lib/flickr/upload.rb",
44
+ "lib/flickr/urls.rb",
45
+ "test/test_suite.rb"
46
+ ]
47
+ s.homepage = "http://github.com/digitalpardoe/rflickr"
48
+ s.require_paths = ["lib"]
49
+ s.rubygems_version = "1.8.25"
50
+ s.summary = "rFlickr is a Ruby interface to the Flickr API"
51
+
52
+ if s.respond_to? :specification_version then
53
+ s.specification_version = 3
54
+
55
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
56
+ s.add_runtime_dependency(%q<mime-types>, [">= 0"])
57
+ s.add_development_dependency(%q<rdoc>, [">= 0"])
58
+ s.add_development_dependency(%q<bundler>, [">= 0"])
59
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
60
+ else
61
+ s.add_dependency(%q<mime-types>, [">= 0"])
62
+ s.add_dependency(%q<rdoc>, [">= 0"])
63
+ s.add_dependency(%q<bundler>, [">= 0"])
64
+ s.add_dependency(%q<jeweler>, [">= 0"])
65
+ end
66
+ else
67
+ s.add_dependency(%q<mime-types>, [">= 0"])
68
+ s.add_dependency(%q<rdoc>, [">= 0"])
69
+ s.add_dependency(%q<bundler>, [">= 0"])
70
+ s.add_dependency(%q<jeweler>, [">= 0"])
71
+ end
72
+ end
73
+
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: digitalpardoe-rflickr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ hash: 27
5
+ prerelease:
6
+ segments:
7
+ - 1
8
+ - 1
9
+ - 4
10
+ version: 1.1.4
5
11
  platform: ruby
6
12
  authors:
7
13
  - digital:pardoe
@@ -9,19 +15,64 @@ autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
17
 
12
- date: 2009-10-08 00:00:00 +01:00
13
- default_executable:
18
+ date: 2013-08-09 00:00:00 Z
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
- name: mime-types
17
21
  type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
22
+ version_requirements: &id001 !ruby/object:Gem::Requirement
23
+ none: false
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ hash: 3
28
+ segments:
29
+ - 0
30
+ version: "0"
31
+ requirement: *id001
32
+ prerelease: false
33
+ name: mime-types
34
+ - !ruby/object:Gem::Dependency
35
+ type: :development
36
+ version_requirements: &id002 !ruby/object:Gem::Requirement
37
+ none: false
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ hash: 3
42
+ segments:
43
+ - 0
44
+ version: "0"
45
+ requirement: *id002
46
+ prerelease: false
47
+ name: rdoc
48
+ - !ruby/object:Gem::Dependency
49
+ type: :development
50
+ version_requirements: &id003 !ruby/object:Gem::Requirement
51
+ none: false
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ hash: 3
56
+ segments:
57
+ - 0
58
+ version: "0"
59
+ requirement: *id003
60
+ prerelease: false
61
+ name: bundler
62
+ - !ruby/object:Gem::Dependency
63
+ type: :development
64
+ version_requirements: &id004 !ruby/object:Gem::Requirement
65
+ none: false
20
66
  requirements:
21
67
  - - ">="
22
68
  - !ruby/object:Gem::Version
69
+ hash: 3
70
+ segments:
71
+ - 0
23
72
  version: "0"
24
- version:
73
+ requirement: *id004
74
+ prerelease: false
75
+ name: jeweler
25
76
  description: rFlickr is a clone of the original RubyForge based rflickr, a Ruby implementation of the Flickr API. It includes a faithful albeit old reproduction of the published API.
26
77
  email: contact@digitalpardoe.co.uk
27
78
  executables: []
@@ -32,11 +83,12 @@ extra_rdoc_files:
32
83
  - LICENSE
33
84
  - README.markdown
34
85
  files:
35
- - .gitignore
86
+ - Gemfile
36
87
  - LICENSE
37
88
  - README.markdown
38
89
  - Rakefile
39
90
  - VERSION.yml
91
+ - digitalpardoe-rflickr.gemspec
40
92
  - lib/flickr.rb
41
93
  - lib/flickr/auth.rb
42
94
  - lib/flickr/base.rb
@@ -57,33 +109,38 @@ files:
57
109
  - lib/flickr/upload.rb
58
110
  - lib/flickr/urls.rb
59
111
  - test/test_suite.rb
60
- has_rdoc: true
61
112
  homepage: http://github.com/digitalpardoe/rflickr
62
113
  licenses: []
63
114
 
64
115
  post_install_message:
65
- rdoc_options:
66
- - --charset=UTF-8
116
+ rdoc_options: []
117
+
67
118
  require_paths:
68
119
  - lib
69
120
  required_ruby_version: !ruby/object:Gem::Requirement
121
+ none: false
70
122
  requirements:
71
123
  - - ">="
72
124
  - !ruby/object:Gem::Version
125
+ hash: 3
126
+ segments:
127
+ - 0
73
128
  version: "0"
74
- version:
75
129
  required_rubygems_version: !ruby/object:Gem::Requirement
130
+ none: false
76
131
  requirements:
77
132
  - - ">="
78
133
  - !ruby/object:Gem::Version
134
+ hash: 3
135
+ segments:
136
+ - 0
79
137
  version: "0"
80
- version:
81
138
  requirements: []
82
139
 
83
140
  rubyforge_project:
84
- rubygems_version: 1.3.4
141
+ rubygems_version: 1.8.25
85
142
  signing_key:
86
143
  specification_version: 3
87
144
  summary: rFlickr is a Ruby interface to the Flickr API
88
- test_files:
89
- - test/test_suite.rb
145
+ test_files: []
146
+
data/.gitignore DELETED
@@ -1,4 +0,0 @@
1
- .DS_Store
2
- rdoc
3
- pkg
4
- nbproject