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 +4 -4
- data/example/Gemfile +1 -1
- data/example/Gemfile.lock +2 -2
- data/example/{application.rb → lib/application.rb} +0 -0
- data/example/{models → lib/models}/game.rb +0 -0
- data/example/{models → lib/models}/player.rb +0 -0
- data/lib/joyce/tasks/build.rb +6 -0
- data/lib/joyce/version.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2fa1b198571ca80749e7e0e1ca01ed9df2e2c233
|
4
|
+
data.tar.gz: 8d267c34c5eb8b3419963bfa2202b901d7b6ab88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a7b5193272e1b1152fedd96a4298367bc329f300e05eaa14a18ae7c1d923526cb240b03a61473a0df83a369d00e384d13162b44a2f446a0c579f76e68719ea6
|
7
|
+
data.tar.gz: e96a5f0d8c8d603e90505b6811af0df21f6e42bad2bd1a3a2285dd72f293a072b6946c666ec838bbf3fd0926d64aa96272cdd53d6d34cb4b3a8181b44c681962
|
data/example/Gemfile
CHANGED
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.
|
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.
|
72
|
+
joyce (= 0.1.5)
|
73
73
|
pry
|
74
74
|
rake
|
75
75
|
|
File without changes
|
File without changes
|
File without changes
|
data/lib/joyce/tasks/build.rb
CHANGED
@@ -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
data/spec/spec_helper.rb
CHANGED
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.
|
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
|