after_commit_action 0.1.3 → 0.1.4

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/Gemfile +11 -2
  3. data/Gemfile.lock +133 -7
  4. data/VERSION +1 -1
  5. data/after_commit_action.gemspec +64 -11
  6. data/circle.yml +3 -0
  7. data/lib/after_commit_action.rb +15 -6
  8. data/spec/after_commit_action_spec.rb +16 -2
  9. data/spec/config/database.yml +3 -0
  10. data/spec/models/tester.rb +30 -0
  11. data/spec/rails_app/.gitignore +15 -0
  12. data/spec/rails_app/Gemfile +40 -0
  13. data/spec/rails_app/README.rdoc +261 -0
  14. data/spec/rails_app/Rakefile +7 -0
  15. data/spec/rails_app/app/assets/images/rails.png +0 -0
  16. data/spec/rails_app/app/assets/javascripts/application.js +15 -0
  17. data/spec/rails_app/app/assets/stylesheets/application.css +13 -0
  18. data/spec/rails_app/app/controllers/application_controller.rb +3 -0
  19. data/spec/rails_app/app/helpers/application_helper.rb +2 -0
  20. data/spec/rails_app/app/mailers/.gitkeep +0 -0
  21. data/spec/rails_app/app/models/.gitkeep +0 -0
  22. data/spec/rails_app/app/views/layouts/application.html.erb +14 -0
  23. data/spec/rails_app/config/application.rb +59 -0
  24. data/spec/rails_app/config/boot.rb +6 -0
  25. data/spec/rails_app/config/database.yml +25 -0
  26. data/spec/rails_app/config/environment.rb +5 -0
  27. data/spec/rails_app/config/environments/development.rb +37 -0
  28. data/spec/rails_app/config/environments/production.rb +67 -0
  29. data/spec/rails_app/config/environments/test.rb +37 -0
  30. data/spec/rails_app/config/initializers/backtrace_silencers.rb +7 -0
  31. data/spec/rails_app/config/initializers/inflections.rb +15 -0
  32. data/spec/rails_app/config/initializers/mime_types.rb +5 -0
  33. data/spec/rails_app/config/initializers/secret_token.rb +7 -0
  34. data/spec/rails_app/config/initializers/session_store.rb +8 -0
  35. data/spec/rails_app/config/initializers/wrap_parameters.rb +14 -0
  36. data/spec/rails_app/config/locales/en.yml +5 -0
  37. data/spec/rails_app/config/routes.rb +58 -0
  38. data/spec/rails_app/config.ru +4 -0
  39. data/spec/rails_app/db/seeds.rb +7 -0
  40. data/spec/rails_app/lib/assets/.gitkeep +0 -0
  41. data/spec/rails_app/lib/tasks/.gitkeep +0 -0
  42. data/spec/rails_app/log/.gitkeep +0 -0
  43. data/spec/rails_app/public/404.html +26 -0
  44. data/spec/rails_app/public/422.html +26 -0
  45. data/spec/rails_app/public/500.html +25 -0
  46. data/spec/rails_app/public/favicon.ico +0 -0
  47. data/spec/rails_app/public/index.html +241 -0
  48. data/spec/rails_app/public/robots.txt +5 -0
  49. data/spec/rails_app/script/rails +6 -0
  50. data/spec/rails_app/test/fixtures/.gitkeep +0 -0
  51. data/spec/rails_app/test/functional/.gitkeep +0 -0
  52. data/spec/rails_app/test/integration/.gitkeep +0 -0
  53. data/spec/rails_app/test/performance/browsing_test.rb +12 -0
  54. data/spec/rails_app/test/test_helper.rb +13 -0
  55. data/spec/rails_app/test/unit/.gitkeep +0 -0
  56. data/spec/rails_app/vendor/assets/javascripts/.gitkeep +0 -0
  57. data/spec/rails_app/vendor/assets/stylesheets/.gitkeep +0 -0
  58. data/spec/rails_app/vendor/plugins/.gitkeep +0 -0
  59. data/spec/schema.rb +20 -0
  60. data/spec/spec_helper.rb +7 -1
  61. metadata +77 -40
metadata CHANGED
@@ -1,94 +1,83 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: after_commit_action
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
5
- prerelease:
4
+ version: 0.1.4
6
5
  platform: ruby
7
6
  authors:
8
7
  - BestVendor
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-05-24 00:00:00.000000000 Z
11
+ date: 2014-12-25 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
- name: rspec
14
+ name: rails
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
- version: 2.8.0
19
+ version: '0'
22
20
  type: :development
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
- version: 2.8.0
26
+ version: '0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rdoc
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ~>
31
+ - - "~>"
36
32
  - !ruby/object:Gem::Version
37
33
  version: '3.12'
38
34
  type: :development
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: '3.12'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: bundler
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - ">="
52
46
  - !ruby/object:Gem::Version
53
47
  version: 1.1.3
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: 1.1.3
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: jeweler
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ~>
59
+ - - "~>"
68
60
  - !ruby/object:Gem::Version
69
- version: 1.8.3
61
+ version: 2.0.1
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
- version: 1.8.3
68
+ version: 2.0.1
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: activerecord
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ! '>='
73
+ - - ">="
84
74
  - !ruby/object:Gem::Version
85
75
  version: 3.0.0
86
76
  type: :runtime
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: 3.0.0
94
83
  description: Use this module to defer actions to the after-commit hook. This is useful
@@ -101,9 +90,9 @@ extra_rdoc_files:
101
90
  - LICENSE.txt
102
91
  - README.md
103
92
  files:
104
- - .document
105
- - .rspec
106
- - .rvmrc
93
+ - ".document"
94
+ - ".rspec"
95
+ - ".rvmrc"
107
96
  - Gemfile
108
97
  - Gemfile.lock
109
98
  - LICENSE.txt
@@ -111,36 +100,84 @@ files:
111
100
  - Rakefile
112
101
  - VERSION
113
102
  - after_commit_action.gemspec
103
+ - circle.yml
114
104
  - lib/after_commit_action.rb
115
105
  - spec/after_commit_action_spec.rb
106
+ - spec/config/database.yml
107
+ - spec/models/tester.rb
108
+ - spec/rails_app/.gitignore
109
+ - spec/rails_app/Gemfile
110
+ - spec/rails_app/README.rdoc
111
+ - spec/rails_app/Rakefile
112
+ - spec/rails_app/app/assets/images/rails.png
113
+ - spec/rails_app/app/assets/javascripts/application.js
114
+ - spec/rails_app/app/assets/stylesheets/application.css
115
+ - spec/rails_app/app/controllers/application_controller.rb
116
+ - spec/rails_app/app/helpers/application_helper.rb
117
+ - spec/rails_app/app/mailers/.gitkeep
118
+ - spec/rails_app/app/models/.gitkeep
119
+ - spec/rails_app/app/views/layouts/application.html.erb
120
+ - spec/rails_app/config.ru
121
+ - spec/rails_app/config/application.rb
122
+ - spec/rails_app/config/boot.rb
123
+ - spec/rails_app/config/database.yml
124
+ - spec/rails_app/config/environment.rb
125
+ - spec/rails_app/config/environments/development.rb
126
+ - spec/rails_app/config/environments/production.rb
127
+ - spec/rails_app/config/environments/test.rb
128
+ - spec/rails_app/config/initializers/backtrace_silencers.rb
129
+ - spec/rails_app/config/initializers/inflections.rb
130
+ - spec/rails_app/config/initializers/mime_types.rb
131
+ - spec/rails_app/config/initializers/secret_token.rb
132
+ - spec/rails_app/config/initializers/session_store.rb
133
+ - spec/rails_app/config/initializers/wrap_parameters.rb
134
+ - spec/rails_app/config/locales/en.yml
135
+ - spec/rails_app/config/routes.rb
136
+ - spec/rails_app/db/seeds.rb
137
+ - spec/rails_app/lib/assets/.gitkeep
138
+ - spec/rails_app/lib/tasks/.gitkeep
139
+ - spec/rails_app/log/.gitkeep
140
+ - spec/rails_app/public/404.html
141
+ - spec/rails_app/public/422.html
142
+ - spec/rails_app/public/500.html
143
+ - spec/rails_app/public/favicon.ico
144
+ - spec/rails_app/public/index.html
145
+ - spec/rails_app/public/robots.txt
146
+ - spec/rails_app/script/rails
147
+ - spec/rails_app/test/fixtures/.gitkeep
148
+ - spec/rails_app/test/functional/.gitkeep
149
+ - spec/rails_app/test/integration/.gitkeep
150
+ - spec/rails_app/test/performance/browsing_test.rb
151
+ - spec/rails_app/test/test_helper.rb
152
+ - spec/rails_app/test/unit/.gitkeep
153
+ - spec/rails_app/vendor/assets/javascripts/.gitkeep
154
+ - spec/rails_app/vendor/assets/stylesheets/.gitkeep
155
+ - spec/rails_app/vendor/plugins/.gitkeep
156
+ - spec/schema.rb
116
157
  - spec/spec_helper.rb
117
158
  homepage: http://github.com/magnusvk/after_commit_action
118
159
  licenses:
119
160
  - MIT
161
+ metadata: {}
120
162
  post_install_message:
121
163
  rdoc_options: []
122
164
  require_paths:
123
165
  - lib
124
166
  required_ruby_version: !ruby/object:Gem::Requirement
125
- none: false
126
167
  requirements:
127
- - - ! '>='
168
+ - - ">="
128
169
  - !ruby/object:Gem::Version
129
170
  version: '0'
130
- segments:
131
- - 0
132
- hash: -3218439365481640895
133
171
  required_rubygems_version: !ruby/object:Gem::Requirement
134
- none: false
135
172
  requirements:
136
- - - ! '>='
173
+ - - ">="
137
174
  - !ruby/object:Gem::Version
138
175
  version: '0'
139
176
  requirements: []
140
177
  rubyforge_project:
141
- rubygems_version: 1.8.21
178
+ rubygems_version: 2.2.2
142
179
  signing_key:
143
- specification_version: 3
180
+ specification_version: 4
144
181
  summary: Easily defer blocks of code to the after-commit action of an ActiveRecord
145
182
  model.
146
183
  test_files: []