wistia-api 0.2.0 → 0.2.1

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.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/config.rb +17 -0
  3. data/wistia-api.gemspec +2 -2
  4. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -1,3 +1,20 @@
1
+ # Workaround for a problem with configatron in JRuby 1.7+
2
+ # Contributors have suggested a solution at
3
+ # https://github.com/markbates/configatron/pull/33
4
+ # but the patch has not been applied for months
5
+
6
+ def running_jruby_1_7_or_later
7
+ RUBY_PLATFORM == 'java' && !JRUBY_VERSION.match(/[0-1]\.[0-6]/)
8
+ end
9
+
10
+ if running_jruby_1_7_or_later && !defined? Psych::Yecht
11
+ module Psych
12
+ module Yecht
13
+ MergeKey = Psych::Syck
14
+ end
15
+ end
16
+ end
17
+
1
18
  require 'configatron'
2
19
 
3
20
  configatron.wistia.api.key = ''
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "wistia-api"
8
- s.version = "0.2.0"
8
+ s.version = "0.2.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jim Bancroft", "Mark Bates"]
12
- s.date = "2012-12-07"
12
+ s.date = "2012-12-12"
13
13
  s.description = "A ruby library for working with Wistia's data API."
14
14
  s.email = "support@wistia.com"
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wistia-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-12-07 00:00:00.000000000 Z
13
+ date: 2012-12-12 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activeresource
@@ -193,7 +193,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
193
193
  version: '0'
194
194
  segments:
195
195
  - 0
196
- hash: 4050833579057056386
196
+ hash: 76556245729563149
197
197
  required_rubygems_version: !ruby/object:Gem::Requirement
198
198
  none: false
199
199
  requirements: