woothee 0.3.9 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/woothee.rb +2 -0
- data/lib/woothee/version.rb +3 -0
- data/spec/00_valid_spec.rb +5 -0
- data/woothee.gemspec +5 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0eb66c8f34c7cddc728a48dfaafdbbb9b32d46d2
|
4
|
+
data.tar.gz: 0ac4c169c485a76035d1512285bbfa0e3b352451
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f75d4f18a4f46c303ae35122054626715b504583796f46c1fd2b827ac2e2d4036c81b1822cb16681a7be2e1ec284cb31ac6cdc222acbc009deb9bd369a7257c7
|
7
|
+
data.tar.gz: 99bbfbb5bd66792c092642bbe4fc7f22ae4b7ff235f04f50d1e69d8fd13f163b84b61df6b93a412f40a5557c01883f7cb1b29b98112f13032b9f47724b3a167e
|
data/lib/woothee.rb
CHANGED
data/spec/00_valid_spec.rb
CHANGED
@@ -10,4 +10,9 @@ describe Woothee do
|
|
10
10
|
expect { require 'woothee/dataset' }.not_to raise_error()
|
11
11
|
expect { require 'woothee' }.not_to raise_error()
|
12
12
|
end
|
13
|
+
|
14
|
+
it "has valid version" do
|
15
|
+
expect { require 'woothee/version' }.not_to raise_error()
|
16
|
+
expect(Woothee::VERSION).to match(/\A[0-9]+\.[0-9]+\.[0-9]+\z/)
|
17
|
+
end
|
13
18
|
end
|
data/woothee.gemspec
CHANGED
@@ -1,11 +1,15 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
|
3
|
+
lib = File.expand_path('../lib', __FILE__)
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
require 'woothee/version'
|
6
|
+
|
3
7
|
Gem::Specification.new do |gem|
|
4
8
|
gem.name = "woothee"
|
5
9
|
gem.description = "Cross-language UserAgent classifier library, ruby implementation"
|
6
10
|
gem.homepage = "https://github.com/woothee/woothee-ruby"
|
7
11
|
gem.summary = gem.description
|
8
|
-
gem.version =
|
12
|
+
gem.version = Woothee::VERSION
|
9
13
|
gem.authors = ["TAGOMORI Satoshi"]
|
10
14
|
gem.email = "tagomoris@gmail.com"
|
11
15
|
gem.has_rdoc = false
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: woothee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TAGOMORI Satoshi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04-
|
11
|
+
date: 2014-04-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -47,6 +47,7 @@ files:
|
|
47
47
|
- lib/woothee/mobilephone.rb
|
48
48
|
- lib/woothee/os.rb
|
49
49
|
- lib/woothee/util.rb
|
50
|
+
- lib/woothee/version.rb
|
50
51
|
- scripts/dataset_yaml2rb.rb
|
51
52
|
- spec/00_valid_spec.rb
|
52
53
|
- spec/01_dataset_spec.rb
|