yupi 0.1.1 → 0.1.2
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 +4 -4
- data/.gitignore +1 -0
- data/lib/yupi/generators/app_generator.rb +1 -0
- data/lib/yupi/version.rb +1 -1
- data/templates/Gemfile.erb +0 -1
- data/templates/README.md.erb +4 -22
- data/templates/bin/setup.erb +2 -2
- data/templates/config/application.yml.sample +0 -1
- data/templates/config/initializers/mail_interceptor.rb +3 -2
- metadata +1 -2
- data/Gemfile.lock +0 -130
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 95282c8f735a145767862e38cd3caa018707d1c6
|
|
4
|
+
data.tar.gz: 48022066b83d4f83a454daf1bb4e0fc2320ccedc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3bdda224f96ede2a58a89548899db01c05f3560d9a17743c96491ef05b1cbb0515c627a217c1dabdc49fd4ea0f17331ef83c0e8d95317ebae0f1985ffde92e21
|
|
7
|
+
data.tar.gz: 55f94e53af81ad122cdc3e8162183967d5eca32725bfc55b7e41378bacb546b18f876261f45290a4ed9355b81e22a48bc80046ea41003580e714bd9d90b46a66
|
data/.gitignore
CHANGED
data/lib/yupi/version.rb
CHANGED
data/templates/Gemfile.erb
CHANGED
data/templates/README.md.erb
CHANGED
|
@@ -5,28 +5,10 @@
|
|
|
5
5
|
After you have cloned this repo, run this setup script to set up your machine
|
|
6
6
|
with the necessary dependencies to run and test this app:
|
|
7
7
|
|
|
8
|
-
%
|
|
8
|
+
% bin/setup
|
|
9
9
|
|
|
10
|
-
It assumes you have a machine equipped with Ruby, Postgres, etc.
|
|
11
|
-
your machine with [this script].
|
|
10
|
+
It assumes you have a machine equipped with Ruby, Postgres, etc.
|
|
12
11
|
|
|
13
|
-
|
|
12
|
+
After setting up, you can run the application using foreman or via regular:
|
|
14
13
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
% foreman start
|
|
18
|
-
|
|
19
|
-
If you don't have `foreman`, see [Foreman's install instructions][foreman]. It
|
|
20
|
-
is [purposefully excluded from the project's `Gemfile`][exclude].
|
|
21
|
-
|
|
22
|
-
[foreman]: https://github.com/ddollar/foreman
|
|
23
|
-
[exclude]: https://github.com/ddollar/foreman/pull/437#issuecomment-41110407
|
|
24
|
-
|
|
25
|
-
## Guidelines
|
|
26
|
-
|
|
27
|
-
Use the following guides for getting things done, programming well, and
|
|
28
|
-
programming in style.
|
|
29
|
-
|
|
30
|
-
* [Protocol](http://github.com/thoughtbot/guides/blob/master/protocol)
|
|
31
|
-
* [Best Practices](http://github.com/thoughtbot/guides/blob/master/best-practices)
|
|
32
|
-
* [Style](http://github.com/thoughtbot/guides/blob/master/style)
|
|
14
|
+
% bin/rails s
|
data/templates/bin/setup.erb
CHANGED
|
@@ -19,11 +19,11 @@ fi
|
|
|
19
19
|
bundle exec rake db:setup dev:prime
|
|
20
20
|
|
|
21
21
|
# Get mailcatcher up and running
|
|
22
|
-
gem list -i mailcatcher || gem install mailcatcher
|
|
22
|
+
gem list -i mailcatcher || gem install mailcatcher --no-ri --no-rdoc
|
|
23
23
|
nc -z localhost 1025 || mailcatcher
|
|
24
24
|
|
|
25
25
|
# Install foreman
|
|
26
|
-
gem list -i foreman || gem install foreman
|
|
26
|
+
gem list -i foreman || gem install foreman --no-ri --no-rdoc
|
|
27
27
|
|
|
28
28
|
# Only if this isn't CI
|
|
29
29
|
# if [ -z "$CI" ]; then
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
# https://github.com/croaky/recipient_interceptor
|
|
1
2
|
Mail.register_interceptor(
|
|
2
|
-
RecipientInterceptor.new(ENV["
|
|
3
|
-
) if ENV.key?("
|
|
3
|
+
RecipientInterceptor.new(ENV["EMAIL_RECIPIENTS"])
|
|
4
|
+
) if ENV.key?("EMAIL_RECIPIENTS")
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: yupi
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- anadea
|
|
@@ -89,7 +89,6 @@ files:
|
|
|
89
89
|
- ".travis.yml"
|
|
90
90
|
- CONTRIBUTING.md
|
|
91
91
|
- Gemfile
|
|
92
|
-
- Gemfile.lock
|
|
93
92
|
- LICENSE
|
|
94
93
|
- NEWS.md
|
|
95
94
|
- README.md
|
data/Gemfile.lock
DELETED
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: .
|
|
3
|
-
specs:
|
|
4
|
-
yupi (0.1.1)
|
|
5
|
-
bundler (~> 1.3)
|
|
6
|
-
rails (= 4.2.1)
|
|
7
|
-
|
|
8
|
-
GEM
|
|
9
|
-
remote: https://rubygems.org/
|
|
10
|
-
specs:
|
|
11
|
-
actionmailer (4.2.1)
|
|
12
|
-
actionpack (= 4.2.1)
|
|
13
|
-
actionview (= 4.2.1)
|
|
14
|
-
activejob (= 4.2.1)
|
|
15
|
-
mail (~> 2.5, >= 2.5.4)
|
|
16
|
-
rails-dom-testing (~> 1.0, >= 1.0.5)
|
|
17
|
-
actionpack (4.2.1)
|
|
18
|
-
actionview (= 4.2.1)
|
|
19
|
-
activesupport (= 4.2.1)
|
|
20
|
-
rack (~> 1.6)
|
|
21
|
-
rack-test (~> 0.6.2)
|
|
22
|
-
rails-dom-testing (~> 1.0, >= 1.0.5)
|
|
23
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.1)
|
|
24
|
-
actionview (4.2.1)
|
|
25
|
-
activesupport (= 4.2.1)
|
|
26
|
-
builder (~> 3.1)
|
|
27
|
-
erubis (~> 2.7.0)
|
|
28
|
-
rails-dom-testing (~> 1.0, >= 1.0.5)
|
|
29
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.1)
|
|
30
|
-
activejob (4.2.1)
|
|
31
|
-
activesupport (= 4.2.1)
|
|
32
|
-
globalid (>= 0.3.0)
|
|
33
|
-
activemodel (4.2.1)
|
|
34
|
-
activesupport (= 4.2.1)
|
|
35
|
-
builder (~> 3.1)
|
|
36
|
-
activerecord (4.2.1)
|
|
37
|
-
activemodel (= 4.2.1)
|
|
38
|
-
activesupport (= 4.2.1)
|
|
39
|
-
arel (~> 6.0)
|
|
40
|
-
activesupport (4.2.1)
|
|
41
|
-
i18n (~> 0.7)
|
|
42
|
-
json (~> 1.7, >= 1.7.7)
|
|
43
|
-
minitest (~> 5.1)
|
|
44
|
-
thread_safe (~> 0.3, >= 0.3.4)
|
|
45
|
-
tzinfo (~> 1.1)
|
|
46
|
-
arel (6.0.0)
|
|
47
|
-
builder (3.2.2)
|
|
48
|
-
capybara (2.3.0)
|
|
49
|
-
mime-types (>= 1.16)
|
|
50
|
-
nokogiri (>= 1.3.3)
|
|
51
|
-
rack (>= 1.0.0)
|
|
52
|
-
rack-test (>= 0.5.4)
|
|
53
|
-
xpath (~> 2.0)
|
|
54
|
-
diff-lcs (1.2.5)
|
|
55
|
-
erubis (2.7.0)
|
|
56
|
-
globalid (0.3.3)
|
|
57
|
-
activesupport (>= 4.1.0)
|
|
58
|
-
hike (1.2.3)
|
|
59
|
-
i18n (0.7.0)
|
|
60
|
-
json (1.8.2)
|
|
61
|
-
loofah (2.0.1)
|
|
62
|
-
nokogiri (>= 1.5.9)
|
|
63
|
-
mail (2.6.3)
|
|
64
|
-
mime-types (>= 1.16, < 3)
|
|
65
|
-
mime-types (2.4.3)
|
|
66
|
-
mini_portile (0.6.0)
|
|
67
|
-
minitest (5.5.1)
|
|
68
|
-
multi_json (1.11.0)
|
|
69
|
-
nokogiri (1.6.2.1)
|
|
70
|
-
mini_portile (= 0.6.0)
|
|
71
|
-
rack (1.6.0)
|
|
72
|
-
rack-test (0.6.2)
|
|
73
|
-
rack (>= 1.0)
|
|
74
|
-
rails (4.2.1)
|
|
75
|
-
actionmailer (= 4.2.1)
|
|
76
|
-
actionpack (= 4.2.1)
|
|
77
|
-
actionview (= 4.2.1)
|
|
78
|
-
activejob (= 4.2.1)
|
|
79
|
-
activemodel (= 4.2.1)
|
|
80
|
-
activerecord (= 4.2.1)
|
|
81
|
-
activesupport (= 4.2.1)
|
|
82
|
-
bundler (>= 1.3.0, < 2.0)
|
|
83
|
-
railties (= 4.2.1)
|
|
84
|
-
sprockets-rails
|
|
85
|
-
rails-deprecated_sanitizer (1.0.3)
|
|
86
|
-
activesupport (>= 4.2.0.alpha)
|
|
87
|
-
rails-dom-testing (1.0.6)
|
|
88
|
-
activesupport (>= 4.2.0.beta, < 5.0)
|
|
89
|
-
nokogiri (~> 1.6.0)
|
|
90
|
-
rails-deprecated_sanitizer (>= 1.0.1)
|
|
91
|
-
rails-html-sanitizer (1.0.2)
|
|
92
|
-
loofah (~> 2.0)
|
|
93
|
-
railties (4.2.1)
|
|
94
|
-
actionpack (= 4.2.1)
|
|
95
|
-
activesupport (= 4.2.1)
|
|
96
|
-
rake (>= 0.8.7)
|
|
97
|
-
thor (>= 0.18.1, < 2.0)
|
|
98
|
-
rake (10.4.2)
|
|
99
|
-
rspec (2.99.0)
|
|
100
|
-
rspec-core (~> 2.99.0)
|
|
101
|
-
rspec-expectations (~> 2.99.0)
|
|
102
|
-
rspec-mocks (~> 2.99.0)
|
|
103
|
-
rspec-core (2.99.0)
|
|
104
|
-
rspec-expectations (2.99.0)
|
|
105
|
-
diff-lcs (>= 1.1.3, < 2.0)
|
|
106
|
-
rspec-mocks (2.99.0)
|
|
107
|
-
sprockets (2.12.3)
|
|
108
|
-
hike (~> 1.2)
|
|
109
|
-
multi_json (~> 1.0)
|
|
110
|
-
rack (~> 1.0)
|
|
111
|
-
tilt (~> 1.1, != 1.3.0)
|
|
112
|
-
sprockets-rails (2.2.4)
|
|
113
|
-
actionpack (>= 3.0)
|
|
114
|
-
activesupport (>= 3.0)
|
|
115
|
-
sprockets (>= 2.8, < 4.0)
|
|
116
|
-
thor (0.19.1)
|
|
117
|
-
thread_safe (0.3.5)
|
|
118
|
-
tilt (1.4.1)
|
|
119
|
-
tzinfo (1.2.2)
|
|
120
|
-
thread_safe (~> 0.1)
|
|
121
|
-
xpath (2.0.0)
|
|
122
|
-
nokogiri (~> 1.3)
|
|
123
|
-
|
|
124
|
-
PLATFORMS
|
|
125
|
-
ruby
|
|
126
|
-
|
|
127
|
-
DEPENDENCIES
|
|
128
|
-
capybara (~> 2.2, >= 2.2.0)
|
|
129
|
-
rspec (~> 2.0)
|
|
130
|
-
yupi!
|