detect_language 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -41,7 +41,7 @@ module DetectLanguage
41
41
  alias_method :secure?, :secure
42
42
 
43
43
  def initialize
44
- @api_key = "demo"
44
+ @api_key = nil
45
45
  @api_version = "0.2"
46
46
  @host = "ws.detectlanguage.com"
47
47
  @user_agent = "Detect Language API ruby gem"
@@ -1,3 +1,3 @@
1
1
  module DetectLanguage
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
@@ -6,7 +6,7 @@ describe DetectLanguage do
6
6
 
7
7
  context "configuration" do
8
8
  it "should have default configuration values" do
9
- subject.configuration.api_key.should == 'demo'
9
+ subject.configuration.api_key.should be_nil
10
10
  subject.configuration.api_version.should == '0.2'
11
11
  subject.configuration.host.should == 'ws.detectlanguage.com'
12
12
  subject.configuration.user_agent.should == 'Detect Language API ruby gem'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: detect_language
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-11 00:00:00.000000000 Z
12
+ date: 2012-08-18 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Language Detection API Client
15
15
  email: