workflow_sequel_adapter 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: e63cc3d0f730e296d5a02bea235ee4b11ea79995
4
+ data.tar.gz: 59f39cd8a21d300acb10d13b56b05cba6d534ebf
5
+ SHA512:
6
+ metadata.gz: 41e61b5405699a9ee66cb9568748390effa028a68021104289eaf506d8702046786da25f05a7bdfcfd19004d565af51c32d8b1ac3f3a33f2433b3c76a38b746f
7
+ data.tar.gz: 0d46fa4bea34b89be6f310e428e91285b5568418ed71ae20ee41d9859633700e87d1e0010c3bd29690d21c8793ec1ef7edd801a2b22f5b72a40d02668b335c72
@@ -1,6 +1,7 @@
1
1
  language: ruby
2
2
  rvm:
3
3
  - 1.9.3
4
+ - 2.0.0
4
5
  - jruby-19mode
5
6
  - rbx-19mode
6
7
  before_script:
@@ -0,0 +1,10 @@
1
+ ## HEAD
2
+ * fix tests under the jruby jruby
3
+
4
+ ## 0.0.2
5
+
6
+ * Rename sqlite3-ruby gem to sqlite3
7
+
8
+ ## 0.0.1
9
+
10
+ * Initial release
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ [![Build Status](https://travis-ci.org/kamui/workflow_sequel_adapter.png?branch=master)](http://travis-ci.org/kamui/workflow_sequel_adapter)
2
+
1
3
  # workflow_sequel_adapter
2
4
 
3
5
  This gem is a persistence adapter for the [Workflow](http://github.com/geekq/workflow) gem. All you do is include this adapter, and `Workflow` will use the `workflow_column` to retrieve and persist the workflow state.
@@ -1,3 +1,3 @@
1
1
  module WorkflowSequelAdapter
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -3,7 +3,11 @@ require 'workflow'
3
3
  require 'workflow_sequel_adapter'
4
4
  require 'minitest/autorun'
5
5
 
6
- DB = Sequel.sqlite
6
+ if RUBY_PLATFORM == "java"
7
+ DB = Sequel.connect('jdbc:sqlite::memory:')
8
+ else
9
+ DB = Sequel.sqlite
10
+ end
7
11
 
8
12
  Sequel::Model.raise_on_save_failure = false
9
13
 
@@ -22,5 +22,10 @@ Gem::Specification.new do |gem|
22
22
 
23
23
  gem.add_development_dependency "rake"
24
24
  gem.add_development_dependency "minitest"
25
- gem.add_development_dependency "sqlite3"
25
+
26
+ if RUBY_PLATFORM == "java"
27
+ gem.add_development_dependency "jdbc-sqlite3"
28
+ else
29
+ gem.add_development_dependency "sqlite3"
30
+ end
26
31
  end
metadata CHANGED
@@ -1,94 +1,83 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workflow_sequel_adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
5
- prerelease:
4
+ version: 0.0.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Jack Chu
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-01-17 00:00:00.000000000 Z
11
+ date: 2014-05-19 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: workflow
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: sequel
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ">="
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rake
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - ">="
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - ">="
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: minitest
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - ">="
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - ">="
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: sqlite3
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ! '>='
73
+ - - ">="
84
74
  - !ruby/object:Gem::Version
85
75
  version: '0'
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ! '>='
80
+ - - ">="
92
81
  - !ruby/object:Gem::Version
93
82
  version: '0'
94
83
  description: workflow_sequel_adapter is a persistence adapter for the Workflow gem.
@@ -100,8 +89,9 @@ executables: []
100
89
  extensions: []
101
90
  extra_rdoc_files: []
102
91
  files:
103
- - .gitignore
104
- - .travis.yml
92
+ - ".gitignore"
93
+ - ".travis.yml"
94
+ - CHANGELOG.md
105
95
  - Gemfile
106
96
  - LICENSE.txt
107
97
  - README.md
@@ -113,33 +103,26 @@ files:
113
103
  - workflow_sequel_adapter.gemspec
114
104
  homepage: http://github.com/kamui/workflow_sequel_adapter
115
105
  licenses: []
106
+ metadata: {}
116
107
  post_install_message:
117
108
  rdoc_options: []
118
109
  require_paths:
119
110
  - lib
120
111
  required_ruby_version: !ruby/object:Gem::Requirement
121
- none: false
122
112
  requirements:
123
- - - ! '>='
113
+ - - ">="
124
114
  - !ruby/object:Gem::Version
125
115
  version: '0'
126
- segments:
127
- - 0
128
- hash: 221529894828090429
129
116
  required_rubygems_version: !ruby/object:Gem::Requirement
130
- none: false
131
117
  requirements:
132
- - - ! '>='
118
+ - - ">="
133
119
  - !ruby/object:Gem::Version
134
120
  version: '0'
135
- segments:
136
- - 0
137
- hash: 221529894828090429
138
121
  requirements: []
139
122
  rubyforge_project:
140
- rubygems_version: 1.8.24
123
+ rubygems_version: 2.2.2
141
124
  signing_key:
142
- specification_version: 3
125
+ specification_version: 4
143
126
  summary: workflow_sequel_adapter is a persistence adapter for the Workflow gem.
144
127
  test_files:
145
128
  - test/test_helper.rb