setec_astronomy 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml CHANGED
@@ -1,4 +1,5 @@
1
1
  language: ruby
2
2
  rvm:
3
3
  - 1.8.7
4
+ - 1.9.2
4
5
  - 1.9.3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- setec_astronomy (0.1.0)
4
+ setec_astronomy (0.2.0)
5
5
  clipboard (~> 0.9)
6
6
  fast-aes (~> 0.1)
7
7
  highline (~> 1.6)
@@ -13,7 +13,7 @@ GEM
13
13
  clipboard (0.9.9)
14
14
  diff-lcs (1.1.3)
15
15
  fast-aes (0.1.1)
16
- highline (1.6.2)
16
+ highline (1.6.11)
17
17
  rake (0.8.7)
18
18
  rspec (2.6.0)
19
19
  rspec-core (~> 2.6.0)
@@ -5,7 +5,8 @@ module SetecAstronomy
5
5
  attr_reader :header, :groups, :entries
6
6
 
7
7
  def self.open(path)
8
- self.new(File.read(path))
8
+ content = File.respond_to?(:binread) ? File.binread(path) : File.read(path)
9
+ self.new(content)
9
10
  end
10
11
 
11
12
  def initialize(raw_db)
@@ -2,9 +2,9 @@ Gem::Specification.new do |s|
2
2
  s.name = "setec_astronomy"
3
3
  s.summary = "Command line and API access to KeePassX databases"
4
4
  s.description = "See http://github.com/pitluga/setec_astronomy"
5
- s.version = "0.2.0"
6
- s.author = "Tony Pitluga"
7
- s.email = "tony.pitluga@gmail.com"
5
+ s.version = "0.2.1"
6
+ s.authors = ["Tony Pitluga", "Paul Hinze"]
7
+ s.email = ["tony.pitluga@gmail.com", "paul.t.hinze@gmail.com"]
8
8
  s.homepage = "http://github.com/pitluga/supply_drop"
9
9
  s.files = `git ls-files`.split("\n")
10
10
  s.bindir = "bin"
metadata CHANGED
@@ -1,31 +1,30 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: setec_astronomy
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
5
- prerelease:
4
+ prerelease: false
6
5
  segments:
7
6
  - 0
8
7
  - 2
9
- - 0
10
- version: 0.2.0
8
+ - 1
9
+ version: 0.2.1
11
10
  platform: ruby
12
11
  authors:
13
12
  - Tony Pitluga
13
+ - Paul Hinze
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-02-13 00:00:00 Z
18
+ date: 2012-09-09 00:00:00 -05:00
19
+ default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
22
  name: clipboard
22
23
  prerelease: false
23
24
  requirement: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
25
  requirements:
26
26
  - - ~>
27
27
  - !ruby/object:Gem::Version
28
- hash: 25
29
28
  segments:
30
29
  - 0
31
30
  - 9
@@ -36,11 +35,9 @@ dependencies:
36
35
  name: fast-aes
37
36
  prerelease: false
38
37
  requirement: &id002 !ruby/object:Gem::Requirement
39
- none: false
40
38
  requirements:
41
39
  - - ~>
42
40
  - !ruby/object:Gem::Version
43
- hash: 9
44
41
  segments:
45
42
  - 0
46
43
  - 1
@@ -51,11 +48,9 @@ dependencies:
51
48
  name: highline
52
49
  prerelease: false
53
50
  requirement: &id003 !ruby/object:Gem::Requirement
54
- none: false
55
51
  requirements:
56
52
  - - ~>
57
53
  - !ruby/object:Gem::Version
58
- hash: 3
59
54
  segments:
60
55
  - 1
61
56
  - 6
@@ -66,11 +61,9 @@ dependencies:
66
61
  name: thor
67
62
  prerelease: false
68
63
  requirement: &id004 !ruby/object:Gem::Requirement
69
- none: false
70
64
  requirements:
71
65
  - - ~>
72
66
  - !ruby/object:Gem::Version
73
- hash: 23
74
67
  segments:
75
68
  - 0
76
69
  - 14
@@ -81,11 +74,9 @@ dependencies:
81
74
  name: rspec
82
75
  prerelease: false
83
76
  requirement: &id005 !ruby/object:Gem::Requirement
84
- none: false
85
77
  requirements:
86
78
  - - "="
87
79
  - !ruby/object:Gem::Version
88
- hash: 23
89
80
  segments:
90
81
  - 2
91
82
  - 6
@@ -94,7 +85,9 @@ dependencies:
94
85
  type: :development
95
86
  version_requirements: *id005
96
87
  description: See http://github.com/pitluga/setec_astronomy
97
- email: tony.pitluga@gmail.com
88
+ email:
89
+ - tony.pitluga@gmail.com
90
+ - paul.t.hinze@gmail.com
98
91
  executables:
99
92
  - setec
100
93
  extensions: []
@@ -126,6 +119,7 @@ files:
126
119
  - spec/kee_pass/database_spec.rb
127
120
  - spec/spec_helper.rb
128
121
  - spec/test_database.kdb
122
+ has_rdoc: true
129
123
  homepage: http://github.com/pitluga/supply_drop
130
124
  licenses: []
131
125
 
@@ -135,27 +129,23 @@ rdoc_options: []
135
129
  require_paths:
136
130
  - lib
137
131
  required_ruby_version: !ruby/object:Gem::Requirement
138
- none: false
139
132
  requirements:
140
133
  - - ">="
141
134
  - !ruby/object:Gem::Version
142
- hash: 3
143
135
  segments:
144
136
  - 0
145
137
  version: "0"
146
138
  required_rubygems_version: !ruby/object:Gem::Requirement
147
- none: false
148
139
  requirements:
149
140
  - - ">="
150
141
  - !ruby/object:Gem::Version
151
- hash: 3
152
142
  segments:
153
143
  - 0
154
144
  version: "0"
155
145
  requirements: []
156
146
 
157
147
  rubyforge_project:
158
- rubygems_version: 1.8.6
148
+ rubygems_version: 1.3.6
159
149
  signing_key:
160
150
  specification_version: 3
161
151
  summary: Command line and API access to KeePassX databases