lam_auth 0.2.0 → 1.0.0

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.
@@ -1,11 +1,3 @@
1
1
  # return_url можно не указывать, если это дефолтный http://:app-domain/xd_receiver.html
2
-
3
- development: &dev
4
- app_id: app_id
5
- secret: secret
6
-
7
- test:
8
- <<: *dev
9
-
10
- production:
11
- <<: *dev
2
+ app_id: app_id
3
+ secret: secret
@@ -1,3 +1,3 @@
1
1
  module LamAuth
2
- VERSION = "0.2.0"
2
+ VERSION = "1.0.0"
3
3
  end
data/lib/lam_auth.rb CHANGED
@@ -13,7 +13,7 @@ module LamAuth
13
13
 
14
14
  class << self
15
15
  def config
16
- @config ||= YAML.load_file(Rails.root.join("config/lam_auth.yml"))[Rails.env]
16
+ @config ||= YAML.load_file(Rails.root.join("config/lam_auth.yml"))
17
17
  end
18
18
 
19
19
  def url
metadata CHANGED
@@ -4,10 +4,10 @@ version: !ruby/object:Gem::Version
4
4
  hash: 23
5
5
  prerelease:
6
6
  segments:
7
+ - 1
7
8
  - 0
8
- - 2
9
9
  - 0
10
- version: 0.2.0
10
+ version: 1.0.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Max Macovsky
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-12-04 00:00:00 +03:00
19
+ date: 2011-12-22 00:00:00 +03:00
20
20
  default_executable:
21
21
  dependencies: []
22
22