crypt_keeper 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml ADDED
@@ -0,0 +1,12 @@
1
+ language: ruby
2
+ script: "bundle exec rake spec"
3
+ notifications:
4
+ email:
5
+ recipients:
6
+ jmazzi@gmail.com
7
+ on_success: never
8
+ on_failure: always
9
+ rvm:
10
+ - 1.9.2
11
+ - 1.9.3
12
+ - jruby-19mode
data/README.md CHANGED
@@ -8,6 +8,9 @@ is a simple class that does 3 things.
8
8
  2. Provides an `encrypt` method that returns the encrypted string
9
9
  3. Provides a `decrypt` method that returns the plaintext
10
10
 
11
+ Note: Any options defined using `crypt_keeper` will be passed to `new` as a
12
+ hash.
13
+
11
14
  Use can see an AES example here [here](https://github.com/jmazzi/crypt_keeper_providers/blob/master/lib/crypt_keeper_providers/aes.rb)
12
15
 
13
16
  ## Why?
data/crypt_keeper.gemspec CHANGED
@@ -17,15 +17,16 @@ Gem::Specification.new do |gem|
17
17
 
18
18
  gem.add_runtime_dependency 'activerecord', '>= 3.0'
19
19
  gem.add_runtime_dependency 'activesupport', '>= 3.0'
20
- gem.add_runtime_dependency 'crypt_keeper_providers', '~> 0.0.1'
20
+ gem.add_runtime_dependency 'crypt_keeper_providers', '~> 0.0.3'
21
21
 
22
22
  gem.add_development_dependency 'rspec', '~> 2.10.0'
23
23
  gem.add_development_dependency 'guard', '~> 1.2.0'
24
24
  gem.add_development_dependency 'guard-rspec', '~> 1.1.0'
25
- gem.add_development_dependency 'sqlite3'
26
25
  gem.add_development_dependency 'rake', '~> 0.9.2.2'
27
26
  if RUBY_PLATFORM == 'java'
28
27
  gem.add_development_dependency 'jruby-openssl', '~> 0.7.7'
29
28
  gem.add_development_dependency 'activerecord-jdbcsqlite3-adapter'
29
+ else
30
+ gem.add_development_dependency 'sqlite3'
30
31
  end
31
32
  end
@@ -1,3 +1,3 @@
1
1
  module CryptKeeper
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crypt_keeper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-07-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord
16
- requirement: &12657640 !ruby/object:Gem::Requirement
16
+ requirement: &6479720 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '3.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *12657640
24
+ version_requirements: *6479720
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: activesupport
27
- requirement: &12656740 !ruby/object:Gem::Requirement
27
+ requirement: &6478940 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,21 +32,21 @@ dependencies:
32
32
  version: '3.0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *12656740
35
+ version_requirements: *6478940
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: crypt_keeper_providers
38
- requirement: &12655960 !ruby/object:Gem::Requirement
38
+ requirement: &6494620 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
42
42
  - !ruby/object:Gem::Version
43
- version: 0.0.1
43
+ version: 0.0.3
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *12655960
46
+ version_requirements: *6494620
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rspec
49
- requirement: &12655260 !ruby/object:Gem::Requirement
49
+ requirement: &6493320 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 2.10.0
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *12655260
57
+ version_requirements: *6493320
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: guard
60
- requirement: &12654520 !ruby/object:Gem::Requirement
60
+ requirement: &6490560 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: 1.2.0
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *12654520
68
+ version_requirements: *6490560
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: guard-rspec
71
- requirement: &12653760 !ruby/object:Gem::Requirement
71
+ requirement: &6488360 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ~>
@@ -76,29 +76,29 @@ dependencies:
76
76
  version: 1.1.0
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *12653760
79
+ version_requirements: *6488360
80
80
  - !ruby/object:Gem::Dependency
81
- name: sqlite3
82
- requirement: &12653060 !ruby/object:Gem::Requirement
81
+ name: rake
82
+ requirement: &6502220 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
- - - ! '>='
85
+ - - ~>
86
86
  - !ruby/object:Gem::Version
87
- version: '0'
87
+ version: 0.9.2.2
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *12653060
90
+ version_requirements: *6502220
91
91
  - !ruby/object:Gem::Dependency
92
- name: rake
93
- requirement: &12652280 !ruby/object:Gem::Requirement
92
+ name: sqlite3
93
+ requirement: &6500300 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
- - - ~>
96
+ - - ! '>='
97
97
  - !ruby/object:Gem::Version
98
- version: 0.9.2.2
98
+ version: '0'
99
99
  type: :development
100
100
  prerelease: false
101
- version_requirements: *12652280
101
+ version_requirements: *6500300
102
102
  description: Transparent encryption for ActiveRecord that isn't over-engineered
103
103
  email:
104
104
  - jmazzi@gmail.com
@@ -108,6 +108,7 @@ extra_rdoc_files: []
108
108
  files:
109
109
  - .gitignore
110
110
  - .rspec
111
+ - .travis.yml
111
112
  - Gemfile
112
113
  - Guardfile
113
114
  - LICENSE
@@ -134,7 +135,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
134
135
  version: '0'
135
136
  segments:
136
137
  - 0
137
- hash: -344464028808520891
138
+ hash: -259501510008969600
138
139
  required_rubygems_version: !ruby/object:Gem::Requirement
139
140
  none: false
140
141
  requirements:
@@ -143,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
143
144
  version: '0'
144
145
  segments:
145
146
  - 0
146
- hash: -344464028808520891
147
+ hash: -259501510008969600
147
148
  requirements: []
148
149
  rubyforge_project:
149
150
  rubygems_version: 1.8.11