gnarails 0.9.0 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9c540fd4f1d9b92e8bd8c8c07d3f779067ca00601940b61189990d149c310ec8
4
- data.tar.gz: ccf7b36bdce75750f80009b8a58a31b0cdae4089de3b5ce70d7934b3897d6444
3
+ metadata.gz: 0444a1f28450a865d9c04079433e492f847d2d5e125498602c35922f044ab8e6
4
+ data.tar.gz: 3c7ebc75d22591ffdc75dd7e486eb055223d7c209e9386609976994cccfda768
5
5
  SHA512:
6
- metadata.gz: ae6d1d63556b5917f4d6b35349d49e2341ce7102b7743245f6995919a85978ecb80a60ca46e5a9b2854e8fc5328f52e1fe8cd7bec46600f9d528b0e66b543db1
7
- data.tar.gz: 0be27c9df98e3e1a698445c850d1db147027aa9fcbe2646666e2b3d9372fa6005be109dd14cf5b25adf6300d2cca84c68ab136e326a4102e7f44270bf87b9df8
6
+ metadata.gz: f0bc045f8e384bf86ba0b5f5e16a1891ca0340013767c599016aeaf0873f5c6df32409d6165bf1b569af72265959c83805a2b8d393ddecb02a98e3b5b65e20bf
7
+ data.tar.gz: 432ed15123a43bcd014258396956a585ef3fcec1e59102d2f9c6c336da933757cc80416b04e4e1fcb240571476b3486dafffb7548318f026d2a2286d1ee2bffc
data/.circleci/config.yml CHANGED
@@ -15,9 +15,7 @@ jobs:
15
15
  # Download and cache dependencies
16
16
  - restore_cache:
17
17
  keys:
18
- - gnarails-{{ checksum "Gemfile.lock" }}
19
- # fallback to using the latest cache if no exact match is found
20
- - gnarails-
18
+ - gnarails-{{ checksum "gnarails.gemspec" }}
21
19
 
22
20
  # cmake is required by Rugged, a dependency of Pronto
23
21
  - run:
@@ -33,7 +31,7 @@ jobs:
33
31
  - save_cache:
34
32
  paths:
35
33
  - vendor/bundle
36
- key: gnarails-{{ checksum "Gemfile.lock" }}
34
+ key: gnarails-{{ checksum "gnarails.gemspec" }}
37
35
 
38
36
  # Tests
39
37
  - run:
@@ -55,7 +53,7 @@ jobs:
55
53
  # Restore bundle cache
56
54
  - restore_cache:
57
55
  keys:
58
- - gnarails-build-rails-{{ checksum "Gemfile.lock" }}
56
+ - gnarails-build-rails-{{ checksum "gnarails.gemspec" }}
59
57
  # fallback to using the latest cache if no exact match is found
60
58
  - gnarails-build-rails-
61
59
 
@@ -73,7 +71,7 @@ jobs:
73
71
  - save_cache:
74
72
  paths:
75
73
  - vendor/bundle
76
- key: gnarails-build-rails-{{ checksum "Gemfile.lock" }}
74
+ key: gnarails-build-rails-{{ checksum "gnarails.gemspec" }}
77
75
 
78
76
  # Generate test app
79
77
  - run:
@@ -101,7 +99,7 @@ jobs:
101
99
  # Restore bundle cache
102
100
  - restore_cache:
103
101
  keys:
104
- - gnarails-build-rails-react-{{ checksum "Gemfile.lock" }}
102
+ - gnarails-build-rails-react-{{ checksum "gnarails.gemspec" }}
105
103
  # fallback to using the latest cache if no exact match is found
106
104
  - gnarails-build-rails-react-
107
105
 
@@ -119,7 +117,7 @@ jobs:
119
117
  - save_cache:
120
118
  paths:
121
119
  - vendor/bundle
122
- key: gnarails-build-rails-react-{{ checksum "Gemfile.lock" }}
120
+ key: gnarails-build-rails-react-{{ checksum "gnarails.gemspec" }}
123
121
 
124
122
  # Generate test app
125
123
  - run:
data/.gitignore CHANGED
@@ -1,3 +1,13 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+
1
11
  # Ignore persistence file path
2
12
  .rspec_status
3
13
 
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  ## Current release (in development)
2
2
 
3
+ ## 0.9.1 - 2018-03-27
4
+
5
+ * Lock rails version at 5.1 release (at least 5.1.5) [#106](https://github.com/TheGnarCo/gnarails/pull/106)
6
+
7
+ [Kevin Murphy](https://github.com/kevin-j-m)
8
+
3
9
  ## 0.9.0 - 2018-03-26
4
10
 
5
11
  * Support all rails generator options in CLI new command [#99](https://github.com/TheGnarCo/gnarails/pull/99)
data/README.md CHANGED
@@ -21,7 +21,9 @@ gnarails CLI command, you may clone the project (or reference the template from
21
21
  its HTTP location on github):
22
22
 
23
23
  ```sh
24
- $ rails new <APP_NAME> -m https://raw.githubusercontent.com/TheGnarCo/gnarails/master/gnarly.rb --skip-test-unit --database=postgresql
24
+ $ git clone https://github.com/TheGnarCo/gnarails.git
25
+ $ cd where/app/will/go
26
+ $ rails new <APP_NAME> -m path/to/gnarly.rb --skip-test-unit --database=postgresql
25
27
  ```
26
28
 
27
29
  A`.railsrc` is provided. If you'd like to symlink it to your home directory, it'll run `rails new` with the options to run with postgres and not including test-unit. This `.railsrc` can be personalized to include the `--template=path/to/gnarly.rb` option depending on where you locally store this repo if you'd like to use this template every time.
@@ -38,7 +40,9 @@ $ gnarails new <APP_NAME> --webpack=react
38
40
  ### Using the template
39
41
 
40
42
  ```sh
41
- $ rails new <APP_NAME> -m https://raw.githubusercontent.com/TheGnarCo/gnarails/master/gnarly.rb --skip-test-unit --database=postgresql --webpack=react
43
+ $ git clone https://github.com/TheGnarCo/gnarails.git
44
+ $ cd where/app/will/go
45
+ $ rails new <APP_NAME> -m path/to/gnarly.rb --skip-test-unit --database=postgresql --webpack=react
42
46
  ```
43
47
 
44
48
  ## Post-Install
data/gnarails.gemspec CHANGED
@@ -21,7 +21,8 @@ Gem::Specification.new do |spec|
21
21
 
22
22
  spec.required_ruby_version = ">= 2.5.0"
23
23
 
24
- spec.add_dependency "rails"
24
+ spec.add_dependency "chromedriver-helper"
25
+ spec.add_dependency "rails", "~> 5.1.5"
25
26
  spec.add_dependency "rspec-rails"
26
27
  spec.add_dependency "thor"
27
28
 
@@ -1,3 +1,3 @@
1
1
  module Gnarails
2
- VERSION = "0.9.0"
2
+ VERSION = "0.9.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gnarails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Gnar Company
@@ -11,7 +11,7 @@ cert_chain: []
11
11
  date: 2018-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: rails
14
+ name: chromedriver-helper
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rails
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 5.1.5
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 5.1.5
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: rspec-rails
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -156,7 +170,6 @@ files:
156
170
  - CODE_OF_CONDUCT.md
157
171
  - CONTRIBUTING.md
158
172
  - Gemfile
159
- - Gemfile.lock
160
173
  - LICENSE
161
174
  - README.md
162
175
  - Rakefile
data/Gemfile.lock DELETED
@@ -1,213 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- gnarails (0.9.0)
5
- rails
6
- rspec-rails
7
- thor
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- actioncable (5.1.5)
13
- actionpack (= 5.1.5)
14
- nio4r (~> 2.0)
15
- websocket-driver (~> 0.6.1)
16
- actionmailer (5.1.5)
17
- actionpack (= 5.1.5)
18
- actionview (= 5.1.5)
19
- activejob (= 5.1.5)
20
- mail (~> 2.5, >= 2.5.4)
21
- rails-dom-testing (~> 2.0)
22
- actionpack (5.1.5)
23
- actionview (= 5.1.5)
24
- activesupport (= 5.1.5)
25
- rack (~> 2.0)
26
- rack-test (>= 0.6.3)
27
- rails-dom-testing (~> 2.0)
28
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
29
- actionview (5.1.5)
30
- activesupport (= 5.1.5)
31
- builder (~> 3.1)
32
- erubi (~> 1.4)
33
- rails-dom-testing (~> 2.0)
34
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
35
- activejob (5.1.5)
36
- activesupport (= 5.1.5)
37
- globalid (>= 0.3.6)
38
- activemodel (5.1.5)
39
- activesupport (= 5.1.5)
40
- activerecord (5.1.5)
41
- activemodel (= 5.1.5)
42
- activesupport (= 5.1.5)
43
- arel (~> 8.0)
44
- activesupport (5.1.5)
45
- concurrent-ruby (~> 1.0, >= 1.0.2)
46
- i18n (~> 0.7)
47
- minitest (~> 5.1)
48
- tzinfo (~> 1.1)
49
- addressable (2.5.2)
50
- public_suffix (>= 2.0.2, < 4.0)
51
- arel (8.0.0)
52
- ast (2.4.0)
53
- builder (3.2.3)
54
- concurrent-ruby (1.0.5)
55
- crass (1.0.3)
56
- diff-lcs (1.3)
57
- erubi (1.7.1)
58
- faraday (0.14.0)
59
- multipart-post (>= 1.2, < 3)
60
- ffi (1.9.23)
61
- gitlab (4.3.0)
62
- httparty
63
- terminal-table
64
- globalid (0.4.1)
65
- activesupport (>= 4.2.0)
66
- gnar-style (0.4.0)
67
- rubocop (~> 0.53)
68
- thor
69
- httparty (0.16.1)
70
- multi_xml (>= 0.5.2)
71
- i18n (0.9.5)
72
- concurrent-ruby (~> 1.0)
73
- listen (3.1.5)
74
- rb-fsevent (~> 0.9, >= 0.9.4)
75
- rb-inotify (~> 0.9, >= 0.9.7)
76
- ruby_dep (~> 1.2)
77
- loofah (2.2.2)
78
- crass (~> 1.0.2)
79
- nokogiri (>= 1.5.9)
80
- mail (2.7.0)
81
- mini_mime (>= 0.1.1)
82
- method_source (0.9.0)
83
- mini_mime (1.0.0)
84
- mini_portile2 (2.3.0)
85
- minitest (5.11.3)
86
- multi_xml (0.6.0)
87
- multipart-post (2.0.0)
88
- nio4r (2.3.0)
89
- nokogiri (1.8.2)
90
- mini_portile2 (~> 2.3.0)
91
- octokit (4.8.0)
92
- sawyer (~> 0.8.0, >= 0.5.3)
93
- parallel (1.12.1)
94
- parser (2.5.0.4)
95
- ast (~> 2.4.0)
96
- powerpack (0.1.1)
97
- pronto (0.9.5)
98
- gitlab (~> 4.0, >= 4.0.0)
99
- httparty (>= 0.13.7)
100
- octokit (~> 4.7, >= 4.7.0)
101
- rainbow (~> 2.1)
102
- rugged (~> 0.24, >= 0.23.0)
103
- thor (~> 0.19.0)
104
- pronto-rubocop (0.9.0)
105
- pronto (~> 0.9.0)
106
- rubocop (~> 0.38, >= 0.35.0)
107
- public_suffix (3.0.2)
108
- rack (2.0.4)
109
- rack-proxy (0.6.4)
110
- rack
111
- rack-test (0.8.3)
112
- rack (>= 1.0, < 3)
113
- rails (5.1.5)
114
- actioncable (= 5.1.5)
115
- actionmailer (= 5.1.5)
116
- actionpack (= 5.1.5)
117
- actionview (= 5.1.5)
118
- activejob (= 5.1.5)
119
- activemodel (= 5.1.5)
120
- activerecord (= 5.1.5)
121
- activesupport (= 5.1.5)
122
- bundler (>= 1.3.0)
123
- railties (= 5.1.5)
124
- sprockets-rails (>= 2.0.0)
125
- rails-dom-testing (2.0.3)
126
- activesupport (>= 4.2.0)
127
- nokogiri (>= 1.6)
128
- rails-html-sanitizer (1.0.4)
129
- loofah (~> 2.2, >= 2.2.2)
130
- railties (5.1.5)
131
- actionpack (= 5.1.5)
132
- activesupport (= 5.1.5)
133
- method_source
134
- rake (>= 0.8.7)
135
- thor (>= 0.18.1, < 2.0)
136
- rainbow (2.2.2)
137
- rake
138
- rake (10.5.0)
139
- rb-fsevent (0.10.3)
140
- rb-inotify (0.9.10)
141
- ffi (>= 0.5.0, < 2)
142
- rspec (3.7.0)
143
- rspec-core (~> 3.7.0)
144
- rspec-expectations (~> 3.7.0)
145
- rspec-mocks (~> 3.7.0)
146
- rspec-core (3.7.1)
147
- rspec-support (~> 3.7.0)
148
- rspec-expectations (3.7.0)
149
- diff-lcs (>= 1.2.0, < 2.0)
150
- rspec-support (~> 3.7.0)
151
- rspec-mocks (3.7.0)
152
- diff-lcs (>= 1.2.0, < 2.0)
153
- rspec-support (~> 3.7.0)
154
- rspec-rails (3.7.2)
155
- actionpack (>= 3.0)
156
- activesupport (>= 3.0)
157
- railties (>= 3.0)
158
- rspec-core (~> 3.7.0)
159
- rspec-expectations (~> 3.7.0)
160
- rspec-mocks (~> 3.7.0)
161
- rspec-support (~> 3.7.0)
162
- rspec-support (3.7.1)
163
- rubocop (0.53.0)
164
- parallel (~> 1.10)
165
- parser (>= 2.5)
166
- powerpack (~> 0.1)
167
- rainbow (>= 2.2.2, < 4.0)
168
- ruby-progressbar (~> 1.7)
169
- unicode-display_width (~> 1.0, >= 1.0.1)
170
- ruby-progressbar (1.9.0)
171
- ruby_dep (1.5.0)
172
- rugged (0.26.0)
173
- sawyer (0.8.1)
174
- addressable (>= 2.3.5, < 2.6)
175
- faraday (~> 0.8, < 1.0)
176
- sprockets (3.7.1)
177
- concurrent-ruby (~> 1.0)
178
- rack (> 1, < 3)
179
- sprockets-rails (3.2.1)
180
- actionpack (>= 4.0)
181
- activesupport (>= 4.0)
182
- sprockets (>= 3.0.0)
183
- terminal-table (1.8.0)
184
- unicode-display_width (~> 1.1, >= 1.1.1)
185
- thor (0.19.4)
186
- thread_safe (0.3.6)
187
- tzinfo (1.2.5)
188
- thread_safe (~> 0.1)
189
- unicode-display_width (1.3.0)
190
- webpacker (3.0.0)
191
- activesupport (>= 4.2)
192
- rack-proxy (>= 0.6.1)
193
- railties (>= 4.2)
194
- websocket-driver (0.6.5)
195
- websocket-extensions (>= 0.1.0)
196
- websocket-extensions (0.1.3)
197
-
198
- PLATFORMS
199
- ruby
200
-
201
- DEPENDENCIES
202
- bundler (~> 1.16)
203
- gnar-style
204
- gnarails!
205
- listen
206
- pronto
207
- pronto-rubocop
208
- rake (~> 10.0)
209
- rspec (~> 3.0)
210
- webpacker (= 3.0)
211
-
212
- BUNDLED WITH
213
- 1.16.1