phish_dot_net_client 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -10,3 +10,5 @@ doc/*
10
10
  .ruby-version
11
11
  *.gem
12
12
  Gemfile.lock
13
+ .bundle/
14
+ bin/
data/Gemfile CHANGED
@@ -1,3 +1,4 @@
1
+ ruby '1.9.3'
1
2
  source 'https://rubygems.org'
2
3
 
3
4
  gemspec
data/History.md CHANGED
@@ -1,3 +1,8 @@
1
+ ### 0.1.2 / 2013-11-16
2
+
3
+ * Add MIT license
4
+
5
+
1
6
  ### 0.1.1 / 2013-10-28
2
7
 
3
8
  * Make readme better formatted
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2013 Alexander Bird
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/Rakefile CHANGED
@@ -47,12 +47,22 @@ desc "Instructions for releasing a new version"
47
47
  task :"release:instructions" do
48
48
  version = PhishDotNetClient::VERSION
49
49
  gem_name = File.basename Dir.glob(File.join(File.expand_path('../', __FILE__), '*.gemspec')).first.sub('.gemspec', '')
50
- last_release = `git tag | grep --color=never -e "v\\d\\+\\." | sort | tail -n1`.strip
50
+ last_release = `git tag | grep --color=never "v[0-9]\." | sort | tail -n1`.strip
51
+
52
+ if last_release == "v#{version}"
53
+ puts
54
+ puts "WARNING: tag of last release '#{last_release}' matches current version '#{version}'"
55
+ puts
56
+ elsif last_release.strip.empty?
57
+ puts
58
+ puts "There is no last release...is that correct?"
59
+ puts
60
+ end
51
61
 
52
62
  puts "1. update version.rb"
53
63
  puts "2. update History.md"
54
64
  puts " git log #{last_release}..HEAD --no-merges --format=%B"
55
- puts "3. git commit -am 'v#{version}', git tag v#{version}, git push origin v#{version}"
65
+ puts "3. git commit -am 'v#{version}'; git tag v#{version}; git push origin v#{version}"
56
66
  puts "4. gem build #{gem_name}.gemspec ; mv #{gem_name}-#{version}.gem ~/gems/"
57
67
  puts "5. gem push ~/gems/#{gem_name}-#{version}.gem"
58
68
  end
@@ -3,5 +3,5 @@
3
3
  module PhishDotNetClient
4
4
 
5
5
  # Gem version
6
- VERSION = '0.1.1'
6
+ VERSION = '0.1.2'
7
7
  end
@@ -1,6 +1,7 @@
1
1
  # encoding: utf-8
2
2
  lib = File.expand_path('../lib/', __FILE__)
3
3
  $:.unshift lib unless $:.include?(lib)
4
+ require 'date'
4
5
  require 'phish_dot_net_client/version'
5
6
 
6
7
  Gem::Specification.new do |spec|
@@ -14,8 +15,7 @@ Gem::Specification.new do |spec|
14
15
  spec.summary = %q{Phish.net API client with setlist parsing}
15
16
  spec.description = %q{Calls any Phish.net API method. Supports authentication. Parses 'setlistdata' fields.}
16
17
 
17
- spec.required_ruby_version = '>= 1.9.2'
18
- spec.required_rubygems_version = '>= 1.3.6'
18
+ spec.required_ruby_version = '>= 1.9.3'
19
19
 
20
20
  spec.add_runtime_dependency 'rest-client', '~> 1.6.7'
21
21
  spec.add_runtime_dependency 'oj', '~> 2.1.7'
@@ -6,8 +6,8 @@ end
6
6
  require 'bundler'
7
7
  Bundler.require :development
8
8
 
9
- lib = File.expand_path('../lib/', __FILE__)
10
- $:.unshift lib unless $:.include?(lib)
9
+ # lib = File.expand_path('../lib/', __FILE__)
10
+ # $:.unshift lib unless $:.include?(lib)
11
11
  require 'phish_dot_net_client'
12
12
 
13
13
  RSpec.configure do |config|
metadata CHANGED
@@ -1,152 +1,157 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: phish_dot_net_client
3
- version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 1
8
- - 1
9
- version: 0.1.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.2
5
+ prerelease:
10
6
  platform: ruby
11
- authors:
7
+ authors:
12
8
  - Alexander Bird
13
9
  autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
-
17
- date: 2013-10-28 00:00:00 -04:00
18
- default_executable:
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2013-11-16 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: rest-client
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
18
+ requirements:
26
19
  - - ~>
27
- - !ruby/object:Gem::Version
28
- segments:
29
- - 1
30
- - 6
31
- - 7
20
+ - !ruby/object:Gem::Version
32
21
  version: 1.6.7
33
22
  type: :runtime
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: oj
37
23
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 1.6.7
30
+ - !ruby/object:Gem::Dependency
31
+ name: oj
32
+ requirement: !ruby/object:Gem::Requirement
39
33
  none: false
40
- requirements:
34
+ requirements:
41
35
  - - ~>
42
- - !ruby/object:Gem::Version
43
- segments:
44
- - 2
45
- - 1
46
- - 7
36
+ - !ruby/object:Gem::Version
47
37
  version: 2.1.7
48
38
  type: :runtime
49
- version_requirements: *id002
50
- - !ruby/object:Gem::Dependency
51
- name: nokogiri
52
39
  prerelease: false
53
- requirement: &id003 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
54
41
  none: false
55
- requirements:
42
+ requirements:
56
43
  - - ~>
57
- - !ruby/object:Gem::Version
58
- segments:
59
- - 1
60
- - 6
61
- - 0
44
+ - !ruby/object:Gem::Version
45
+ version: 2.1.7
46
+ - !ruby/object:Gem::Dependency
47
+ name: nokogiri
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
62
53
  version: 1.6.0
63
54
  type: :runtime
64
- version_requirements: *id003
65
- - !ruby/object:Gem::Dependency
66
- name: rake
67
55
  prerelease: false
68
- requirement: &id004 !ruby/object:Gem::Requirement
56
+ version_requirements: !ruby/object:Gem::Requirement
69
57
  none: false
70
- requirements:
58
+ requirements:
71
59
  - - ~>
72
- - !ruby/object:Gem::Version
73
- segments:
74
- - 10
75
- - 0
76
- version: "10.0"
60
+ - !ruby/object:Gem::Version
61
+ version: 1.6.0
62
+ - !ruby/object:Gem::Dependency
63
+ name: rake
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ version: '10.0'
77
70
  type: :development
78
- version_requirements: *id004
79
- - !ruby/object:Gem::Dependency
80
- name: rspec
81
71
  prerelease: false
82
- requirement: &id005 !ruby/object:Gem::Requirement
72
+ version_requirements: !ruby/object:Gem::Requirement
83
73
  none: false
84
- requirements:
74
+ requirements:
85
75
  - - ~>
86
- - !ruby/object:Gem::Version
87
- segments:
88
- - 2
89
- - 14
90
- version: "2.14"
76
+ - !ruby/object:Gem::Version
77
+ version: '10.0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: rspec
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ~>
84
+ - !ruby/object:Gem::Version
85
+ version: '2.14'
91
86
  type: :development
92
- version_requirements: *id005
93
- - !ruby/object:Gem::Dependency
94
- name: yard
95
87
  prerelease: false
96
- requirement: &id006 !ruby/object:Gem::Requirement
88
+ version_requirements: !ruby/object:Gem::Requirement
97
89
  none: false
98
- requirements:
90
+ requirements:
99
91
  - - ~>
100
- - !ruby/object:Gem::Version
101
- segments:
102
- - 0
103
- - 8
104
- version: "0.8"
92
+ - !ruby/object:Gem::Version
93
+ version: '2.14'
94
+ - !ruby/object:Gem::Dependency
95
+ name: yard
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ~>
100
+ - !ruby/object:Gem::Version
101
+ version: '0.8'
105
102
  type: :development
106
- version_requirements: *id006
107
- - !ruby/object:Gem::Dependency
108
- name: redcarpet
109
103
  prerelease: false
110
- requirement: &id007 !ruby/object:Gem::Requirement
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ~>
108
+ - !ruby/object:Gem::Version
109
+ version: '0.8'
110
+ - !ruby/object:Gem::Dependency
111
+ name: redcarpet
112
+ requirement: !ruby/object:Gem::Requirement
111
113
  none: false
112
- requirements:
114
+ requirements:
113
115
  - - ~>
114
- - !ruby/object:Gem::Version
115
- segments:
116
- - 3
117
- - 0
118
- version: "3.0"
116
+ - !ruby/object:Gem::Version
117
+ version: '3.0'
119
118
  type: :development
120
- version_requirements: *id007
121
- - !ruby/object:Gem::Dependency
122
- name: simplecov
123
119
  prerelease: false
124
- requirement: &id008 !ruby/object:Gem::Requirement
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ~>
124
+ - !ruby/object:Gem::Version
125
+ version: '3.0'
126
+ - !ruby/object:Gem::Dependency
127
+ name: simplecov
128
+ requirement: !ruby/object:Gem::Requirement
125
129
  none: false
126
- requirements:
130
+ requirements:
127
131
  - - ~>
128
- - !ruby/object:Gem::Version
129
- segments:
130
- - 0
131
- - 7
132
- - 1
132
+ - !ruby/object:Gem::Version
133
133
  version: 0.7.1
134
134
  type: :development
135
- version_requirements: *id008
136
- description: Calls any Phish.net API method. Supports authentication. Parses 'setlistdata' fields.
137
- email:
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ~>
140
+ - !ruby/object:Gem::Version
141
+ version: 0.7.1
142
+ description: Calls any Phish.net API method. Supports authentication. Parses 'setlistdata'
143
+ fields.
144
+ email:
138
145
  - alexebird@gmail.com
139
146
  executables: []
140
-
141
147
  extensions: []
142
-
143
148
  extra_rdoc_files: []
144
-
145
- files:
149
+ files:
146
150
  - .gitignore
147
151
  - .rspec
148
152
  - Gemfile
149
153
  - History.md
154
+ - LICENSE
150
155
  - README.md
151
156
  - Rakefile
152
157
  - lib/phish_dot_net_client.rb
@@ -162,46 +167,36 @@ files:
162
167
  - spec/phish_dot_net_client/song_transition_spec.rb
163
168
  - spec/phish_dot_net_client_spec.rb
164
169
  - spec/spec_helper.rb
165
- has_rdoc: true
166
170
  homepage: https://github.com/alexebird/phish_dot_net_client
167
- licenses:
171
+ licenses:
168
172
  - MIT
169
173
  post_install_message:
170
174
  rdoc_options: []
171
-
172
- require_paths:
175
+ require_paths:
173
176
  - lib
174
- required_ruby_version: !ruby/object:Gem::Requirement
177
+ required_ruby_version: !ruby/object:Gem::Requirement
175
178
  none: false
176
- requirements:
177
- - - ">="
178
- - !ruby/object:Gem::Version
179
- segments:
180
- - 1
181
- - 9
182
- - 2
183
- version: 1.9.2
184
- required_rubygems_version: !ruby/object:Gem::Requirement
179
+ requirements:
180
+ - - ! '>='
181
+ - !ruby/object:Gem::Version
182
+ version: 1.9.3
183
+ required_rubygems_version: !ruby/object:Gem::Requirement
185
184
  none: false
186
- requirements:
187
- - - ">="
188
- - !ruby/object:Gem::Version
189
- segments:
190
- - 1
191
- - 3
192
- - 6
193
- version: 1.3.6
185
+ requirements:
186
+ - - ! '>='
187
+ - !ruby/object:Gem::Version
188
+ version: '0'
194
189
  requirements: []
195
-
196
190
  rubyforge_project:
197
- rubygems_version: 1.3.7.1
191
+ rubygems_version: 1.8.23
198
192
  signing_key:
199
193
  specification_version: 3
200
194
  summary: Phish.net API client with setlist parsing
201
- test_files:
195
+ test_files:
202
196
  - spec/phish_dot_net_client/set_spec.rb
203
197
  - spec/phish_dot_net_client/setlist_spec.rb
204
198
  - spec/phish_dot_net_client/song_spec.rb
205
199
  - spec/phish_dot_net_client/song_transition_spec.rb
206
200
  - spec/phish_dot_net_client_spec.rb
207
201
  - spec/spec_helper.rb
202
+ has_rdoc: