core-source 0.1 → 0.2
Sign up to get free protection for your applications and to get access to all the features.
- metadata +16 -63
- data/CHANGELOG.rdoc +0 -4
- data/Makefile +0 -157
- data/Manifest.txt +0 -11
- data/Rakefile +0 -64
- data/VERSION.rdoc +0 -1
- data/core-source.gemspec +0 -42
metadata
CHANGED
@@ -4,8 +4,8 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 0
|
7
|
-
-
|
8
|
-
version: "0.
|
7
|
+
- 2
|
8
|
+
version: "0.2"
|
9
9
|
platform: ruby
|
10
10
|
authors:
|
11
11
|
- Asher
|
@@ -13,78 +13,31 @@ autorequire:
|
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
15
|
|
16
|
-
date: 2010-
|
16
|
+
date: 2010-10-28 00:00:00 -04:00
|
17
17
|
default_executable:
|
18
|
-
dependencies:
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
23
|
-
none: false
|
24
|
-
requirements:
|
25
|
-
- - ">="
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
segments:
|
28
|
-
- 2
|
29
|
-
- 0
|
30
|
-
- 4
|
31
|
-
version: 2.0.4
|
32
|
-
type: :development
|
33
|
-
version_requirements: *id001
|
34
|
-
- !ruby/object:Gem::Dependency
|
35
|
-
name: hoe
|
36
|
-
prerelease: false
|
37
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
38
|
-
none: false
|
39
|
-
requirements:
|
40
|
-
- - ">="
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
segments:
|
43
|
-
- 2
|
44
|
-
- 6
|
45
|
-
- 1
|
46
|
-
version: 2.6.1
|
47
|
-
type: :development
|
48
|
-
version_requirements: *id002
|
49
|
-
description: |-
|
50
|
-
Fork of ruby_core_source modified to support CFLAGS and permit use of
|
51
|
-
whichever build system (mkmf, rpmkmf, or other modules) while utilizing
|
52
|
-
core source.
|
53
|
-
|
54
|
-
This fork was created because the existing ruby_core_source takes over
|
55
|
-
the build definition, preventing definition of CFLAGS and other settings
|
56
|
-
that mkmf requires be defined by an enclosing block.
|
57
|
-
email:
|
58
|
-
- asher@ridiculouspower.com
|
18
|
+
dependencies: []
|
19
|
+
|
20
|
+
description: This fork was created because the existing ruby_core_source takes over the build definition, preventing definition of CFLAGS and other settings that mkmf requires be defined by an enclosing block.
|
21
|
+
email: asher@ridiculouspower.com
|
59
22
|
executables: []
|
60
23
|
|
61
24
|
extensions: []
|
62
25
|
|
63
|
-
extra_rdoc_files:
|
64
|
-
|
65
|
-
- CHANGELOG.rdoc
|
66
|
-
- README.rdoc
|
67
|
-
- VERSION.rdoc
|
26
|
+
extra_rdoc_files: []
|
27
|
+
|
68
28
|
files:
|
69
|
-
- CHANGELOG.rdoc
|
70
|
-
- Makefile
|
71
|
-
- Manifest.txt
|
72
|
-
- README.rdoc
|
73
|
-
- Rakefile
|
74
|
-
- VERSION.rdoc
|
75
|
-
- core-source.gemspec
|
76
|
-
- lib/VERSION.rdoc
|
77
29
|
- lib/contrib/progressbar.rb
|
78
30
|
- lib/contrib/uri_ext.rb
|
79
31
|
- lib/core-source.rb
|
32
|
+
- lib/VERSION.rdoc
|
33
|
+
- README.rdoc
|
80
34
|
has_rdoc: true
|
81
|
-
homepage: http://rubygems.org/gems/
|
35
|
+
homepage: http://rubygems.org/gems/core-source
|
82
36
|
licenses: []
|
83
37
|
|
84
38
|
post_install_message:
|
85
|
-
rdoc_options:
|
86
|
-
|
87
|
-
- README.rdoc
|
39
|
+
rdoc_options: []
|
40
|
+
|
88
41
|
require_paths:
|
89
42
|
- lib
|
90
43
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -105,10 +58,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
105
58
|
version: "0"
|
106
59
|
requirements: []
|
107
60
|
|
108
|
-
rubyforge_project:
|
61
|
+
rubyforge_project: core-source
|
109
62
|
rubygems_version: 1.3.7
|
110
63
|
signing_key:
|
111
64
|
specification_version: 3
|
112
|
-
summary: Fork of ruby_core_source modified to support CFLAGS and permit use of whichever build system (mkmf, rpmkmf, or other modules) while utilizing core source
|
65
|
+
summary: Fork of ruby_core_source modified to support CFLAGS and permit use of whichever build system (mkmf, rpmkmf, or other modules) while utilizing core source.
|
113
66
|
test_files: []
|
114
67
|
|
data/CHANGELOG.rdoc
DELETED
data/Makefile
DELETED
@@ -1,157 +0,0 @@
|
|
1
|
-
|
2
|
-
SHELL = /bin/sh
|
3
|
-
|
4
|
-
#### Start of system configuration section. ####
|
5
|
-
|
6
|
-
srcdir = "/Users/ahaig/.rvm/gems/ruby-1.9.2-p0/bin"
|
7
|
-
topdir = /Users/ahaig/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1
|
8
|
-
hdrdir = /Users/ahaig/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1
|
9
|
-
arch_hdrdir = /Users/ahaig/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/$(arch)
|
10
|
-
VPATH = $(srcdir):$(arch_hdrdir)/ruby:$(hdrdir)/ruby
|
11
|
-
prefix = $(DESTDIR)/Users/ahaig/.rvm/rubies/ruby-1.9.2-p0
|
12
|
-
rubylibprefix = $(libdir)/$(RUBY_BASE_NAME)
|
13
|
-
exec_prefix = $(prefix)
|
14
|
-
vendorhdrdir = $(rubyhdrdir)/vendor_ruby
|
15
|
-
sitehdrdir = $(rubyhdrdir)/site_ruby
|
16
|
-
rubyhdrdir = $(includedir)/$(RUBY_BASE_NAME)-$(ruby_version)
|
17
|
-
vendordir = $(rubylibprefix)/vendor_ruby
|
18
|
-
sitedir = $(rubylibprefix)/site_ruby
|
19
|
-
ridir = $(datarootdir)/$(RI_BASE_NAME)
|
20
|
-
mandir = $(datarootdir)/man
|
21
|
-
localedir = $(datarootdir)/locale
|
22
|
-
libdir = $(exec_prefix)/lib
|
23
|
-
psdir = $(docdir)
|
24
|
-
pdfdir = $(docdir)
|
25
|
-
dvidir = $(docdir)
|
26
|
-
htmldir = $(docdir)
|
27
|
-
infodir = $(datarootdir)/info
|
28
|
-
docdir = $(datarootdir)/doc/$(PACKAGE)
|
29
|
-
oldincludedir = $(DESTDIR)/usr/include
|
30
|
-
includedir = $(prefix)/include
|
31
|
-
localstatedir = $(prefix)/var
|
32
|
-
sharedstatedir = $(prefix)/com
|
33
|
-
sysconfdir = $(prefix)/etc
|
34
|
-
datadir = $(datarootdir)
|
35
|
-
datarootdir = $(prefix)/share
|
36
|
-
libexecdir = $(exec_prefix)/libexec
|
37
|
-
sbindir = $(exec_prefix)/sbin
|
38
|
-
bindir = $(exec_prefix)/bin
|
39
|
-
rubylibdir = $(rubylibprefix)/$(ruby_version)
|
40
|
-
archdir = $(rubylibdir)/$(arch)
|
41
|
-
sitelibdir = $(sitedir)/$(ruby_version)
|
42
|
-
sitearchdir = $(sitelibdir)/$(sitearch)
|
43
|
-
vendorlibdir = $(vendordir)/$(ruby_version)
|
44
|
-
vendorarchdir = $(vendorlibdir)/$(sitearch)
|
45
|
-
|
46
|
-
CC = /usr/bin/clang
|
47
|
-
CXX = g++
|
48
|
-
LIBRUBY = $(LIBRUBY_SO)
|
49
|
-
LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
|
50
|
-
LIBRUBYARG_SHARED = -l$(RUBY_SO_NAME)
|
51
|
-
LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static
|
52
|
-
OUTFLAG = -o
|
53
|
-
COUTFLAG = -o
|
54
|
-
|
55
|
-
RUBY_EXTCONF_H =
|
56
|
-
cflags = $(optflags) $(debugflags) $(warnflags)
|
57
|
-
optflags = -O0
|
58
|
-
debugflags = -ggdb
|
59
|
-
warnflags = -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
|
60
|
-
CFLAGS = -fno-common -march=x86-64 -ggdb3 -fno-eliminate-unused-debug-symbols -fno-common -fsigned-char -pipe -fno-common
|
61
|
-
INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir)/ruby/backward -I$(hdrdir) -I$(srcdir)
|
62
|
-
DEFS =
|
63
|
-
CPPFLAGS = -DHAVE_VM_CORE_H -DHAVE_ISEQ_H -DHAVE_EVAL_INTERN_H -DHAVE_VERSION_H -I/Users/ahaig/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/ruby-1.9.2-p0
|
64
|
-
CXXFLAGS = $(CFLAGS) -march=x86-64 -ggdb3 -fno-eliminate-unused-debug-symbols -fno-common -fsigned-char -pipe
|
65
|
-
ldflags = -L. -L/usr/local/lib
|
66
|
-
dldflags = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -Wl,-flat_namespace
|
67
|
-
ARCH_FLAG =
|
68
|
-
DLDFLAGS = $(ldflags) $(dldflags)
|
69
|
-
LDSHARED = $(CC) -dynamic -bundle
|
70
|
-
LDSHAREDXX = $(CXX) -dynamic -bundle
|
71
|
-
AR = ar
|
72
|
-
EXEEXT =
|
73
|
-
|
74
|
-
RUBY_BASE_NAME = ruby
|
75
|
-
RUBY_INSTALL_NAME = ruby
|
76
|
-
RUBY_SO_NAME = ruby.1.9.1
|
77
|
-
arch = x86_64-darwin10.4.0
|
78
|
-
sitearch = $(arch)
|
79
|
-
ruby_version = 1.9.1
|
80
|
-
ruby = /Users/ahaig/.rvm/rubies/ruby-1.9.2-p0/bin/ruby
|
81
|
-
RUBY = $(ruby)
|
82
|
-
RM = rm -f
|
83
|
-
RM_RF = $(RUBY) -run -e rm -- -rf
|
84
|
-
RMDIRS = $(RUBY) -run -e rmdir -- -p
|
85
|
-
MAKEDIRS = mkdir -p
|
86
|
-
INSTALL = /usr/bin/install -c
|
87
|
-
INSTALL_PROG = $(INSTALL) -m 0755
|
88
|
-
INSTALL_DATA = $(INSTALL) -m 644
|
89
|
-
COPY = cp
|
90
|
-
|
91
|
-
#### End of system configuration section. ####
|
92
|
-
|
93
|
-
preload =
|
94
|
-
|
95
|
-
libpath = . $(libdir)
|
96
|
-
LIBPATH = -L. -L$(libdir)
|
97
|
-
DEFFILE =
|
98
|
-
|
99
|
-
CLEANFILES = mkmf.log
|
100
|
-
DISTCLEANFILES =
|
101
|
-
DISTCLEANDIRS =
|
102
|
-
|
103
|
-
extout =
|
104
|
-
extout_prefix =
|
105
|
-
target_prefix =
|
106
|
-
LOCAL_LIBS =
|
107
|
-
LIBS = $(LIBRUBYARG_SHARED) -lpthread -ldl -lobjc
|
108
|
-
SRCS =
|
109
|
-
OBJS =
|
110
|
-
TARGET =
|
111
|
-
DLLIB =
|
112
|
-
EXTSTATIC =
|
113
|
-
STATIC_LIB =
|
114
|
-
|
115
|
-
BINDIR = $(bindir)
|
116
|
-
RUBYCOMMONDIR = $(sitedir)$(target_prefix)
|
117
|
-
RUBYLIBDIR = $(sitelibdir)$(target_prefix)
|
118
|
-
RUBYARCHDIR = $(sitearchdir)$(target_prefix)
|
119
|
-
HDRDIR = $(rubyhdrdir)/ruby$(target_prefix)
|
120
|
-
ARCHHDRDIR = $(rubyhdrdir)/$(arch)/ruby$(target_prefix)
|
121
|
-
|
122
|
-
TARGET_SO = $(DLLIB)
|
123
|
-
CLEANLIBS = $(TARGET).bundle
|
124
|
-
CLEANOBJS = *.o *.bak
|
125
|
-
|
126
|
-
all: Makefile
|
127
|
-
static: $(STATIC_LIB)
|
128
|
-
.PHONY: all install static install-so install-rb
|
129
|
-
.PHONY: clean clean-so clean-rb
|
130
|
-
|
131
|
-
clean-rb-default::
|
132
|
-
clean-rb::
|
133
|
-
clean-so::
|
134
|
-
clean: clean-so clean-rb-default clean-rb
|
135
|
-
@-$(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES)
|
136
|
-
|
137
|
-
distclean-rb-default::
|
138
|
-
distclean-rb::
|
139
|
-
distclean-so::
|
140
|
-
distclean: clean distclean-so distclean-rb-default distclean-rb
|
141
|
-
@-$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
|
142
|
-
@-$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
|
143
|
-
@-$(RMDIRS) $(DISTCLEANDIRS)
|
144
|
-
|
145
|
-
realclean: distclean
|
146
|
-
install: install-so install-rb
|
147
|
-
|
148
|
-
install-so: Makefile
|
149
|
-
install-rb: pre-install-rb install-rb-default
|
150
|
-
install-rb-default: pre-install-rb-default
|
151
|
-
pre-install-rb: Makefile
|
152
|
-
pre-install-rb-default: Makefile
|
153
|
-
|
154
|
-
site-install: site-install-so site-install-rb
|
155
|
-
site-install-so: install-so
|
156
|
-
site-install-rb: install-rb
|
157
|
-
|
data/Manifest.txt
DELETED
data/Rakefile
DELETED
@@ -1,64 +0,0 @@
|
|
1
|
-
###############################################################################
|
2
|
-
# #
|
3
|
-
# Gem Specification #
|
4
|
-
# #
|
5
|
-
###############################################################################
|
6
|
-
|
7
|
-
gem_name = 'core-source'
|
8
|
-
has_c_source = false
|
9
|
-
|
10
|
-
developer_name = 'Asher'
|
11
|
-
email = 'asher@ridiculouspower.com'
|
12
|
-
rubyforge_name = 'asher'
|
13
|
-
|
14
|
-
$VERBOSE = false
|
15
|
-
|
16
|
-
################################################################################
|
17
|
-
|
18
|
-
require 'hoe'
|
19
|
-
require 'rake/extensiontask'
|
20
|
-
|
21
|
-
require 'pp'
|
22
|
-
|
23
|
-
Hoe.spec gem_name do
|
24
|
-
developer( developer_name, email )
|
25
|
-
self.rubyforge_name = rubyforge_name
|
26
|
-
self.version = File.open( 'VERSION.rdoc' ).readline
|
27
|
-
self.readme_file = 'README.rdoc'
|
28
|
-
self.history_file = 'CHANGELOG.rdoc'
|
29
|
-
self.extra_rdoc_files = FileList['*.rdoc']
|
30
|
-
if has_c_source
|
31
|
-
self.spec_extras = { :extensions => 'ext/' + gem_name + '/extconf.rb' }
|
32
|
-
self.extra_dev_deps << ['rake-compiler', '>= 0']
|
33
|
-
end
|
34
|
-
Rake::ExtensionTask.new( gem_name, spec ) do |ext|
|
35
|
-
ext.lib_dir = File.join( 'lib', gem_name )
|
36
|
-
end
|
37
|
-
end
|
38
|
-
|
39
|
-
if has_c_source
|
40
|
-
# clear default task and set default to :compile
|
41
|
-
Rake::Task[ :default ].clear
|
42
|
-
task :default => :compile
|
43
|
-
end
|
44
|
-
|
45
|
-
task :make do
|
46
|
-
Rake::Task[:compile].invoke
|
47
|
-
end
|
48
|
-
|
49
|
-
task :cultivate do
|
50
|
-
system "touch Manifest.txt; rake check_manifest | grep -v \"(in \" | patch"
|
51
|
-
system "rake debug_gem | grep -v \"(in \" > " + gem_name + ".gemspec"
|
52
|
-
end
|
53
|
-
|
54
|
-
# allow spec task to be turned off from command line
|
55
|
-
if has_c_source and
|
56
|
-
not ( ENV[ "no_spec" ] or
|
57
|
-
ENV[ "no_spec" ] == "true" or
|
58
|
-
ENV[ "no_spec" ] == "yes" or
|
59
|
-
ENV[ "no_spec" ] == "on" or
|
60
|
-
ENV[ "spec" ] == "false" or
|
61
|
-
ENV[ "spec" ] == "no" or
|
62
|
-
ENV[ "spec" ] == "off" )
|
63
|
-
Rake::Task[ :spec ].prerequisites << :compile
|
64
|
-
end
|
data/VERSION.rdoc
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.1
|
data/core-source.gemspec
DELETED
@@ -1,42 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
|
3
|
-
Gem::Specification.new do |s|
|
4
|
-
s.name = %q{core-source}
|
5
|
-
s.version = "0.1"
|
6
|
-
|
7
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
|
-
s.authors = ["Asher"]
|
9
|
-
s.date = %q{2010-08-24}
|
10
|
-
s.description = %q{Fork of ruby_core_source modified to support CFLAGS and permit use of
|
11
|
-
whichever build system (mkmf, rpmkmf, or other modules) while utilizing
|
12
|
-
core source.
|
13
|
-
|
14
|
-
This fork was created because the existing ruby_core_source takes over
|
15
|
-
the build definition, preventing definition of CFLAGS and other settings
|
16
|
-
that mkmf requires be defined by an enclosing block.}
|
17
|
-
s.email = ["asher@ridiculouspower.com"]
|
18
|
-
s.extra_rdoc_files = ["Manifest.txt", "CHANGELOG.rdoc", "README.rdoc", "VERSION.rdoc"]
|
19
|
-
s.files = ["CHANGELOG.rdoc", "Makefile", "Manifest.txt", "README.rdoc", "Rakefile", "VERSION.rdoc", "core-source.gemspec", "lib/VERSION.rdoc", "lib/contrib/progressbar.rb", "lib/contrib/uri_ext.rb", "lib/core-source.rb"]
|
20
|
-
s.homepage = %q{http://rubygems.org/gems/weakhash}
|
21
|
-
s.rdoc_options = ["--main", "README.rdoc"]
|
22
|
-
s.require_paths = ["lib"]
|
23
|
-
s.rubyforge_project = %q{asher}
|
24
|
-
s.rubygems_version = %q{1.3.7}
|
25
|
-
s.summary = %q{Fork of ruby_core_source modified to support CFLAGS and permit use of whichever build system (mkmf, rpmkmf, or other modules) while utilizing core source}
|
26
|
-
|
27
|
-
if s.respond_to? :specification_version then
|
28
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
29
|
-
s.specification_version = 3
|
30
|
-
|
31
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
32
|
-
s.add_development_dependency(%q<rubyforge>, [">= 2.0.4"])
|
33
|
-
s.add_development_dependency(%q<hoe>, [">= 2.6.1"])
|
34
|
-
else
|
35
|
-
s.add_dependency(%q<rubyforge>, [">= 2.0.4"])
|
36
|
-
s.add_dependency(%q<hoe>, [">= 2.6.1"])
|
37
|
-
end
|
38
|
-
else
|
39
|
-
s.add_dependency(%q<rubyforge>, [">= 2.0.4"])
|
40
|
-
s.add_dependency(%q<hoe>, [">= 2.6.1"])
|
41
|
-
end
|
42
|
-
end
|