huami 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/.gitignore +1 -0
  2. data/README.md +17 -0
  3. data/huami.gemspec +13 -0
  4. data/test/test_huami.rb +14 -0
  5. metadata +20 -5
data/.gitignore ADDED
@@ -0,0 +1 @@
1
+ *.gem
data/README.md ADDED
@@ -0,0 +1,17 @@
1
+ Huami on Ruby
2
+ ===============
3
+
4
+ Manage your password in rememberable way.
5
+
6
+ Original project:https://code.google.com/p/flower-password/
7
+
8
+ INSTALL
9
+ --------
10
+
11
+ $ sudo gem install huami
12
+
13
+ USAGE
14
+ ------
15
+
16
+ $ huami [KEY]
17
+
data/huami.gemspec ADDED
@@ -0,0 +1,13 @@
1
+ Gem::Specification.new do |s|
2
+ s.name = 'huami'
3
+ s.version = '0.0.3'
4
+ s.date = '2012-02-26'
5
+ s.summary = 'Huami'
6
+ s.description = 'Manage your password in rememberable way.'
7
+ s.executables << 'huami'
8
+ s.authors = ['Wei Zhu']
9
+ s.email = 'yesmeck@gmail.com'
10
+ s.files = `git ls-files`.split("\n")
11
+ s.homepage = 'https://rubygems.org/gems/huami'
12
+ s.add_runtime_dependency 'highline'
13
+ end
@@ -0,0 +1,14 @@
1
+ require 'test/unit'
2
+ require 'huami'
3
+
4
+ class HuamiTest < Test::Unit::TestCase
5
+
6
+ def test_one
7
+ assert_equal('De46A920bB13D37c', Huami.huami('one', '123'))
8
+ end
9
+
10
+ def test_two
11
+ assert_equal('K924748b267770BE', Huami.huami('two', '123'))
12
+ end
13
+
14
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: huami
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,8 +9,19 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-16 00:00:00.000000000 Z
13
- dependencies: []
12
+ date: 2012-02-26 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: highline
16
+ requirement: &13441100 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *13441100
14
25
  description: Manage your password in rememberable way.
15
26
  email: yesmeck@gmail.com
16
27
  executables:
@@ -18,9 +29,13 @@ executables:
18
29
  extensions: []
19
30
  extra_rdoc_files: []
20
31
  files:
32
+ - .gitignore
33
+ - README.md
21
34
  - Rakefile
22
- - lib/huami.rb
23
35
  - bin/huami
36
+ - huami.gemspec
37
+ - lib/huami.rb
38
+ - test/test_huami.rb
24
39
  homepage: https://rubygems.org/gems/huami
25
40
  licenses: []
26
41
  post_install_message:
@@ -41,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
41
56
  version: '0'
42
57
  requirements: []
43
58
  rubyforge_project:
44
- rubygems_version: 1.8.15
59
+ rubygems_version: 1.8.16
45
60
  signing_key:
46
61
  specification_version: 3
47
62
  summary: Huami