fx 0.3.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +1 -0
  3. data/.travis.yml +15 -8
  4. data/Appraisals +16 -10
  5. data/LICENSE +18 -0
  6. data/README.md +42 -13
  7. data/fx.gemspec +1 -1
  8. data/gemfiles/rails42.gemfile +2 -1
  9. data/gemfiles/rails50.gemfile +1 -1
  10. data/gemfiles/rails51.gemfile +8 -0
  11. data/gemfiles/rails52.gemfile +8 -0
  12. data/gemfiles/rails60.gemfile +8 -0
  13. data/gemfiles/rails_edge.gemfile +3 -3
  14. data/lib/fx.rb +22 -0
  15. data/lib/fx/adapters/postgres.rb +13 -1
  16. data/lib/fx/adapters/postgres/functions.rb +3 -0
  17. data/lib/fx/command_recorder.rb +0 -5
  18. data/lib/fx/configuration.rb +10 -0
  19. data/lib/fx/definition.rb +13 -3
  20. data/lib/fx/railtie.rb +15 -0
  21. data/lib/fx/schema_dumper.rb +0 -5
  22. data/lib/fx/schema_dumper/function.rb +14 -5
  23. data/lib/fx/statements.rb +0 -5
  24. data/lib/fx/version.rb +1 -1
  25. data/lib/generators/fx/function/USAGE +2 -0
  26. data/lib/generators/fx/function/function_generator.rb +15 -1
  27. data/lib/generators/fx/trigger/USAGE +2 -0
  28. data/lib/generators/fx/trigger/trigger_generator.rb +15 -1
  29. data/spec/acceptance/user_manages_functions_spec.rb +20 -0
  30. data/spec/fx/adapters/postgres/triggers_spec.rb +4 -3
  31. data/spec/fx/adapters/postgres_spec.rb +36 -14
  32. data/spec/fx/definition_spec.rb +23 -0
  33. data/spec/fx/schema_dumper/function_spec.rb +57 -1
  34. data/spec/generators/fx/function/function_generator_spec.rb +12 -0
  35. data/spec/generators/fx/trigger/trigger_generator_spec.rb +12 -0
  36. metadata +12 -16
  37. data/.ruby-version +0 -1
  38. data/gemfiles/rails40.gemfile +0 -8
  39. data/gemfiles/rails40.gemfile.lock +0 -111
  40. data/gemfiles/rails41.gemfile +0 -8
  41. data/gemfiles/rails41.gemfile.lock +0 -113
  42. data/gemfiles/rails42.gemfile.lock +0 -130
  43. data/gemfiles/rails50.gemfile.lock +0 -126
  44. data/gemfiles/rails_edge.gemfile.lock +0 -179
@@ -1,179 +0,0 @@
1
- GIT
2
- remote: git://github.com/rails/arel.git
3
- revision: f5f81be73df89011fe9bc89915b99d81e0c9a67f
4
- specs:
5
- arel (8.0.0)
6
-
7
- GIT
8
- remote: git://github.com/rails/rails.git
9
- revision: 6a1c0218df1fcffaac97e7288db07934bfef277f
10
- specs:
11
- actioncable (5.1.0.alpha)
12
- actionpack (= 5.1.0.alpha)
13
- nio4r (~> 2.0)
14
- websocket-driver (~> 0.6.1)
15
- actionmailer (5.1.0.alpha)
16
- actionpack (= 5.1.0.alpha)
17
- actionview (= 5.1.0.alpha)
18
- activejob (= 5.1.0.alpha)
19
- mail (~> 2.5, >= 2.5.4)
20
- rails-dom-testing (~> 2.0)
21
- actionpack (5.1.0.alpha)
22
- actionview (= 5.1.0.alpha)
23
- activesupport (= 5.1.0.alpha)
24
- rack (~> 2.0)
25
- rack-test (~> 0.6.3)
26
- rails-dom-testing (~> 2.0)
27
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
28
- actionview (5.1.0.alpha)
29
- activesupport (= 5.1.0.alpha)
30
- builder (~> 3.1)
31
- erubi (~> 1.4)
32
- rails-dom-testing (~> 2.0)
33
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
34
- activejob (5.1.0.alpha)
35
- activesupport (= 5.1.0.alpha)
36
- globalid (>= 0.3.6)
37
- activemodel (5.1.0.alpha)
38
- activesupport (= 5.1.0.alpha)
39
- activerecord (5.1.0.alpha)
40
- activemodel (= 5.1.0.alpha)
41
- activesupport (= 5.1.0.alpha)
42
- arel (~> 8.0)
43
- activesupport (5.1.0.alpha)
44
- concurrent-ruby (~> 1.0, >= 1.0.2)
45
- i18n (~> 0.7)
46
- minitest (~> 5.1)
47
- tzinfo (~> 1.1)
48
- rails (5.1.0.alpha)
49
- actioncable (= 5.1.0.alpha)
50
- actionmailer (= 5.1.0.alpha)
51
- actionpack (= 5.1.0.alpha)
52
- actionview (= 5.1.0.alpha)
53
- activejob (= 5.1.0.alpha)
54
- activemodel (= 5.1.0.alpha)
55
- activerecord (= 5.1.0.alpha)
56
- activesupport (= 5.1.0.alpha)
57
- bundler (>= 1.3.0, < 2.0)
58
- railties (= 5.1.0.alpha)
59
- sprockets-rails (>= 2.0.0)
60
- railties (5.1.0.alpha)
61
- actionpack (= 5.1.0.alpha)
62
- activesupport (= 5.1.0.alpha)
63
- method_source
64
- rake (>= 0.8.7)
65
- thor (>= 0.18.1, < 2.0)
66
-
67
- PATH
68
- remote: ..
69
- specs:
70
- fx (0.3.0)
71
- activerecord (>= 4.0.0)
72
- railties (>= 4.0.0)
73
-
74
- GEM
75
- remote: https://rubygems.org/
76
- specs:
77
- ammeter (1.1.4)
78
- activesupport (>= 3.0)
79
- railties (>= 3.0)
80
- rspec-rails (>= 2.2)
81
- appraisal (2.1.0)
82
- bundler
83
- rake
84
- thor (>= 0.14.0)
85
- builder (3.2.3)
86
- coderay (1.1.1)
87
- concurrent-ruby (1.0.4)
88
- database_cleaner (1.5.3)
89
- diff-lcs (1.3)
90
- erubi (1.5.0)
91
- globalid (0.3.7)
92
- activesupport (>= 4.1.0)
93
- i18n (0.7.0)
94
- loofah (2.0.3)
95
- nokogiri (>= 1.5.9)
96
- mail (2.6.4)
97
- mime-types (>= 1.16, < 4)
98
- method_source (0.8.2)
99
- mime-types (3.1)
100
- mime-types-data (~> 3.2015)
101
- mime-types-data (3.2016.0521)
102
- mini_portile2 (2.1.0)
103
- minitest (5.10.1)
104
- nio4r (2.0.0)
105
- nokogiri (1.7.0.1)
106
- mini_portile2 (~> 2.1.0)
107
- pg (0.19.0)
108
- pry (0.10.4)
109
- coderay (~> 1.1.0)
110
- method_source (~> 0.8.1)
111
- slop (~> 3.4)
112
- rack (2.0.1)
113
- rack-test (0.6.3)
114
- rack (>= 1.0)
115
- rails-dom-testing (2.0.2)
116
- activesupport (>= 4.2.0, < 6.0)
117
- nokogiri (~> 1.6)
118
- rails-html-sanitizer (1.0.3)
119
- loofah (~> 2.0)
120
- rake (12.0.0)
121
- redcarpet (3.4.0)
122
- rspec (3.5.0)
123
- rspec-core (~> 3.5.0)
124
- rspec-expectations (~> 3.5.0)
125
- rspec-mocks (~> 3.5.0)
126
- rspec-core (3.5.4)
127
- rspec-support (~> 3.5.0)
128
- rspec-expectations (3.5.0)
129
- diff-lcs (>= 1.2.0, < 2.0)
130
- rspec-support (~> 3.5.0)
131
- rspec-mocks (3.5.0)
132
- diff-lcs (>= 1.2.0, < 2.0)
133
- rspec-support (~> 3.5.0)
134
- rspec-rails (3.5.2)
135
- actionpack (>= 3.0)
136
- activesupport (>= 3.0)
137
- railties (>= 3.0)
138
- rspec-core (~> 3.5.0)
139
- rspec-expectations (~> 3.5.0)
140
- rspec-mocks (~> 3.5.0)
141
- rspec-support (~> 3.5.0)
142
- rspec-support (3.5.0)
143
- slop (3.6.0)
144
- sprockets (3.7.1)
145
- concurrent-ruby (~> 1.0)
146
- rack (> 1, < 3)
147
- sprockets-rails (3.2.0)
148
- actionpack (>= 4.0)
149
- activesupport (>= 4.0)
150
- sprockets (>= 3.0.0)
151
- thor (0.19.4)
152
- thread_safe (0.3.5)
153
- tzinfo (1.2.2)
154
- thread_safe (~> 0.1)
155
- websocket-driver (0.6.5)
156
- websocket-extensions (>= 0.1.0)
157
- websocket-extensions (0.1.2)
158
- yard (0.9.8)
159
-
160
- PLATFORMS
161
- ruby
162
-
163
- DEPENDENCIES
164
- ammeter (>= 1.1.3)
165
- appraisal
166
- arel!
167
- bundler (>= 1.5)
168
- database_cleaner
169
- fx!
170
- pg
171
- pry
172
- rails!
173
- rake
174
- redcarpet
175
- rspec (>= 3.3)
176
- yard
177
-
178
- BUNDLED WITH
179
- 1.14.2