shopify-sinatra-app 0.0.2 → 0.0.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: 553b8af66b43f827feabdaafecbb73e36fd24ebb
4
- data.tar.gz: 47b7c7fcf76e78fccfb081f74980ad5a989d591a
3
+ metadata.gz: d5258ae2ad69e41e73b1ac65c4486b50c18ed613
4
+ data.tar.gz: f1353a6f9750ccecffc2fb8b5e648ca9d8a8fa7d
5
5
  SHA512:
6
- metadata.gz: 6e1871bf85da48aa12e719f526603557796cd1881f6afbb9c421ed27159319fd3b389b281ed27777a0c98dfca4ddb403f5c4730021320a0b425014e8741e1530
7
- data.tar.gz: 2dd73b4cc83692cc4edd42f0405bfc46caa0ac052066a1ac02a3e9c360d92bf0aeeb2e0f47ecf9618437ebcade35debff86911e8b055c45de057ceeb0235f7be
6
+ metadata.gz: 0b04db231a6a155764b025ce9abccf65b9940bc1f770794b11f3dfe5bb28d0bd6ea65746e3419187c2b762fd79bf8a42f454d494342b5fd6c54e58c6f3c18358
7
+ data.tar.gz: 702b19de25f03abedb4224ef3ee9fc043dee11a86e4c2b3790fcc2d755092a205c715cc0d1da4a0dd604c819ddf6d48b0aa8a06036095d8135b7831626ec36a0
data/README.md CHANGED
@@ -35,6 +35,8 @@ This will create a new skeleton shopify-sinatra-app. The generator will create s
35
35
 
36
36
  `config/database.yml` --> The database config for active record. Initially this is setup to use sqlite3 for development and testing which you may want to change to mimic your production database.
37
37
 
38
+ `.env` --> a hidden file not tracked by source control for storing credentials etc. to be set as environment variables
39
+
38
40
  `config.ru` --> Rackup file - describes how to run a rack based app
39
41
 
40
42
  `Gemfile` --> manages the dependencies of the app
@@ -62,7 +64,7 @@ Note - The shopify-sinatra-app creates an embedded app! You need change the embe
62
64
 
63
65
  Also note that when developing locally you'll need to enable unsafe javascripts in your browser for the embedded sdk to function. Read more [here](http://docs.shopify.com/embedded-app-sdk/getting-started)
64
66
 
65
- After creating your new application you need to create a `.env` file and add the following lines:
67
+ After creating your new application you need to edit the `.env` file and add the following lines:
66
68
 
67
69
  ```
68
70
  SHOPIFY_API_KEY=<your api key>
@@ -24,13 +24,15 @@ else
24
24
  FileUtils.cp_r(generator_dir + "/public", app_dir + "/public")
25
25
  FileUtils.cp_r(generator_dir + "/views", app_dir + "/views")
26
26
 
27
- FileUtils.cp(generator_dir + "/.env", app_dir + "/.env")
27
+ FileUtils.cp(generator_dir + "/.gitignore", app_dir + "/.gitignore")
28
28
  FileUtils.cp(generator_dir + "/config.ru", app_dir + "/config.ru")
29
29
  FileUtils.cp(generator_dir + "/Procfile", app_dir + "/Procfile")
30
30
  FileUtils.cp(generator_dir + "/Rakefile", app_dir + "/Rakefile")
31
31
  FileUtils.cp(generator_dir + "/Gemfile", app_dir + "/Gemfile")
32
32
  FileUtils.cp(generator_dir + "/README.md", app_dir + "/README.md")
33
33
 
34
+ FileUtils.touch ".env"
35
+
34
36
  Dir.chdir(app_dir)
35
37
 
36
38
  pipe = IO.popen("bundle install")
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'shopify-sinatra-app'
3
- s.version = '0.0.2'
3
+ s.version = '0.0.3'
4
4
 
5
5
  s.summary = "A classy shopify app"
6
6
  s.description = "A Sinatra extension for building Shopify Apps. Akin to the shopify_app gem but for Sinatra"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shopify-sinatra-app
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Hughes