pupil 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,21 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ .DS_Store
7
+ *.tmproj
8
+ tmtags
9
+ Gemfile.lock
10
+ InstalledFiles
11
+ _yardoc
12
+ coverage
13
+ doc/
14
+ lib/bundler/man
15
+ pkg
16
+ rdoc
17
+ spec/reports
18
+ spec/keys/pupil_testkey.rb
19
+ test/tmp
20
+ test/version_tmp
21
+ tmp
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ 0.3.3
2
+ ----------------
3
+
4
+ * Jeweler to Bundler gem
5
+
1
6
  0.3.2
2
7
  ----------------
3
8
 
data/Gemfile CHANGED
@@ -1,12 +1,4 @@
1
- source "http://rubygems.org"
1
+ source 'https://rubygems.org'
2
2
 
3
- gem "oauth"
4
- gem "json"
5
-
6
- group :development do
7
- gem "rspec", "~> 2.3.0"
8
- gem "yard", "~> 0.6.0"
9
- gem "bundler", "~> 1.0.0"
10
- gem "jeweler", "~> 1.6.4"
11
- gem "rcov", ">= 0"
12
- end
3
+ # Specify your gem's dependencies in pupil.gemspec
4
+ gemspec
data/Gemfile.lock CHANGED
@@ -1,34 +1,31 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ pupil (0.3.2)
5
+ json
6
+ oauth
7
+
1
8
  GEM
2
- remote: http://rubygems.org/
9
+ remote: https://rubygems.org/
3
10
  specs:
4
11
  diff-lcs (1.1.3)
5
- git (1.2.5)
6
- jeweler (1.6.4)
7
- bundler (~> 1.0)
8
- git (>= 1.2.5)
9
- rake
10
- json (1.6.3)
11
- oauth (0.4.5)
12
- rake (0.9.2.2)
13
- rcov (0.9.11)
14
- rspec (2.3.0)
15
- rspec-core (~> 2.3.0)
16
- rspec-expectations (~> 2.3.0)
17
- rspec-mocks (~> 2.3.0)
18
- rspec-core (2.3.1)
19
- rspec-expectations (2.3.0)
20
- diff-lcs (~> 1.1.2)
21
- rspec-mocks (2.3.0)
22
- yard (0.6.8)
12
+ json (1.7.3)
13
+ oauth (0.4.6)
14
+ rspec (2.10.0)
15
+ rspec-core (~> 2.10.0)
16
+ rspec-expectations (~> 2.10.0)
17
+ rspec-mocks (~> 2.10.0)
18
+ rspec-core (2.10.0)
19
+ rspec-expectations (2.10.0)
20
+ diff-lcs (~> 1.1.3)
21
+ rspec-mocks (2.10.1)
22
+ yard (0.8.1)
23
23
 
24
24
  PLATFORMS
25
25
  ruby
26
26
 
27
27
  DEPENDENCIES
28
- bundler (~> 1.0.0)
29
- jeweler (~> 1.6.4)
30
- json
31
- oauth
32
- rcov
33
- rspec (~> 2.3.0)
34
- yard (~> 0.6.0)
28
+ bundler
29
+ pupil!
30
+ rspec
31
+ yard
@@ -1,4 +1,6 @@
1
- Copyright (c) 2011 Oame
1
+ Copyright (c) 2012 Oame
2
+
3
+ MIT License
2
4
 
3
5
  Permission is hereby granted, free of charge, to any person obtaining
4
6
  a copy of this software and associated documentation files (the
@@ -17,4 +19,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
19
  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
20
  LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
21
  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.
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.ja.md CHANGED
@@ -100,5 +100,5 @@ Streaming API を使ってみる
100
100
  ライセンス
101
101
  -------------
102
102
 
103
- Copyright (c) 2011 おおあめ. LICENSE.txt を見て詳しい情報を得てください。
103
+ Copyright (c) 2011 おおあめ. LICENSE を見て詳しい情報を得てください。
104
104
 
data/README.md CHANGED
@@ -100,6 +100,6 @@ Developer: [Oame](http://twitter.com/o_ame)
100
100
  License
101
101
  -------------
102
102
 
103
- Copyright (c) 2011 Oame. See LICENSE.txt for
103
+ Copyright (c) 2011 Oame. See LICENSE for
104
104
  further details.
105
105
 
data/Rakefile CHANGED
@@ -1,43 +1,2 @@
1
- # -*- coding: utf-8 -*-
2
-
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
12
-
13
- require "rake"
14
- require "jeweler"
15
- Jeweler::Tasks.new do |gem|
16
- # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17
- gem.name = "pupil"
18
- gem.homepage = "http://github.com/oame/pupil"
19
- gem.license = "MIT"
20
- gem.summary = %Q{The "Lazy" Twitter API Library for Ruby 1.9.x}
21
- gem.description = %Q{The "Lazy" Twitter API Library for Ruby 1.9.x. Easy to use.}
22
- gem.email = "oame@oameya.com"
23
- gem.authors = ["Oame"]
24
- gem.required_ruby_version = '~>1.9.0'
25
- # dependencies defined in Gemfile
26
- end
27
- Jeweler::RubygemsDotOrgTasks.new
28
-
29
- require "rspec/core"
30
- require "rspec/core/rake_task"
31
- RSpec::Core::RakeTask.new(:spec) do |spec|
32
- spec.pattern = FileList["spec/**/*_spec.rb"]
33
- end
34
-
35
- RSpec::Core::RakeTask.new(:rcov) do |spec|
36
- spec.pattern = "spec/**/*_spec.rb"
37
- spec.rcov = true
38
- end
39
-
40
- task :default => :spec
41
-
42
- require "yard"
43
- YARD::Rake::YardocTask.new
1
+ #!/usr/bin/env rake
2
+ require "bundler/gem_tasks"
data/bin/hitomi ADDED
File without changes
data/lib/pupil.rb CHANGED
@@ -3,6 +3,7 @@
3
3
  $LOAD_PATH << File.dirname(File.expand_path(__FILE__)) if RUBY_VERSION >= "1.9.0"
4
4
  require "pupil/essentials"
5
5
  require "pupil/base"
6
+ require "pupil/version"
6
7
  require "pupil/schemes"
7
8
  require "pupil/general"
8
9
  require "pupil/account"
@@ -0,0 +1,3 @@
1
+ class Pupil
2
+ VERSION = "0.3.3"
3
+ end
data/pupil.gemspec CHANGED
@@ -1,90 +1,22 @@
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
+ require File.expand_path('../lib/pupil/version', __FILE__)
5
3
 
6
- Gem::Specification.new do |s|
7
- s.name = "pupil"
8
- s.version = "0.3.2"
4
+ Gem::Specification.new do |gem|
5
+ gem.authors = ["Oame"]
6
+ gem.email = ["oame@oameya.com"]
7
+ gem.description = %q{The "Lazy" Twitter API Library for Ruby 1.9.x. Easy to use.}
8
+ gem.summary = %q{The "Lazy" Twitter API Library for Ruby 1.9.x}
9
+ gem.homepage = "http://oame.github.com/pupil"
9
10
 
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Oame"]
12
- s.date = "2012-05-14"
13
- s.description = "The \"Lazy\" Twitter API Library for Ruby 1.9.x. Easy to use."
14
- s.email = "oame@oameya.com"
15
- s.extra_rdoc_files = [
16
- "LICENSE.txt",
17
- "README.ja.md",
18
- "README.md"
19
- ]
20
- s.files = [
21
- "CHANGELOG.md",
22
- "Gemfile",
23
- "Gemfile.lock",
24
- "LICENSE.txt",
25
- "README.ja.md",
26
- "README.md",
27
- "Rakefile",
28
- "VERSION",
29
- "lib/pupil.rb",
30
- "lib/pupil/account.rb",
31
- "lib/pupil/base.rb",
32
- "lib/pupil/blocks.rb",
33
- "lib/pupil/direct_messages.rb",
34
- "lib/pupil/essentials.rb",
35
- "lib/pupil/friendships.rb",
36
- "lib/pupil/general.rb",
37
- "lib/pupil/help.rb",
38
- "lib/pupil/keygen.rb",
39
- "lib/pupil/keygen/base.rb",
40
- "lib/pupil/lists.rb",
41
- "lib/pupil/schemes.rb",
42
- "lib/pupil/search.rb",
43
- "lib/pupil/statuses.rb",
44
- "lib/pupil/stream.rb",
45
- "lib/pupil/stream/base.rb",
46
- "lib/pupil/users.rb",
47
- "pupil.gemspec",
48
- "samples/key-generator.rb",
49
- "samples/userstream-test.rb",
50
- "spec/pupil_spec.rb",
51
- "spec/spec_helper.rb"
52
- ]
53
- s.homepage = "http://github.com/oame/pupil"
54
- s.licenses = ["MIT"]
55
- s.require_paths = ["lib"]
56
- s.required_ruby_version = Gem::Requirement.new("~> 1.9.0")
57
- s.rubygems_version = "1.8.15"
58
- s.summary = "The \"Lazy\" Twitter API Library for Ruby 1.9.x"
59
-
60
- if s.respond_to? :specification_version then
61
- s.specification_version = 3
62
-
63
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
64
- s.add_runtime_dependency(%q<oauth>, [">= 0"])
65
- s.add_runtime_dependency(%q<json>, [">= 0"])
66
- s.add_development_dependency(%q<rspec>, ["~> 2.3.0"])
67
- s.add_development_dependency(%q<yard>, ["~> 0.6.0"])
68
- s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
69
- s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
70
- s.add_development_dependency(%q<rcov>, [">= 0"])
71
- else
72
- s.add_dependency(%q<oauth>, [">= 0"])
73
- s.add_dependency(%q<json>, [">= 0"])
74
- s.add_dependency(%q<rspec>, ["~> 2.3.0"])
75
- s.add_dependency(%q<yard>, ["~> 0.6.0"])
76
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
77
- s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
78
- s.add_dependency(%q<rcov>, [">= 0"])
79
- end
80
- else
81
- s.add_dependency(%q<oauth>, [">= 0"])
82
- s.add_dependency(%q<json>, [">= 0"])
83
- s.add_dependency(%q<rspec>, ["~> 2.3.0"])
84
- s.add_dependency(%q<yard>, ["~> 0.6.0"])
85
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
86
- s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
87
- s.add_dependency(%q<rcov>, [">= 0"])
88
- end
11
+ gem.files = `git ls-files`.split($\)
12
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
13
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
14
+ gem.name = "pupil"
15
+ gem.require_paths = ["lib"]
16
+ gem.version = Pupil::VERSION
17
+ gem.add_dependency "oauth"
18
+ gem.add_dependency "json"
19
+ gem.add_development_dependency "rspec"
20
+ gem.add_development_dependency "yard"
21
+ gem.add_development_dependency "bundler"
89
22
  end
90
-
data/spec/spec_helper.rb CHANGED
@@ -8,5 +8,5 @@ require "pupil"
8
8
  Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
9
9
 
10
10
  RSpec.configure do |config|
11
- require "#{File.dirname(__FILE__)}/pupil_testkey.rb"
11
+ require "#{File.dirname(__FILE__)}/keys/pupil_testkey.rb"
12
12
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pupil
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-14 00:00:00.000000000 Z
12
+ date: 2012-05-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: oauth
16
- requirement: &70320054701340 !ruby/object:Gem::Requirement
16
+ requirement: &70336822437800 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70320054701340
24
+ version_requirements: *70336822437800
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: json
27
- requirement: &70320054697760 !ruby/object:Gem::Requirement
27
+ requirement: &70336822437220 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,54 +32,32 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70320054697760
35
+ version_requirements: *70336822437220
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rspec
38
- requirement: &70320054695060 !ruby/object:Gem::Requirement
38
+ requirement: &70336822436600 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
- - - ~>
41
+ - - ! '>='
42
42
  - !ruby/object:Gem::Version
43
- version: 2.3.0
43
+ version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70320054695060
46
+ version_requirements: *70336822436600
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: yard
49
- requirement: &70320054717120 !ruby/object:Gem::Requirement
49
+ requirement: &70336822435980 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
- - - ~>
52
+ - - ! '>='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.6.0
54
+ version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70320054717120
57
+ version_requirements: *70336822435980
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: bundler
60
- requirement: &70320054714420 !ruby/object:Gem::Requirement
61
- none: false
62
- requirements:
63
- - - ~>
64
- - !ruby/object:Gem::Version
65
- version: 1.0.0
66
- type: :development
67
- prerelease: false
68
- version_requirements: *70320054714420
69
- - !ruby/object:Gem::Dependency
70
- name: jeweler
71
- requirement: &70320054711820 !ruby/object:Gem::Requirement
72
- none: false
73
- requirements:
74
- - - ~>
75
- - !ruby/object:Gem::Version
76
- version: 1.6.4
77
- type: :development
78
- prerelease: false
79
- version_requirements: *70320054711820
80
- - !ruby/object:Gem::Dependency
81
- name: rcov
82
- requirement: &70320054730700 !ruby/object:Gem::Requirement
60
+ requirement: &70336822459820 !ruby/object:Gem::Requirement
83
61
  none: false
84
62
  requirements:
85
63
  - - ! '>='
@@ -87,24 +65,24 @@ dependencies:
87
65
  version: '0'
88
66
  type: :development
89
67
  prerelease: false
90
- version_requirements: *70320054730700
68
+ version_requirements: *70336822459820
91
69
  description: The "Lazy" Twitter API Library for Ruby 1.9.x. Easy to use.
92
- email: oame@oameya.com
93
- executables: []
70
+ email:
71
+ - oame@oameya.com
72
+ executables:
73
+ - hitomi
94
74
  extensions: []
95
- extra_rdoc_files:
96
- - LICENSE.txt
97
- - README.ja.md
98
- - README.md
75
+ extra_rdoc_files: []
99
76
  files:
77
+ - .gitignore
100
78
  - CHANGELOG.md
101
79
  - Gemfile
102
80
  - Gemfile.lock
103
- - LICENSE.txt
81
+ - LICENSE
104
82
  - README.ja.md
105
83
  - README.md
106
84
  - Rakefile
107
- - VERSION
85
+ - bin/hitomi
108
86
  - lib/pupil.rb
109
87
  - lib/pupil/account.rb
110
88
  - lib/pupil/base.rb
@@ -123,14 +101,14 @@ files:
123
101
  - lib/pupil/stream.rb
124
102
  - lib/pupil/stream/base.rb
125
103
  - lib/pupil/users.rb
104
+ - lib/pupil/version.rb
126
105
  - pupil.gemspec
127
106
  - samples/key-generator.rb
128
107
  - samples/userstream-test.rb
129
108
  - spec/pupil_spec.rb
130
109
  - spec/spec_helper.rb
131
- homepage: http://github.com/oame/pupil
132
- licenses:
133
- - MIT
110
+ homepage: http://oame.github.com/pupil
111
+ licenses: []
134
112
  post_install_message:
135
113
  rdoc_options: []
136
114
  require_paths:
@@ -138,9 +116,9 @@ require_paths:
138
116
  required_ruby_version: !ruby/object:Gem::Requirement
139
117
  none: false
140
118
  requirements:
141
- - - ~>
119
+ - - ! '>='
142
120
  - !ruby/object:Gem::Version
143
- version: 1.9.0
121
+ version: '0'
144
122
  required_rubygems_version: !ruby/object:Gem::Requirement
145
123
  none: false
146
124
  requirements:
@@ -153,4 +131,7 @@ rubygems_version: 1.8.15
153
131
  signing_key:
154
132
  specification_version: 3
155
133
  summary: The "Lazy" Twitter API Library for Ruby 1.9.x
156
- test_files: []
134
+ test_files:
135
+ - spec/pupil_spec.rb
136
+ - spec/spec_helper.rb
137
+ has_rdoc:
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.3.2