fx 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,7 +23,10 @@ gemfile:
23
23
  - gemfiles/rails41.gemfile
24
24
  - gemfiles/rails42.gemfile
25
25
  - gemfiles/rails50.gemfile
26
+ - gemfiles/rails_edge.gemfile
26
27
  matrix:
28
+ allow_failures:
29
+ - gemfile: gemfiles/rails_edge.gemfile
27
30
  exclude:
28
31
  - rvm: 2.1.10
29
32
  gemfile: gemfiles/rails50.gemfile
data/Appraisals CHANGED
@@ -18,4 +18,9 @@ if RUBY_VERSION > "2.2.0"
18
18
  gem "activerecord", "~> 5.0"
19
19
  gem "railties", "~> 5.0"
20
20
  end
21
+
22
+ appraise "rails-edge" do
23
+ gem "rails", github: "rails/rails"
24
+ gem "arel", :github => "rails/arel"
25
+ end
21
26
  end
data/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # F(x)
2
2
 
3
+ [![Build Status](https://travis-ci.com/teoljungberg/fx.svg?token=AgJn4nPeY6ue2Pvy23JQ&branch=master)](https://travis-ci.com/teoljungberg/fx)
4
+ [![Documentation Quality](http://inch-ci.org/github/teoljungberg/fx.svg?branch=master)](http://inch-ci.org/github/teoljungberg/fx)
5
+
3
6
  F(x) adds methods to `ActiveRecord::Migration` to create and manage database
4
7
  functions and triggers in Rails.
5
8
 
data/bin/setup CHANGED
@@ -9,4 +9,5 @@ if [ -z "$CI" ]; then
9
9
  bundle exec appraisal install
10
10
  fi
11
11
 
12
+ bundle exec rake dummy:db:drop
12
13
  bundle exec rake dummy:db:create
@@ -1,5 +1,5 @@
1
1
  PATH
2
- remote: ../
2
+ remote: ..
3
3
  specs:
4
4
  fx (0.3.0)
5
5
  activerecord (>= 4.0.0)
@@ -41,7 +41,7 @@ GEM
41
41
  builder (3.1.4)
42
42
  coderay (1.1.1)
43
43
  database_cleaner (1.5.3)
44
- diff-lcs (1.2.5)
44
+ diff-lcs (1.3)
45
45
  erubis (2.7.0)
46
46
  i18n (0.7.0)
47
47
  method_source (0.8.2)
@@ -60,8 +60,8 @@ GEM
60
60
  activesupport (= 4.0.13)
61
61
  rake (>= 0.8.7)
62
62
  thor (>= 0.18.1, < 2.0)
63
- rake (11.3.0)
64
- redcarpet (3.3.4)
63
+ rake (12.0.0)
64
+ redcarpet (3.4.0)
65
65
  rspec (3.5.0)
66
66
  rspec-core (~> 3.5.0)
67
67
  rspec-expectations (~> 3.5.0)
@@ -84,10 +84,10 @@ GEM
84
84
  rspec-support (~> 3.5.0)
85
85
  rspec-support (3.5.0)
86
86
  slop (3.6.0)
87
- thor (0.19.1)
87
+ thor (0.19.4)
88
88
  thread_safe (0.3.5)
89
89
  tzinfo (0.3.52)
90
- yard (0.9.5)
90
+ yard (0.9.8)
91
91
 
92
92
  PLATFORMS
93
93
  ruby
@@ -108,4 +108,4 @@ DEPENDENCIES
108
108
  yard
109
109
 
110
110
  BUNDLED WITH
111
- 1.13.6
111
+ 1.14.2
@@ -1,5 +1,5 @@
1
1
  PATH
2
- remote: ../
2
+ remote: ..
3
3
  specs:
4
4
  fx (0.3.0)
5
5
  activerecord (>= 4.0.0)
@@ -39,15 +39,15 @@ GEM
39
39
  rake
40
40
  thor (>= 0.14.0)
41
41
  arel (5.0.1.20140414130214)
42
- builder (3.2.2)
42
+ builder (3.2.3)
43
43
  coderay (1.1.1)
44
44
  database_cleaner (1.5.3)
45
- diff-lcs (1.2.5)
45
+ diff-lcs (1.3)
46
46
  erubis (2.7.0)
47
47
  i18n (0.7.0)
48
- json (1.8.3)
48
+ json (1.8.6)
49
49
  method_source (0.8.2)
50
- minitest (5.9.1)
50
+ minitest (5.10.1)
51
51
  pg (0.19.0)
52
52
  pry (0.10.4)
53
53
  coderay (~> 1.1.0)
@@ -61,8 +61,8 @@ GEM
61
61
  activesupport (= 4.1.16)
62
62
  rake (>= 0.8.7)
63
63
  thor (>= 0.18.1, < 2.0)
64
- rake (11.3.0)
65
- redcarpet (3.3.4)
64
+ rake (12.0.0)
65
+ redcarpet (3.4.0)
66
66
  rspec (3.5.0)
67
67
  rspec-core (~> 3.5.0)
68
68
  rspec-expectations (~> 3.5.0)
@@ -85,11 +85,11 @@ GEM
85
85
  rspec-support (~> 3.5.0)
86
86
  rspec-support (3.5.0)
87
87
  slop (3.6.0)
88
- thor (0.19.1)
88
+ thor (0.19.4)
89
89
  thread_safe (0.3.5)
90
90
  tzinfo (1.2.2)
91
91
  thread_safe (~> 0.1)
92
- yard (0.9.5)
92
+ yard (0.9.8)
93
93
 
94
94
  PLATFORMS
95
95
  ruby
@@ -110,4 +110,4 @@ DEPENDENCIES
110
110
  yard
111
111
 
112
112
  BUNDLED WITH
113
- 1.13.6
113
+ 1.14.2
@@ -1,5 +1,5 @@
1
1
  PATH
2
- remote: ../
2
+ remote: ..
3
3
  specs:
4
4
  fx (0.3.0)
5
5
  activerecord (>= 4.0.0)
@@ -42,20 +42,20 @@ GEM
42
42
  bundler
43
43
  rake
44
44
  thor (>= 0.14.0)
45
- arel (6.0.3)
46
- builder (3.2.2)
45
+ arel (6.0.4)
46
+ builder (3.2.3)
47
47
  coderay (1.1.1)
48
48
  database_cleaner (1.5.3)
49
- diff-lcs (1.2.5)
49
+ diff-lcs (1.3)
50
50
  erubis (2.7.0)
51
51
  i18n (0.7.0)
52
- json (1.8.3)
52
+ json (1.8.6)
53
53
  loofah (2.0.3)
54
54
  nokogiri (>= 1.5.9)
55
55
  method_source (0.8.2)
56
56
  mini_portile2 (2.1.0)
57
- minitest (5.9.1)
58
- nokogiri (1.6.8.1)
57
+ minitest (5.10.1)
58
+ nokogiri (1.7.0.1)
59
59
  mini_portile2 (~> 2.1.0)
60
60
  pg (0.19.0)
61
61
  pry (0.10.4)
@@ -67,9 +67,9 @@ GEM
67
67
  rack (>= 1.0)
68
68
  rails-deprecated_sanitizer (1.0.3)
69
69
  activesupport (>= 4.2.0.alpha)
70
- rails-dom-testing (1.0.7)
70
+ rails-dom-testing (1.0.8)
71
71
  activesupport (>= 4.2.0.beta, < 5.0)
72
- nokogiri (~> 1.6.0)
72
+ nokogiri (~> 1.6)
73
73
  rails-deprecated_sanitizer (>= 1.0.1)
74
74
  rails-html-sanitizer (1.0.3)
75
75
  loofah (~> 2.0)
@@ -78,8 +78,8 @@ GEM
78
78
  activesupport (= 4.2.7.1)
79
79
  rake (>= 0.8.7)
80
80
  thor (>= 0.18.1, < 2.0)
81
- rake (11.3.0)
82
- redcarpet (3.3.4)
81
+ rake (12.0.0)
82
+ redcarpet (3.4.0)
83
83
  rspec (3.5.0)
84
84
  rspec-core (~> 3.5.0)
85
85
  rspec-expectations (~> 3.5.0)
@@ -102,11 +102,11 @@ GEM
102
102
  rspec-support (~> 3.5.0)
103
103
  rspec-support (3.5.0)
104
104
  slop (3.6.0)
105
- thor (0.19.1)
105
+ thor (0.19.4)
106
106
  thread_safe (0.3.5)
107
107
  tzinfo (1.2.2)
108
108
  thread_safe (~> 0.1)
109
- yard (0.9.5)
109
+ yard (0.9.8)
110
110
 
111
111
  PLATFORMS
112
112
  ruby
@@ -127,4 +127,4 @@ DEPENDENCIES
127
127
  yard
128
128
 
129
129
  BUNDLED WITH
130
- 1.13.6
130
+ 1.14.2
@@ -1,5 +1,5 @@
1
1
  PATH
2
- remote: ../
2
+ remote: ..
3
3
  specs:
4
4
  fx (0.3.0)
5
5
  activerecord (>= 4.0.0)
@@ -8,26 +8,26 @@ PATH
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actionpack (5.0.0.1)
12
- actionview (= 5.0.0.1)
13
- activesupport (= 5.0.0.1)
11
+ actionpack (5.0.1)
12
+ actionview (= 5.0.1)
13
+ activesupport (= 5.0.1)
14
14
  rack (~> 2.0)
15
15
  rack-test (~> 0.6.3)
16
16
  rails-dom-testing (~> 2.0)
17
17
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
18
- actionview (5.0.0.1)
19
- activesupport (= 5.0.0.1)
18
+ actionview (5.0.1)
19
+ activesupport (= 5.0.1)
20
20
  builder (~> 3.1)
21
21
  erubis (~> 2.7.0)
22
22
  rails-dom-testing (~> 2.0)
23
23
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
24
- activemodel (5.0.0.1)
25
- activesupport (= 5.0.0.1)
26
- activerecord (5.0.0.1)
27
- activemodel (= 5.0.0.1)
28
- activesupport (= 5.0.0.1)
24
+ activemodel (5.0.1)
25
+ activesupport (= 5.0.1)
26
+ activerecord (5.0.1)
27
+ activemodel (= 5.0.1)
28
+ activesupport (= 5.0.1)
29
29
  arel (~> 7.0)
30
- activesupport (5.0.0.1)
30
+ activesupport (5.0.1)
31
31
  concurrent-ruby (~> 1.0, >= 1.0.2)
32
32
  i18n (~> 0.7)
33
33
  minitest (~> 5.1)
@@ -41,19 +41,19 @@ GEM
41
41
  rake
42
42
  thor (>= 0.14.0)
43
43
  arel (7.1.4)
44
- builder (3.2.2)
44
+ builder (3.2.3)
45
45
  coderay (1.1.1)
46
- concurrent-ruby (1.0.2)
46
+ concurrent-ruby (1.0.4)
47
47
  database_cleaner (1.5.3)
48
- diff-lcs (1.2.5)
48
+ diff-lcs (1.3)
49
49
  erubis (2.7.0)
50
50
  i18n (0.7.0)
51
51
  loofah (2.0.3)
52
52
  nokogiri (>= 1.5.9)
53
53
  method_source (0.8.2)
54
54
  mini_portile2 (2.1.0)
55
- minitest (5.9.1)
56
- nokogiri (1.6.8.1)
55
+ minitest (5.10.1)
56
+ nokogiri (1.7.0.1)
57
57
  mini_portile2 (~> 2.1.0)
58
58
  pg (0.19.0)
59
59
  pry (0.10.4)
@@ -63,19 +63,19 @@ GEM
63
63
  rack (2.0.1)
64
64
  rack-test (0.6.3)
65
65
  rack (>= 1.0)
66
- rails-dom-testing (2.0.1)
66
+ rails-dom-testing (2.0.2)
67
67
  activesupport (>= 4.2.0, < 6.0)
68
- nokogiri (~> 1.6.0)
68
+ nokogiri (~> 1.6)
69
69
  rails-html-sanitizer (1.0.3)
70
70
  loofah (~> 2.0)
71
- railties (5.0.0.1)
72
- actionpack (= 5.0.0.1)
73
- activesupport (= 5.0.0.1)
71
+ railties (5.0.1)
72
+ actionpack (= 5.0.1)
73
+ activesupport (= 5.0.1)
74
74
  method_source
75
75
  rake (>= 0.8.7)
76
76
  thor (>= 0.18.1, < 2.0)
77
- rake (11.3.0)
78
- redcarpet (3.3.4)
77
+ rake (12.0.0)
78
+ redcarpet (3.4.0)
79
79
  rspec (3.5.0)
80
80
  rspec-core (~> 3.5.0)
81
81
  rspec-expectations (~> 3.5.0)
@@ -98,11 +98,11 @@ GEM
98
98
  rspec-support (~> 3.5.0)
99
99
  rspec-support (3.5.0)
100
100
  slop (3.6.0)
101
- thor (0.19.1)
101
+ thor (0.19.4)
102
102
  thread_safe (0.3.5)
103
103
  tzinfo (1.2.2)
104
104
  thread_safe (~> 0.1)
105
- yard (0.9.5)
105
+ yard (0.9.8)
106
106
 
107
107
  PLATFORMS
108
108
  ruby
@@ -123,4 +123,4 @@ DEPENDENCIES
123
123
  yard
124
124
 
125
125
  BUNDLED WITH
126
- 1.13.6
126
+ 1.14.2
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", :github => "rails/rails"
6
+ gem "arel", :github => "rails/arel"
7
+
8
+ gemspec :path => "../"
@@ -0,0 +1,179 @@
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