yupi 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 693cbdc5870c201805a9c791b86aeecb983fcd98
4
- data.tar.gz: fbc392697202cd76e9d5a77f06af70fe06568487
3
+ metadata.gz: 95282c8f735a145767862e38cd3caa018707d1c6
4
+ data.tar.gz: 48022066b83d4f83a454daf1bb4e0fc2320ccedc
5
5
  SHA512:
6
- metadata.gz: ef91f0ea401f50af757822b9c5e01447a7534bbfdaa970d00a17a0baa657715fe7293bb9487b370d824cd149ebe480e4b3ccf51c3bb6bc43cdf61cfecb445cfc
7
- data.tar.gz: 7b23e0b06379fe4279d729b504de7401e3d4957c63f506708b13d9c44cd8d49051c7e6041983defc901a16066e519d728f4b9dca6a8512c2431c316f8d6663c1
6
+ metadata.gz: 3bdda224f96ede2a58a89548899db01c05f3560d9a17743c96491ef05b1cbb0515c627a217c1dabdc49fd4ea0f17331ef83c0e8d95317ebae0f1985ffde92e21
7
+ data.tar.gz: 55f94e53af81ad122cdc3e8162183967d5eca32725bfc55b7e41378bacb546b18f876261f45290a4ed9355b81e22a48bc80046ea41003580e714bd9d90b46a66
data/.gitignore CHANGED
@@ -2,3 +2,4 @@
2
2
  *.swp
3
3
  /.bundle
4
4
  /tmp
5
+ /Gemfile.lock
@@ -33,6 +33,7 @@ module Yupi
33
33
  invoke :setup_test_environment
34
34
  invoke :setup_production_environment
35
35
  invoke :setup_assets
36
+ invoke :configure_mail_interceptor
36
37
  invoke :copy_miscellaneous_files
37
38
  invoke :customize_error_pages
38
39
  invoke :remove_routes_comment_lines
@@ -1,5 +1,5 @@
1
1
  module Yupi
2
2
  RAILS_VERSION = "4.2.1"
3
3
  RUBY_VERSION = IO.read("#{File.dirname(__FILE__)}/../../.ruby-version").strip
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
@@ -31,7 +31,6 @@ group :development, :test do
31
31
  gem "awesome_print"
32
32
  gem "bundler-audit", require: false
33
33
  gem "byebug"
34
- gem "dotenv-rails"
35
34
  gem "factory_girl_rails"
36
35
  gem "pry-rails"
37
36
  gem "rspec-rails", "~> 3.1.0"
@@ -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
- % ./bin/setup
8
+ % bin/setup
9
9
 
10
- It assumes you have a machine equipped with Ruby, Postgres, etc. If not, set up
11
- your machine with [this script].
10
+ It assumes you have a machine equipped with Ruby, Postgres, etc.
12
11
 
13
- [this script]: https://github.com/thoughtbot/laptop
12
+ After setting up, you can run the application using foreman or via regular:
14
13
 
15
- After setting up, you can run the application using [foreman]:
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
@@ -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,4 +1,3 @@
1
- # http://ddollar.github.com/foreman/
2
1
  ASSET_HOST: "localhost:3000"
3
2
  HOST: "localhost:3000"
4
3
  SECRET_KEY_BASE: "development_secret"
@@ -1,3 +1,4 @@
1
+ # https://github.com/croaky/recipient_interceptor
1
2
  Mail.register_interceptor(
2
- RecipientInterceptor.new(ENV["ALLOWED_EMAIL_RECIPIENTS"])
3
- ) if ENV.key?("ALLOWED_EMAIL_RECIPIENTS")
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.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
@@ -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!