nimbleshop_core 0.0.1 → 0.0.2.beta1

Sign up to get free protection for your applications and to get access to all the features.
@@ -60,11 +60,15 @@ module Nimbleshop
60
60
  run 'bundle install'
61
61
  end
62
62
 
63
- def copy_files!
64
- template "config/.localtunnel_callback", "#{destination_path}/.localtunnel_callback"
63
+ def handle_localtunnel_callback_file
64
+ template "config/localtunnel_callback", "#{destination_path}/.localtunnel_callback"
65
65
 
66
66
  # make the file executable
67
67
  FileUtils.chmod 0755, File.expand_path("#{destination_path}/.localtunnel_callback"), :verbose => true
68
+ end
69
+
70
+ def copy_files!
71
+ handle_localtunnel_callback_file
68
72
 
69
73
  template "config/nimbleshop.yml", "#{destination_path}/config/nimbleshop.yml"
70
74
 
@@ -0,0 +1,2 @@
1
+ #!/bin/sh
2
+ echo $1 > config/.tunnel
@@ -2,8 +2,8 @@ module Nimbleshop
2
2
  class Version
3
3
  @major = 0
4
4
  @minor = 0
5
- @tiny = 1
6
- @build = nil
5
+ @tiny = 2
6
+ @build = 'beta1'
7
7
 
8
8
  class << self
9
9
  attr_reader :major, :minor, :tiny, :build
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nimbleshop_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
5
- prerelease:
4
+ version: 0.0.2.beta1
5
+ prerelease: 6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Neeraj Singh
@@ -408,6 +408,7 @@ files:
408
408
  - lib/generators/nimbleshop/app/templates/config/initializers/carrierwave.rb
409
409
  - lib/generators/nimbleshop/app/templates/config/initializers/delayed_job.rb
410
410
  - lib/generators/nimbleshop/app/templates/config/initializers/setup_email.rb
411
+ - lib/generators/nimbleshop/app/templates/config/localtunnel_callback
411
412
  - lib/generators/nimbleshop/app/templates/config/nimbleshop.yml
412
413
  - lib/nimbleshop/core_ext/activerecord_base.rb
413
414
  - lib/nimbleshop/core_ext/filelessio.rb
@@ -1046,16 +1047,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
1046
1047
  version: '0'
1047
1048
  segments:
1048
1049
  - 0
1049
- hash: -2331307382854749295
1050
+ hash: 2390221999840388661
1050
1051
  required_rubygems_version: !ruby/object:Gem::Requirement
1051
1052
  none: false
1052
1053
  requirements:
1053
- - - ! '>='
1054
+ - - ! '>'
1054
1055
  - !ruby/object:Gem::Version
1055
- version: '0'
1056
- segments:
1057
- - 0
1058
- hash: -2331307382854749295
1056
+ version: 1.3.1
1059
1057
  requirements: []
1060
1058
  rubyforge_project:
1061
1059
  rubygems_version: 1.8.24