setec_astronomy 0.1.0 → 0.2.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.
- data/.travis.yml +4 -0
- data/Gemfile +2 -0
- data/Gemfile.lock +2 -0
- data/bin/bundleexecsetec +21 -0
- data/lib/setec_astronomy/kee_pass/database.rb +1 -1
- data/setec_astronomy.gemspec +1 -1
- data/spec/kee_pass/database_spec.rb +5 -0
- metadata +7 -5
data/.travis.yml
ADDED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -14,6 +14,7 @@ GEM
|
|
14
14
|
diff-lcs (1.1.3)
|
15
15
|
fast-aes (0.1.1)
|
16
16
|
highline (1.6.2)
|
17
|
+
rake (0.8.7)
|
17
18
|
rspec (2.6.0)
|
18
19
|
rspec-core (~> 2.6.0)
|
19
20
|
rspec-expectations (~> 2.6.0)
|
@@ -28,5 +29,6 @@ PLATFORMS
|
|
28
29
|
ruby
|
29
30
|
|
30
31
|
DEPENDENCIES
|
32
|
+
rake (= 0.8.7)
|
31
33
|
rspec (= 2.6.0)
|
32
34
|
setec_astronomy!
|
data/bin/bundleexecsetec
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
#!/bin/sh
|
2
|
+
|
3
|
+
# Load RVM into a shell session *as a function*
|
4
|
+
if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then
|
5
|
+
|
6
|
+
# First try to load from a user install
|
7
|
+
source "$HOME/.rvm/scripts/rvm"
|
8
|
+
|
9
|
+
elif [[ -s "/usr/local/rvm/scripts/rvm" ]] ; then
|
10
|
+
|
11
|
+
# Then try to load from a root install
|
12
|
+
source "/usr/local/rvm/scripts/rvm"
|
13
|
+
|
14
|
+
else
|
15
|
+
|
16
|
+
printf "ERROR: An RVM installation was not found.\n"
|
17
|
+
|
18
|
+
fi
|
19
|
+
|
20
|
+
rvm ruby-1.8.7-p249@setec_astronomy exec /Users/phinze/dev/setec_astronomy/bin/setec "$@"
|
21
|
+
|
data/setec_astronomy.gemspec
CHANGED
@@ -2,7 +2,7 @@ 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.
|
5
|
+
s.version = "0.2.0"
|
6
6
|
s.author = "Tony Pitluga"
|
7
7
|
s.email = "tony.pitluga@gmail.com"
|
8
8
|
s.homepage = "http://github.com/pitluga/supply_drop"
|
@@ -41,5 +41,10 @@ describe SetecAstronomy::KeePass::Database do
|
|
41
41
|
entries = @db.search "test"
|
42
42
|
entries.first.title.should == "test entry"
|
43
43
|
end
|
44
|
+
|
45
|
+
it "can search for entries case-insensitively" do
|
46
|
+
entries = @db.search "TEST"
|
47
|
+
entries.first.title.should == "test entry"
|
48
|
+
end
|
44
49
|
end
|
45
50
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: setec_astronomy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
8
|
+
- 2
|
9
9
|
- 0
|
10
|
-
version: 0.
|
10
|
+
version: 0.2.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Tony Pitluga
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2012-02-13 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: clipboard
|
@@ -103,11 +103,13 @@ extra_rdoc_files: []
|
|
103
103
|
|
104
104
|
files:
|
105
105
|
- .rvmrc
|
106
|
+
- .travis.yml
|
106
107
|
- Gemfile
|
107
108
|
- Gemfile.lock
|
108
109
|
- README.md
|
109
110
|
- Rakefile
|
110
111
|
- alfred/setec.alfredextension
|
112
|
+
- bin/bundleexecsetec
|
111
113
|
- bin/setec
|
112
114
|
- lib/setec_astronomy.rb
|
113
115
|
- lib/setec_astronomy/aes_crypt.rb
|
@@ -153,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
153
155
|
requirements: []
|
154
156
|
|
155
157
|
rubyforge_project:
|
156
|
-
rubygems_version: 1.8.
|
158
|
+
rubygems_version: 1.8.6
|
157
159
|
signing_key:
|
158
160
|
specification_version: 3
|
159
161
|
summary: Command line and API access to KeePassX databases
|