ambry 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/Changelog.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Ambry Changelog
2
2
 
3
+ ## [0.3.1](https://github.com/norman/ambry/tree/0.3.1) - 2012-06-20 ([diff](https://github.com/norman/ambry/compare/0.3.0...0.3.1))
4
+
5
+ ### [Norman Clarke](https://github.com/norman)
6
+
7
+ * Remove default :main adapter in Rail initializer.
8
+
9
+
3
10
  ## [0.3.0](https://github.com/norman/ambry/tree/0.3.0) - 2012-03-15 ([diff](https://github.com/norman/ambry/compare/0.2.4...0.3.0))
4
11
 
5
12
  ### [Norman Clarke](https://github.com/norman)
data/Guide.md CHANGED
@@ -174,7 +174,7 @@ basis, such as the filters described below.
174
174
 
175
175
  #### Filters
176
176
 
177
- Filters in Prequal are saved finds that can be chained together, conceptually
177
+ Filters in Ambry are saved finds that can be chained together, conceptually
178
178
  similar to [Active Record
179
179
  scopes](http://api.rubyonrails.org/classes/ActiveRecord/NamedScope/ClassMethods.html#method-i-scope).
180
180
 
data/README.md CHANGED
@@ -9,7 +9,7 @@ It implements Active Model and has generators to integrate nicely with Rails.
9
9
  You can store your data in either YAML or dump file.
10
10
 
11
11
  For more info, take a peek at the
12
- [docs](http://rubydoc.info/github/ambry/ambry/master/frames), or read on for some
12
+ [docs](http://rubydoc.info/github/norman/ambry/frames), or read on for some
13
13
  quick samples.
14
14
 
15
15
  ## A quick tour
data/lib/ambry/version.rb CHANGED
@@ -2,7 +2,7 @@ module Ambry
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 3
5
- TINY = 0
5
+ TINY = 1
6
6
  BUILD = nil
7
7
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
8
8
  end
@@ -14,6 +14,7 @@ class AmbryGenerator < Rails::Generators::Base
14
14
  <<-EOI
15
15
  require "ambry/adapters/yaml"
16
16
  require "ambry/active_model"
17
+ Ambry.remove_adapter :main
17
18
  Ambry::Adapters::YAML.new :file => Rails.root.join('db', 'ambry.yml')
18
19
  EOI
19
20
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ambry
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-15 00:00:00.000000000 Z
12
+ date: 2012-06-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ffaker
16
- requirement: &70196828901600 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,15 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70196828901600
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: minitest
27
- requirement: &70196828901100 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ~>
@@ -32,10 +37,15 @@ dependencies:
32
37
  version: 2.2.2
33
38
  type: :development
34
39
  prerelease: false
35
- version_requirements: *70196828901100
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 2.2.2
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: mocha
38
- requirement: &70196828900640 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
51
  - - ! '>='
@@ -43,10 +53,15 @@ dependencies:
43
53
  version: '0'
44
54
  type: :development
45
55
  prerelease: false
46
- version_requirements: *70196828900640
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
47
62
  - !ruby/object:Gem::Dependency
48
63
  name: activesupport
49
- requirement: &70196828900020 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
50
65
  none: false
51
66
  requirements:
52
67
  - - ~>
@@ -54,10 +69,15 @@ dependencies:
54
69
  version: '3.0'
55
70
  type: :development
56
71
  prerelease: false
57
- version_requirements: *70196828900020
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: '3.0'
58
78
  - !ruby/object:Gem::Dependency
59
79
  name: activemodel
60
- requirement: &70196828915860 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
61
81
  none: false
62
82
  requirements:
63
83
  - - ~>
@@ -65,10 +85,15 @@ dependencies:
65
85
  version: '3.0'
66
86
  type: :development
67
87
  prerelease: false
68
- version_requirements: *70196828915860
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: '3.0'
69
94
  - !ruby/object:Gem::Dependency
70
95
  name: rake
71
- requirement: &70196828915480 !ruby/object:Gem::Requirement
96
+ requirement: !ruby/object:Gem::Requirement
72
97
  none: false
73
98
  requirements:
74
99
  - - ! '>='
@@ -76,7 +101,12 @@ dependencies:
76
101
  version: '0'
77
102
  type: :development
78
103
  prerelease: false
79
- version_requirements: *70196828915480
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
80
110
  description: ! " Ambry is not an ORM, man! It's a database and ORM replacement
81
111
  for (mostly)\n static models and small datasets. It provides ActiveModel compatibility,
82
112
  and\n flexible searching and storage.\n"
@@ -125,15 +155,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
125
155
  - - ! '>='
126
156
  - !ruby/object:Gem::Version
127
157
  version: '0'
158
+ segments:
159
+ - 0
160
+ hash: -2496886611082865367
128
161
  required_rubygems_version: !ruby/object:Gem::Requirement
129
162
  none: false
130
163
  requirements:
131
164
  - - ! '>='
132
165
  - !ruby/object:Gem::Version
133
166
  version: '0'
167
+ segments:
168
+ - 0
169
+ hash: -2496886611082865367
134
170
  requirements: []
135
171
  rubyforge_project: ! '[none]'
136
- rubygems_version: 1.8.11
172
+ rubygems_version: 1.8.24
137
173
  signing_key:
138
174
  specification_version: 3
139
175
  summary: An ActiveModel-compatible ORM-like library for storing model instances in