ourkudos 0.0.11 → 0.0.12

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.11
1
+ 0.0.12
@@ -6,7 +6,11 @@ namespace :ourkudos do
6
6
  :api_key => "your api key"
7
7
  }
8
8
 
9
- write(File.join(Rails.root,'config', 'ourkudos.yml'), config)
9
+ File.open(File.join(Rails.root,'config', 'ourkudos.yml'), 'w') do |f|
10
+ method = config.respond_to?(:ya2yaml) ? :ya2yaml : :to_yaml
11
+ string = config.deep_stringify_keys.send(method)
12
+ f.write string.gsub("!ruby/symbol ", ":").gsub("---","").split("\n").map(&:rstrip).join("\n").strip
13
+ end
10
14
 
11
15
 
12
16
  def yaml(hash)
data/ourkudos.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ourkudos}
8
- s.version = "0.0.11"
8
+ s.version = "0.0.12"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = [%q{Marcin Walczak}]
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: ourkudos
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.11
5
+ version: 0.0.12
6
6
  platform: ruby
7
7
  authors:
8
8
  - Marcin Walczak
@@ -106,7 +106,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
106
106
  requirements:
107
107
  - - ">="
108
108
  - !ruby/object:Gem::Version
109
- hash: 941184028625137548
109
+ hash: 3098285928190409998
110
110
  segments:
111
111
  - 0
112
112
  version: "0"