sequential 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +18 -0
  3. data/.travis.yml +5 -0
  4. data/Gemfile +4 -0
  5. data/LICENSE.md +20 -0
  6. data/LICENSE.txt +22 -0
  7. data/README.md +48 -0
  8. data/Rakefile +15 -0
  9. data/lib/rails/generators/sequential/setup/setup_generator.rb +19 -0
  10. data/lib/rails/generators/sequential/setup/templates/migration.rb +12 -0
  11. data/lib/sequential/generator.rb +43 -0
  12. data/lib/sequential/sequence.rb +5 -0
  13. data/lib/sequential/sequential_include.rb +52 -0
  14. data/lib/sequential/version.rb +3 -0
  15. data/lib/sequential.rb +6 -0
  16. data/sequential.gemspec +28 -0
  17. data/test/dummy/README.rdoc +28 -0
  18. data/test/dummy/Rakefile +6 -0
  19. data/test/dummy/app/models/comment.rb +4 -0
  20. data/test/dummy/app/models/invoice.rb +5 -0
  21. data/test/dummy/app/models/post.rb +5 -0
  22. data/test/dummy/app/models/product.rb +3 -0
  23. data/test/dummy/app/models/story.rb +3 -0
  24. data/test/dummy/bin/bundle +3 -0
  25. data/test/dummy/bin/rails +4 -0
  26. data/test/dummy/bin/rake +4 -0
  27. data/test/dummy/config/application.rb +26 -0
  28. data/test/dummy/config/boot.rb +8 -0
  29. data/test/dummy/config/database.yml +25 -0
  30. data/test/dummy/config/environment.rb +5 -0
  31. data/test/dummy/config/environments/development.rb +29 -0
  32. data/test/dummy/config/environments/production.rb +80 -0
  33. data/test/dummy/config/environments/test.rb +36 -0
  34. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  35. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  36. data/test/dummy/config/initializers/inflections.rb +16 -0
  37. data/test/dummy/config/initializers/mime_types.rb +5 -0
  38. data/test/dummy/config/initializers/secret_token.rb +12 -0
  39. data/test/dummy/config/initializers/session_store.rb +3 -0
  40. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  41. data/test/dummy/config/locales/en.yml +23 -0
  42. data/test/dummy/config/routes.rb +56 -0
  43. data/test/dummy/config.ru +4 -0
  44. data/test/dummy/db/migrate/20131104000033_create_posts.rb +8 -0
  45. data/test/dummy/db/migrate/20131104000212_create_invoices.rb +8 -0
  46. data/test/dummy/db/migrate/20131104003146_create_sequential.rb +12 -0
  47. data/test/dummy/db/migrate/20131104003505_create_products.rb +10 -0
  48. data/test/dummy/db/migrate/20131104015719_create_stories.rb +10 -0
  49. data/test/dummy/db/migrate/20131104020142_create_comments.rb +12 -0
  50. data/test/dummy/db/seeds.rb +7 -0
  51. data/test/dummy/lib/assets/.keep +0 -0
  52. data/test/dummy/lib/tasks/.keep +0 -0
  53. data/test/dummy/log/.keep +0 -0
  54. data/test/dummy/public/404.html +58 -0
  55. data/test/dummy/public/422.html +58 -0
  56. data/test/dummy/public/500.html +57 -0
  57. data/test/dummy/public/favicon.ico +0 -0
  58. data/test/dummy/public/robots.txt +5 -0
  59. data/test/sequential_include_test.rb +77 -0
  60. data/test/test_helper.rb +13 -0
  61. metadata +206 -0
metadata ADDED
@@ -0,0 +1,206 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sequential
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Austin Lin
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-11-04 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.3'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rails
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '4.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '4.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: sqlite3
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ description: "Generates scoped, threadsafe sequences for \n ActiveRecord
70
+ models"
71
+ email:
72
+ - austin@austinylin.com
73
+ executables: []
74
+ extensions: []
75
+ extra_rdoc_files: []
76
+ files:
77
+ - .gitignore
78
+ - .travis.yml
79
+ - Gemfile
80
+ - LICENSE.md
81
+ - LICENSE.txt
82
+ - README.md
83
+ - Rakefile
84
+ - lib/rails/generators/sequential/setup/setup_generator.rb
85
+ - lib/rails/generators/sequential/setup/templates/migration.rb
86
+ - lib/sequential.rb
87
+ - lib/sequential/generator.rb
88
+ - lib/sequential/sequence.rb
89
+ - lib/sequential/sequential_include.rb
90
+ - lib/sequential/version.rb
91
+ - sequential.gemspec
92
+ - test/dummy/README.rdoc
93
+ - test/dummy/Rakefile
94
+ - test/dummy/app/models/comment.rb
95
+ - test/dummy/app/models/invoice.rb
96
+ - test/dummy/app/models/post.rb
97
+ - test/dummy/app/models/product.rb
98
+ - test/dummy/app/models/story.rb
99
+ - test/dummy/bin/bundle
100
+ - test/dummy/bin/rails
101
+ - test/dummy/bin/rake
102
+ - test/dummy/config.ru
103
+ - test/dummy/config/application.rb
104
+ - test/dummy/config/boot.rb
105
+ - test/dummy/config/database.yml
106
+ - test/dummy/config/environment.rb
107
+ - test/dummy/config/environments/development.rb
108
+ - test/dummy/config/environments/production.rb
109
+ - test/dummy/config/environments/test.rb
110
+ - test/dummy/config/initializers/backtrace_silencers.rb
111
+ - test/dummy/config/initializers/filter_parameter_logging.rb
112
+ - test/dummy/config/initializers/inflections.rb
113
+ - test/dummy/config/initializers/mime_types.rb
114
+ - test/dummy/config/initializers/secret_token.rb
115
+ - test/dummy/config/initializers/session_store.rb
116
+ - test/dummy/config/initializers/wrap_parameters.rb
117
+ - test/dummy/config/locales/en.yml
118
+ - test/dummy/config/routes.rb
119
+ - test/dummy/db/migrate/20131104000033_create_posts.rb
120
+ - test/dummy/db/migrate/20131104000212_create_invoices.rb
121
+ - test/dummy/db/migrate/20131104003146_create_sequential.rb
122
+ - test/dummy/db/migrate/20131104003505_create_products.rb
123
+ - test/dummy/db/migrate/20131104015719_create_stories.rb
124
+ - test/dummy/db/migrate/20131104020142_create_comments.rb
125
+ - test/dummy/db/seeds.rb
126
+ - test/dummy/lib/assets/.keep
127
+ - test/dummy/lib/tasks/.keep
128
+ - test/dummy/log/.keep
129
+ - test/dummy/public/404.html
130
+ - test/dummy/public/422.html
131
+ - test/dummy/public/500.html
132
+ - test/dummy/public/favicon.ico
133
+ - test/dummy/public/robots.txt
134
+ - test/sequential_include_test.rb
135
+ - test/test_helper.rb
136
+ homepage: ''
137
+ licenses:
138
+ - MIT
139
+ metadata: {}
140
+ post_install_message:
141
+ rdoc_options: []
142
+ require_paths:
143
+ - lib
144
+ required_ruby_version: !ruby/object:Gem::Requirement
145
+ requirements:
146
+ - - '>='
147
+ - !ruby/object:Gem::Version
148
+ version: '0'
149
+ required_rubygems_version: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - '>='
152
+ - !ruby/object:Gem::Version
153
+ version: '0'
154
+ requirements: []
155
+ rubyforge_project:
156
+ rubygems_version: 2.0.3
157
+ signing_key:
158
+ specification_version: 4
159
+ summary: Sequential enables the use of scoped, threadsafe sequences for ActiveRecord
160
+ models using a seperate sequence table and row-level locking
161
+ test_files:
162
+ - test/dummy/README.rdoc
163
+ - test/dummy/Rakefile
164
+ - test/dummy/app/models/comment.rb
165
+ - test/dummy/app/models/invoice.rb
166
+ - test/dummy/app/models/post.rb
167
+ - test/dummy/app/models/product.rb
168
+ - test/dummy/app/models/story.rb
169
+ - test/dummy/bin/bundle
170
+ - test/dummy/bin/rails
171
+ - test/dummy/bin/rake
172
+ - test/dummy/config.ru
173
+ - test/dummy/config/application.rb
174
+ - test/dummy/config/boot.rb
175
+ - test/dummy/config/database.yml
176
+ - test/dummy/config/environment.rb
177
+ - test/dummy/config/environments/development.rb
178
+ - test/dummy/config/environments/production.rb
179
+ - test/dummy/config/environments/test.rb
180
+ - test/dummy/config/initializers/backtrace_silencers.rb
181
+ - test/dummy/config/initializers/filter_parameter_logging.rb
182
+ - test/dummy/config/initializers/inflections.rb
183
+ - test/dummy/config/initializers/mime_types.rb
184
+ - test/dummy/config/initializers/secret_token.rb
185
+ - test/dummy/config/initializers/session_store.rb
186
+ - test/dummy/config/initializers/wrap_parameters.rb
187
+ - test/dummy/config/locales/en.yml
188
+ - test/dummy/config/routes.rb
189
+ - test/dummy/db/migrate/20131104000033_create_posts.rb
190
+ - test/dummy/db/migrate/20131104000212_create_invoices.rb
191
+ - test/dummy/db/migrate/20131104003146_create_sequential.rb
192
+ - test/dummy/db/migrate/20131104003505_create_products.rb
193
+ - test/dummy/db/migrate/20131104015719_create_stories.rb
194
+ - test/dummy/db/migrate/20131104020142_create_comments.rb
195
+ - test/dummy/db/seeds.rb
196
+ - test/dummy/lib/assets/.keep
197
+ - test/dummy/lib/tasks/.keep
198
+ - test/dummy/log/.keep
199
+ - test/dummy/public/404.html
200
+ - test/dummy/public/422.html
201
+ - test/dummy/public/500.html
202
+ - test/dummy/public/favicon.ico
203
+ - test/dummy/public/robots.txt
204
+ - test/sequential_include_test.rb
205
+ - test/test_helper.rb
206
+ has_rdoc: