mashery_rails 0.6.3 → 0.6.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Mashery
2
- VERSION = "0.6.3"
2
+ VERSION = "0.6.6"
3
3
  end
data/lib/mashery.rb CHANGED
@@ -20,8 +20,10 @@ require 'mashery/member'
20
20
  require 'mashery/key'
21
21
  require 'mashery/service'
22
22
 
23
- require 'mashery/rails'
24
- require 'mashery/generator'
23
+ if defined?(Rails)
24
+ require 'mashery/rails'
25
+ require 'mashery/generator'
26
+ end
25
27
 
26
28
  module Mashery
27
29
  @@config = nil
@@ -0,0 +1,3 @@
1
+ module Mashery
2
+ VERSION = "0.6.6"
3
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mashery_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -102,6 +102,7 @@ files:
102
102
  - lib/mashery/rpc_client/response.rb
103
103
  - lib/mashery/service.rb
104
104
  - lib/mashery/version.rb
105
+ - lib/mashery_rails/version.rb
105
106
  - mashery_rails.gemspec
106
107
  - spec/fixtures/config.no_host.yml
107
108
  - spec/fixtures/config.no_key.yml
@@ -132,7 +133,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
132
133
  version: '0'
133
134
  segments:
134
135
  - 0
135
- hash: 967152834943881282
136
+ hash: 1700648171081865746
136
137
  required_rubygems_version: !ruby/object:Gem::Requirement
137
138
  none: false
138
139
  requirements: