whally 0.1.2 → 0.1.3

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: 66c88f0281aff4c330d70ffa123cacc7e5a039d1
4
- data.tar.gz: 22b39b71aaa3fc531bd1f4a494271a2a02e36ab3
3
+ metadata.gz: 5e55fdc7d0d44bbe901a30ec63d570a33a03cd28
4
+ data.tar.gz: efc68dd7d8bd02dcfdcad7bdd43ce497cadf8cab
5
5
  SHA512:
6
- metadata.gz: c411f9c7b643fa5c64624f51ef487e4fba934de9a5533a7632211d8cc5abb431adadab67a84e8f96ab72cea96e957962f977dad2b3c20ad2b6fe56b59c04cb46
7
- data.tar.gz: 3c237a70dd5bfa59dac616ba4328d67383dbd92b74eefe22f0f6413bca4820888b3f6b482c4c5cb9b7e1c232994b16070411bc7ce47952741746f51bfdf6559d
6
+ metadata.gz: bd008a662a7415dbeaf782b0ab7d4e62a2b0592866826478cf9c541f5e197740f236505238a75514eec0850ab1d74a950eca8dbc8df282b423ae9c5eed338f97
7
+ data.tar.gz: 5674938e02a97a9bd47530d49e90d2b517665098b1db4baa3b48abe2a19dca5b56ac1ca87390db08fb993ff6683e0e5611189c1d65f089d7f6de966312036a28
data/README.md CHANGED
@@ -1,3 +1,7 @@
1
+ [![Code Climate](https://codeclimate.com/repos/571a34d6c0558e4075003682/badges/99957175ce0f89b74157/gpa.svg)](https://codeclimate.com/repos/571a34d6c0558e4075003682/feed)
2
+ [![Test Coverage](https://codeclimate.com/repos/571a34d6c0558e4075003682/badges/99957175ce0f89b74157/coverage.svg)](https://codeclimate.com/repos/571a34d6c0558e4075003682/coverage)
3
+ [![Issue Count](https://codeclimate.com/repos/571a34d6c0558e4075003682/badges/99957175ce0f89b74157/issue_count.svg)](https://codeclimate.com/repos/571a34d6c0558e4075003682/feed)
4
+
1
5
  # [Whally](https://github.com/IcaliaLabs/whales)
2
6
 
3
7
  [![Code Climate](https://codeclimate.com/repos/571a34d6c0558e4075003682/badges/99957175ce0f89b74157/gpa.svg)](https://codeclimate.com/repos/571a34d6c0558e4075003682/feed)
@@ -47,7 +47,7 @@ module Whally
47
47
 
48
48
  def add_entrypoint
49
49
  write_on file: "#{@pathfile}/dev-entrypoint.sh", mode: 'w' do
50
- "set -e\nbundle check || bundle\nbin/check-or-setup-db\nif [ -z \"$1\" ]; then set -- rails server -p 3000 -b 0.0.0.0 \"$@\"; fi\nif [[ \"$1\" = \"rails\" && (\"$2\" = \"s\" || \"$2\" = \"server\") ]]; then set -- \"$@\" -P /tmp/server.pid; fi\nrake db:migrate\nexec \"$@\""
50
+ "#! /bin/bash\nset -e\nbundle check || bundle\nbin/check-or-setup-db\nif [ -z \"$1\" ]; then set -- rails server -p 3000 -b 0.0.0.0 \"$@\"; fi\nif [[ \"$1\" = \"rails\" && (\"$2\" = \"s\" || \"$2\" = \"server\") ]]; then set -- \"$@\" -P /tmp/server.pid; fi\nrake db:migrate\nexec \"$@\""
51
51
  end
52
52
  end
53
53
 
@@ -28,7 +28,7 @@ module Whally
28
28
 
29
29
  index += 1
30
30
  end
31
- modified_service[modified_service.length-1] = ''
31
+ modified_service[modified_service.length-2..modified_service.length-1] = ''
32
32
  modified_service
33
33
  end.join
34
34
  end
@@ -1,3 +1,3 @@
1
1
  module Whally
2
- VERSION = '0.1.2'.freeze
2
+ VERSION = '0.1.3'.freeze
3
3
  end
data/whally-0.1.2.gem ADDED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: whally
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Abraham Kuri
@@ -156,6 +156,7 @@ files:
156
156
  - lib/whally/volume_decomposer.rb
157
157
  - spec/spec_helper.rb
158
158
  - spec/whally_spec.rb
159
+ - whally-0.1.2.gem
159
160
  - whally.gemspec
160
161
  homepage: https://github.com/IcaliaLabs/whales
161
162
  licenses: