joyce 0.1.5 → 0.1.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4f674e642d790e256e97ba2fae4c7bbee2f2d72f
4
- data.tar.gz: 58d3f39e91b3f878a3cc870757276ebb9e88d63b
3
+ metadata.gz: 2fa1b198571ca80749e7e0e1ca01ed9df2e2c233
4
+ data.tar.gz: 8d267c34c5eb8b3419963bfa2202b901d7b6ab88
5
5
  SHA512:
6
- metadata.gz: ffd6d61babdd1c7f807f919016a1af58fd2720276d012cca08e6204e89a2f36086879cb213a5034d9ea76092f12131f1e653c2ad4970a118843bab70afc9169e
7
- data.tar.gz: a8fc5bd435c42be4e0655a878ea20de7be086ec3eb28d75849ada58557ac8abcd5d19f9ac40ec884d0372459f3c97d0537b87eb7ebfd7175bc212bb92440e6ed
6
+ metadata.gz: 8a7b5193272e1b1152fedd96a4298367bc329f300e05eaa14a18ae7c1d923526cb240b03a61473a0df83a369d00e384d13162b44a2f446a0c579f76e68719ea6
7
+ data.tar.gz: e96a5f0d8c8d603e90505b6811af0df21f6e42bad2bd1a3a2285dd72f293a072b6946c666ec838bbf3fd0926d64aa96272cdd53d6d34cb4b3a8181b44c681962
data/example/Gemfile CHANGED
@@ -1,7 +1,7 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  # example app gemfile
4
- gem 'joyce', '0.1.4'
4
+ gem 'joyce', '0.1.5'
5
5
  gem 'bundler'
6
6
  gem 'pry'
7
7
 
data/example/Gemfile.lock CHANGED
@@ -25,7 +25,7 @@ GEM
25
25
  erubis (2.7.0)
26
26
  gosu (0.10.6)
27
27
  i18n (0.7.0)
28
- joyce (0.1.3)
28
+ joyce (0.1.5)
29
29
  actionpack (~> 4.2)
30
30
  gosu (~> 0.10)
31
31
  metacosm (~> 0.3)
@@ -69,7 +69,7 @@ PLATFORMS
69
69
 
70
70
  DEPENDENCIES
71
71
  bundler
72
- joyce (= 0.1.3)
72
+ joyce (= 0.1.5)
73
73
  pry
74
74
  rake
75
75
 
File without changes
File without changes
File without changes
@@ -10,6 +10,9 @@ module Joyce
10
10
  cp_r "../dist/Ruby.app", target_app_bundle_root
11
11
  puts "--- Ruby.app copied!"
12
12
 
13
+ puts "--- copying your source code..."
14
+ cp_r "lib", "#{target_app_bundle_root}/Contents/Resources/lib"
15
+
13
16
  puts "--- Analyzing your gems..."
14
17
  p Bundler.definition.specs_for([:default])
15
18
 
@@ -20,7 +23,9 @@ module Joyce
20
23
  # info "Copying source gems from system"
21
24
  binary_gems_to_ignore = %w[ gosu minitest ]
22
25
  gem_list = vendored_gem_names(ignoring: binary_gems_to_ignore)
26
+
23
27
  copy_gems(gem_list, destination: File.join(gem_destination))
28
+
24
29
  write_main_rb(root: target_app_bundle_root) #(app_class: "#{app_name}::Application")
25
30
  end
26
31
 
@@ -44,6 +49,7 @@ module Joyce
44
49
 
45
50
  puts "--- gems shifted"
46
51
 
52
+ require 'forwardable'
47
53
  require 'joyce'
48
54
  require 'application'
49
55
 
data/lib/joyce/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Joyce
2
2
  # joyce version
3
- VERSION = "0.1.5"
3
+ VERSION = "0.1.6"
4
4
  end
data/spec/spec_helper.rb CHANGED
@@ -7,4 +7,4 @@ require 'joyce'
7
7
 
8
8
  include Joyce
9
9
 
10
- require_relative '../example/application'
10
+ require_relative '../example/lib/application'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: joyce
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joseph Weissman
@@ -174,10 +174,10 @@ files:
174
174
  - example/Gemfile
175
175
  - example/Gemfile.lock
176
176
  - example/Rakefile
177
- - example/application.rb
177
+ - example/lib/application.rb
178
+ - example/lib/models/game.rb
179
+ - example/lib/models/player.rb
178
180
  - example/main.rb
179
- - example/models/game.rb
180
- - example/models/player.rb
181
181
  - features/.gitkeep
182
182
  - features/joyce.feature
183
183
  - features/step_definitions/.gitkeep