ourkudos 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
+ source :rubygems
2
+
1
3
  group :development do
2
4
  gem "rspec", "~> 2.3.0"
3
5
  gem "bundler", "~> 1.0.0"
data/Gemfile.lock CHANGED
@@ -1,4 +1,5 @@
1
1
  GEM
2
+ remote: http://rubygems.org/
2
3
  specs:
3
4
  activesupport (3.0.7)
4
5
  diff-lcs (1.1.2)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.15
1
+ 0.0.16
@@ -1,6 +1,8 @@
1
1
  require 'nestful'
2
2
  module OurKudos
3
-
3
+
4
+ require 'railtie' if defined?(Rails)
5
+
4
6
  class << self
5
7
 
6
8
  #alias method
@@ -0,0 +1,11 @@
1
+ require 'our_kudos'
2
+ require 'rails'
3
+ module Ourkudos
4
+ class Ourkudos < Rails::Railtie
5
+ railtie_name :ourkudos
6
+
7
+ rake_tasks do
8
+ load "tasks/ourkudos.rake"
9
+ end
10
+ end
11
+ end
data/lib/ourkudos.rb CHANGED
@@ -1,10 +1,4 @@
1
1
  require 'ourkudos/response_codes'
2
2
  require 'ourkudos/extensions'
3
3
  require 'ourkudos/resource_editor'
4
- require 'ourkudos/our_kudos'
5
-
6
- class LoadTask < Rails::Railtie
7
- rake_tasks do
8
- Dir[File.join(File.dirname(__FILE__),'tasks/*.rake')].each { |f| load f }
9
- end
10
- end
4
+ require 'ourkudos/our_kudos'
data/ourkudos.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ourkudos}
8
- s.version = "0.0.15"
8
+ s.version = "0.0.16"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = [%q{Marcin Walczak}]
12
- s.date = %q{2011-05-05}
11
+ s.authors = ["Marcin Walczak"]
12
+ s.date = %q{2011-05-06}
13
13
  s.description = %q{OurKudos client api gem}
14
14
  s.email = %q{marcin.walczak@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -27,6 +27,7 @@ Gem::Specification.new do |s|
27
27
  "lib/ourkudos.rb",
28
28
  "lib/ourkudos/extensions.rb",
29
29
  "lib/ourkudos/our_kudos.rb",
30
+ "lib/ourkudos/railtie.rb",
30
31
  "lib/ourkudos/resource_editor.rb",
31
32
  "lib/ourkudos/response_codes.rb",
32
33
  "lib/tasks/ourkudos.rake",
@@ -35,9 +36,9 @@ Gem::Specification.new do |s|
35
36
  "spec/spec_helper.rb"
36
37
  ]
37
38
  s.homepage = %q{http://ourkudos.com}
38
- s.licenses = [%q{MIT}]
39
- s.require_paths = [%q{lib}]
40
- s.rubygems_version = %q{1.8.0}
39
+ s.licenses = ["MIT"]
40
+ s.require_paths = ["lib"]
41
+ s.rubygems_version = %q{1.6.2}
41
42
  s.summary = %q{OurKudos client api gem}
42
43
 
43
44
  if s.respond_to? :specification_version then
metadata CHANGED
@@ -1,82 +1,80 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: ourkudos
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.16
4
5
  prerelease:
5
- version: 0.0.15
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Marcin Walczak
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-05-05 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
12
+ date: 2011-05-06 00:00:00.000000000 +02:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
16
  name: nestful
17
- requirement: &id001 !ruby/object:Gem::Requirement
17
+ requirement: &25212940 !ruby/object:Gem::Requirement
18
18
  none: false
19
- requirements:
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: "0"
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: '0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *id001
26
- - !ruby/object:Gem::Dependency
25
+ version_requirements: *25212940
26
+ - !ruby/object:Gem::Dependency
27
27
  name: rspec
28
- requirement: &id002 !ruby/object:Gem::Requirement
28
+ requirement: &25181380 !ruby/object:Gem::Requirement
29
29
  none: false
30
- requirements:
30
+ requirements:
31
31
  - - ~>
32
- - !ruby/object:Gem::Version
32
+ - !ruby/object:Gem::Version
33
33
  version: 2.3.0
34
34
  type: :development
35
35
  prerelease: false
36
- version_requirements: *id002
37
- - !ruby/object:Gem::Dependency
36
+ version_requirements: *25181380
37
+ - !ruby/object:Gem::Dependency
38
38
  name: bundler
39
- requirement: &id003 !ruby/object:Gem::Requirement
39
+ requirement: &25180860 !ruby/object:Gem::Requirement
40
40
  none: false
41
- requirements:
41
+ requirements:
42
42
  - - ~>
43
- - !ruby/object:Gem::Version
43
+ - !ruby/object:Gem::Version
44
44
  version: 1.0.0
45
45
  type: :development
46
46
  prerelease: false
47
- version_requirements: *id003
48
- - !ruby/object:Gem::Dependency
47
+ version_requirements: *25180860
48
+ - !ruby/object:Gem::Dependency
49
49
  name: jeweler
50
- requirement: &id004 !ruby/object:Gem::Requirement
50
+ requirement: &25180380 !ruby/object:Gem::Requirement
51
51
  none: false
52
- requirements:
53
- - - ">="
54
- - !ruby/object:Gem::Version
55
- version: "0"
52
+ requirements:
53
+ - - ! '>='
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
56
  type: :development
57
57
  prerelease: false
58
- version_requirements: *id004
59
- - !ruby/object:Gem::Dependency
58
+ version_requirements: *25180380
59
+ - !ruby/object:Gem::Dependency
60
60
  name: rcov
61
- requirement: &id005 !ruby/object:Gem::Requirement
61
+ requirement: &25179900 !ruby/object:Gem::Requirement
62
62
  none: false
63
- requirements:
64
- - - ">="
65
- - !ruby/object:Gem::Version
66
- version: "0"
63
+ requirements:
64
+ - - ! '>='
65
+ - !ruby/object:Gem::Version
66
+ version: '0'
67
67
  type: :development
68
68
  prerelease: false
69
- version_requirements: *id005
69
+ version_requirements: *25179900
70
70
  description: OurKudos client api gem
71
71
  email: marcin.walczak@gmail.com
72
72
  executables: []
73
-
74
73
  extensions: []
75
-
76
- extra_rdoc_files:
74
+ extra_rdoc_files:
77
75
  - LICENSE.txt
78
76
  - README.rdoc
79
- files:
77
+ files:
80
78
  - .document
81
79
  - Gemfile
82
80
  - Gemfile.lock
@@ -87,41 +85,40 @@ files:
87
85
  - lib/ourkudos.rb
88
86
  - lib/ourkudos/extensions.rb
89
87
  - lib/ourkudos/our_kudos.rb
88
+ - lib/ourkudos/railtie.rb
90
89
  - lib/ourkudos/resource_editor.rb
91
90
  - lib/ourkudos/response_codes.rb
92
91
  - lib/tasks/ourkudos.rake
93
92
  - ourkudos.gemspec
94
93
  - spec/our_kudos_spec.rb
95
94
  - spec/spec_helper.rb
95
+ has_rdoc: true
96
96
  homepage: http://ourkudos.com
97
- licenses:
97
+ licenses:
98
98
  - MIT
99
99
  post_install_message:
100
100
  rdoc_options: []
101
-
102
- require_paths:
101
+ require_paths:
103
102
  - lib
104
- required_ruby_version: !ruby/object:Gem::Requirement
103
+ required_ruby_version: !ruby/object:Gem::Requirement
105
104
  none: false
106
- requirements:
107
- - - ">="
108
- - !ruby/object:Gem::Version
109
- hash: -1356806863885606517
110
- segments:
105
+ requirements:
106
+ - - ! '>='
107
+ - !ruby/object:Gem::Version
108
+ version: '0'
109
+ segments:
111
110
  - 0
112
- version: "0"
113
- required_rubygems_version: !ruby/object:Gem::Requirement
111
+ hash: -1935680176566526371
112
+ required_rubygems_version: !ruby/object:Gem::Requirement
114
113
  none: false
115
- requirements:
116
- - - ">="
117
- - !ruby/object:Gem::Version
118
- version: "0"
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
119
118
  requirements: []
120
-
121
119
  rubyforge_project:
122
- rubygems_version: 1.8.0
120
+ rubygems_version: 1.6.2
123
121
  signing_key:
124
122
  specification_version: 3
125
123
  summary: OurKudos client api gem
126
124
  test_files: []
127
-