Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
164 commits
Select commit Hold shift + click to select a range
526ed3a
Remove jeweler, use joe and refactor to cutest.
Sep 16, 2010
3d0ce4a
Clean out unnecessary whitespace.
Sep 16, 2010
5c1cc85
Fix requires in test/helper.rb.
Sep 16, 2010
61eeb21
Bump version to 0.0.33 and fix gemspec.
Sep 16, 2010
8d0d391
Add before_update and after_update callbacks.
Sep 22, 2010
2de734f
Bump gemspec file.
Sep 22, 2010
9fda09d
Add the .type method to Ohm::Typecasted values.
Sep 22, 2010
9962147
Bump version to 0.0.35.
Sep 22, 2010
f8a04fd
Change urls.
Sep 28, 2010
2c9e0a8
Add scoping for Ohm::Model::Sets via a 'scope' method.
Oct 2, 2010
d8b6489
Bump to 0.0.36; add Ohm::Scope.
Oct 3, 2010
a062048
Fix gemspec, bump version and clean whitespace.
Oct 4, 2010
a449421
Update gemspec.
Oct 4, 2010
1c825de
Implement `typecast` method in Ohm::Typecast.
Oct 5, 2010
1fc0ac4
Add Ohm::SoftDelete
Oct 22, 2010
b9e1759
Tweak the code a bit for SoftDelete.
Oct 26, 2010
8ce08bf
Bump VERSION to 0.0.39.
Oct 26, 2010
645f02c
Add activemodel extension.
soveran Nov 6, 2010
c7c0c41
Change the strategy of full_messages to use i18n.
Nov 9, 2010
3ab1517
Bump to 0.0.40.
Nov 9, 2010
568bae9
Update to 0.0.41; Use Iconv for Ohm::Slug.
Nov 22, 2010
055a156
Fix date validation problems.
Nov 23, 2010
b4752c3
Remove lunar macros.
Jan 8, 2011
a92ed15
Slightly enforce the use of yajl/json_gem to solve the encoding probl…
Jan 8, 2011
a2e56fc
Add the new and shiny Ohm::FulltextSearching plugin.
Jan 8, 2011
59415e5
Bump version to 0.1.0.
Jan 8, 2011
c0393be
Remove the constant memoization and just assume that ::constants retu…
Jan 8, 2011
ee242c2
Add type information to Ohm::Typecast.
Jan 18, 2011
b229aa5
Make running tests easier by adding ../lib to load path.
Feb 8, 2011
259517f
Fix errors with MRI 1.8.6 and symbol to proc (@lusis).
Feb 8, 2011
8f655f7
Fix active model extension and model_name not present on the actual m…
Feb 8, 2011
6112812
Bump version to 0.1.1.
Feb 8, 2011
c9cbc71
Make #valid? cached.
Apr 27, 2011
ea56d2b
Fix bug with defined vs nil.
Apr 27, 2011
7c89645
Remove super use and favor a manual monkey patch.
Apr 27, 2011
506e330
Cleaner implementation of overrides.
Apr 27, 2011
e869ea6
Re-implement create.
Apr 27, 2011
0a79cea
Fix existing vs is_new.
Apr 27, 2011
b5fe7d8
Solve the .create problem.
Apr 27, 2011
c0188bd
Final cleanup of callbacks.
Apr 27, 2011
48c104b
Remove the requirement of YAJL (via @djanowski)
Nov 21, 2011
4f6e450
Bump version.
Nov 21, 2011
d7ac2b9
Update gemspec.
Nov 21, 2011
fd4aeff
Initial spike on new and slimified ohm-contrib.
Nov 22, 2011
bd921ff
Make all plugin names lowercase: better to look at.
Nov 22, 2011
7c047a2
Change const_get.
Nov 22, 2011
6362166
Remove the plugin system via @djanowski / @soveran
Nov 22, 2011
e7f45b6
Clean the implementation of datatypes via @soveran
Nov 22, 2011
c7c0765
Change the sequel style type declarations
Nov 22, 2011
6498de4
Remove lunar.
Nov 22, 2011
ce7b4c4
Bump version.
Nov 22, 2011
6c23a8b
Remove gemspec.erb.
Nov 22, 2011
0d97289
Manually hand-code the gemspec; bump to rc0.
Nov 22, 2011
4b5fa41
Fix bug with create callback not returning the intended result.
Nov 22, 2011
f2223d2
Ignore rbenv gemsets.
Jan 17, 2012
9ad67d2
Make ohm-contrib work with the latest Ohm transactions branch.
Jan 17, 2012
6092c0a
Ignore rbenv version.
Jan 18, 2012
dea60cd
Fix behavior of Decimal to return 0 for nil / empty string (via @sove…
Jan 18, 2012
e0070a4
Make everything work with ohm (#one branch).
Mar 7, 2012
7f543cb
Remove PureRuby / Scripted awareness.
Mar 8, 2012
f149cfd
Remove deprecated plugin file.
Mar 8, 2012
f74589a
Re-implement timestamping without callbacks (via @jano).
Mar 8, 2012
759d998
Simplify callbacks to the max.
Mar 8, 2012
7a69ad9
Simplify timestamping to the max (via @soveran, @jano).
Mar 8, 2012
1f72e2b
Rename to Ohm::Timestamps (via @soveran, @jano).
Mar 8, 2012
56d688e
Remove vestigial index statements in conjunction with lua scripted br…
Mar 22, 2012
57dde25
Add a new Ohm::Versioned module.
Mar 23, 2012
b8f3bc8
tohash no longer exists
Mar 28, 2012
d5dfc4a
Merge pull request #6 from damln/master
cyx Mar 28, 2012
3975e03
Update dev dependencies.
Apr 3, 2012
6ee5b91
Bump to rc2.
Apr 3, 2012
c60419c
Merge branch 'master' of github.com:cyx/ohm-contrib
Apr 3, 2012
89b5a06
First try at 1.8.7 compat
Apr 9, 2012
a8996f0
Tests pass on 1.8.7
Apr 9, 2012
e964606
Update ohm dependency.
soveran Apr 9, 2012
7d5fce0
Merge branch 'master' into 1.8.7
soveran Apr 9, 2012
eb1b4fb
Release candidate.
soveran Apr 9, 2012
9c9dcce
Bump to 1.0.0.rc4: Specify latet ohm 1.0.0.rc3 as dependency.
Apr 20, 2012
33e9c0c
Bump to 1.0.0.rc5: Point to ohm 1.0.0.rc4.
Apr 24, 2012
fe0e14e
Bump to 1.0.0.
Apr 25, 2012
7875867
Update gem manifest to use ohm 1.0.1.
cyx May 14, 2012
48d8b79
Fix bug with Ohm::DataTypes.
cyx May 14, 2012
b8b2576
Release 1.0.1.
cyx May 14, 2012
2d5fde4
Update README for 1.0.
cyx May 25, 2012
e9fe808
Add scrivener footnote.
cyx May 25, 2012
1942097
Make syntax highlight for ruby code.
cyx May 25, 2012
e0c1d0c
Add more tests for slug.
cyx May 25, 2012
af0d65e
Document all the new plugins.
cyx May 25, 2012
ffa8582
Move the content of readme around.
cyx May 25, 2012
635fa79
Fix typo in README
catwell Jun 20, 2012
b2b0d54
Merge pull request #8 from catwell/master
Jun 29, 2012
fce1ab0
Added data types Symbol and Set
der-flo Jul 9, 2012
2a13c88
Update .gems to latest versions.
Jul 18, 2012
9255815
Update gem manifest to point to ohm 1.1.0.
Jul 24, 2012
14e506b
Update README.
Jul 24, 2012
2990d9f
Release 1.1.0.
Jul 24, 2012
e5302d9
Merge branch 'more-datatypes' of git://github.com/Nix-wie-weg/ohm-con…
Aug 9, 2012
dbc2e93
Remove puts debugging in test.
Aug 9, 2012
a2fbfd9
Release 1.1.1. Add Symbol and Set types.
Aug 9, 2012
52f38e2
BUG FIX: Fix Ohm::Scope for version 1.2.
Aug 30, 2012
b1524c6
ohm-contrib release 1.2.
Aug 30, 2012
9ff956f
Fix small typo in README
inkel Nov 19, 2012
cd668ff
Merge pull request #10 from inkel/patch-1
cyx Nov 19, 2012
650d039
Fixed bug causing slug to mutate input. Still optimized.
luiscvega Dec 12, 2013
f4ac5f0
Gemspec gardening.
frodsan Dec 24, 2013
e322114
Remove Ohm::Contrib::VERSION unused constant.
frodsan Dec 24, 2013
d95b3c2
Update dependencies.
frodsan Dec 24, 2013
d32ebaa
Update test helper.
frodsan Dec 24, 2013
57b6cce
Update slug tests.
frodsan Dec 24, 2013
6dcc800
Merge pull request #20 from frodsan/remove_version_constant
cyx Dec 24, 2013
6e9a887
Merge pull request #19 from frodsan/gemspec_gardening
cyx Dec 24, 2013
fc5e2a6
Fix email in gemspec
cyx Dec 24, 2013
bdf07e2
Merge pull request #18 from luiscvega/master
cyx Dec 24, 2013
68f89f3
Fix code example on README.
frodsan Dec 25, 2013
0cdd22f
Update Ohm::Timestamps tests.
frodsan Dec 25, 2013
549c687
Fix Ohm::Timestamps tests.
frodsan Dec 25, 2013
d5f7c1f
Update Ohm::Scope tests.
frodsan Dec 25, 2013
caa8e17
Update Ohm::Callbacks tests.
frodsan Dec 25, 2013
494571b
Fix Ohm::Callbacks tests.
frodsan Dec 25, 2013
c54aa57
Update Ohm::DataTypes tests.
frodsan Dec 25, 2013
8bbcce2
Casts symbol only if exists.
frodsan Dec 25, 2013
3049791
Remove unneeded check. Ohm 2 doesn't save values for attributes set to
frodsan Dec 25, 2013
97d40b6
Use stabby lambda syntax.
frodsan Dec 25, 2013
78a06c4
Remove unused files.
frodsan Dec 25, 2013
3fe6013
Use makefile instead of Rakefile.
frodsan Dec 25, 2013
6947ed0
Fix ohm version on gemspec.
frodsan Dec 25, 2013
db2167a
Update Ohm::SoftDelete tests.
frodsan Dec 25, 2013
4af553e
Fix Ohm::SoftDelete tests.
frodsan Dec 25, 2013
9fcce06
Update Ohm::SoftDelete documentation.
frodsan Dec 25, 2013
fa2cc83
Remove duplicated tests about soft delete.
frodsan Dec 25, 2013
b5d97c8
Update Ohm::Locking tests.
frodsan Dec 25, 2013
139e087
Fix Ohm::Locking redis calls.
frodsan Dec 25, 2013
c6c7154
Remove duplicated tests.
frodsan Dec 25, 2013
68dc4e0
Update Ohm::Versioned tests.
frodsan Dec 25, 2013
ad68a34
Fix Ohm::Versioned tests.
frodsan Dec 25, 2013
418c41a
Add test for ohm/contrib plugin requires.
frodsan Dec 25, 2013
488b228
Use require_relative.
frodsan Dec 25, 2013
765d36d
Merge branch 'ohm_2_support' of git://github.com/frodsan/ohm-contrib
cyx Dec 25, 2013
1f6a253
Merge pull request #21 from frodsan/fix_code_example
cyx Dec 30, 2013
19876cf
Remove Ohm::Datatypes#bool method.
frodsan Dec 31, 2013
12b9ab4
Add CHANGELOG.md file.
frodsan Dec 31, 2013
96317be
Fix Ohm::SoftDelete#restore. Remove key instead of set it to nil.
frodsan Dec 31, 2013
1cf1577
Merge pull request #25 from frodsan/fix_softdelete_plugin
cyx Dec 31, 2013
857840e
Merge pull request #24 from frodsan/add_changelog
cyx Dec 31, 2013
d2737db
Merge pull request #23 from frodsan/remove_bool_method
cyx Dec 31, 2013
95ff794
Cast `deleted` attribute in Ohm::SoftDelete.
frodsan Dec 31, 2013
0edf1f6
Merge pull request #26 from frodsan/cast_deleted_attribute
cyx Dec 31, 2013
806b1ef
Add failing test for transliterate non-ascii characters in Ohm::Slug.
frodsan Jan 2, 2014
11c2b51
Add iconv gem to the gem manifest.
frodsan Jan 2, 2014
caf6e6e
Add iconv as a development dependency.
frodsan Jan 2, 2014
cc43f46
Merge pull request #27 from frodsan/encoding_issue
cyx Jan 2, 2014
28dff3e
Add note about transliteration and iconv.
cyx Jan 2, 2014
d10b16e
Release 2.0.0.rc1
cyx Jan 5, 2014
251b609
Remove VERSION (via @frodsan).
cyx Feb 1, 2014
60fe3fe
Cleanup: remove the gem file.
cyx Mar 6, 2014
ef208b8
Release 2.0.0.rc2: match with ohm 2.0.0.rc2
cyx Mar 6, 2014
68c9d5c
Merge tag '2.0.0.rc2' of github.com:cyx/ohm-contrib into release_v2
frodsan Mar 19, 2014
5bdc086
Update ohm to 2.0.0.
frodsan Mar 19, 2014
ffa2fc3
Release 2.0.0.
frodsan Mar 19, 2014
c9c0887
Merge pull request #29 from frodsan/release_v2
cyx Mar 19, 2014
dc5c19c
Ohm::Locking: bugfix and rename
cyx Dec 17, 2014
d0a5ad3
Release 2.0.1: Ohm::Locking bugfix/rename release
cyx Dec 17, 2014
f6df088
Fix the gem build warnings
cyx Dec 17, 2014
eb847b9
Preparation for Ohm 2.2.0
soveran Feb 10, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .document

This file was deleted.

4 changes: 4 additions & 0 deletions .gems
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
iconv -v 1.0.4
override -v 0.0.10
ohm -v 2.1.0
cutest -v 1.2.2
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ pkg
/.yardoc
/doc
/tests

## rbenv
.rbenv-gemsets
.rbenv-version
48 changes: 48 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
2.0.0
=====

* Support for Ohm 1.3.x has been removed. It only supports Ohm 2.x.

1.2
===

* Support for <= 1.1 versions has been removed.Ohm-contrib v1.2 should be used
with Ohm 1.2 and above only, due to the change in the way the `Ohm::Set` and
`Ohm::MultiSet` are defined. The way to extend #initialize on both has changed.

1.1.1
=====

* Add Symbol and Set datatypes.

Example:

class Foo < Ohm::Model
include Ohm::DataTypes

attribute :state, Type::Symbol
attribute :bar_ids, Type::Set
end

1.0.0
=====

* `Ohm::Typecast` has been removed in favor of `Ohm::DataTypes`.

* `Ohm::Timestamping` has been renamed to `Ohm::Timestamps`.

* `Ohm::Timestamps` now store times as a UNIX Timestamp.

* `All Ohm validation related plugins have been removed.
See [scrivener][scrivener] instead.

* `Ohm::Boundaries` has been removed.

* `Ohm::Contrib` no longer uses `autoload`. You can either `require 'ohm/contrib'`,
which requires everything, or you can `require 'ohm/datatypes'` for example
if you want to cherry pick your requires.

* `Ohm::Callbacks` no longer provides macro style callbacks, i.e.
`after :create, :do_something`. Use instance callbacks instead.

[scrivener]: http://github.com/soveran/scrivener
3 changes: 2 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Loading