npm2gem 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (158) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +15 -0
  3. data/.rspec +2 -0
  4. data/.rubocop.yml +241 -0
  5. data/.ruby-version +1 -0
  6. data/.travis.yml +4 -0
  7. data/CODE_OF_CONDUCT.md +111 -0
  8. data/Gemfile +4 -0
  9. data/LICENSE.txt +21 -0
  10. data/README.md +102 -0
  11. data/Rakefile +6 -0
  12. data/bin/console +14 -0
  13. data/bin/setup +7 -0
  14. data/exe/npm2gem +8 -0
  15. data/lib/npm2gem/cli.rb +56 -0
  16. data/lib/npm2gem/config.rb +21 -0
  17. data/lib/npm2gem/exception.rb +4 -0
  18. data/lib/npm2gem/file_copier.rb +65 -0
  19. data/lib/npm2gem/gem_version_updater.rb +42 -0
  20. data/lib/npm2gem/npm_install.rb +36 -0
  21. data/lib/npm2gem/version.rb +3 -0
  22. data/lib/npm2gem/version_updaters/base_file_updater.rb +29 -0
  23. data/lib/npm2gem/version_updaters/gemspec_updater.rb +12 -0
  24. data/lib/npm2gem/version_updaters/version_file_updater.rb +18 -0
  25. data/lib/npm2gem.rb +5 -0
  26. data/npm2gem.gemspec +31 -0
  27. data/spec/cli_spec.rb +22 -0
  28. data/spec/config_spec.rb +40 -0
  29. data/spec/dummy/Gemfile +4 -0
  30. data/spec/dummy/README.md +7 -0
  31. data/spec/dummy/Rakefile +6 -0
  32. data/spec/dummy/dummy.gemspec +31 -0
  33. data/spec/dummy/lib/dummy/version.rb +3 -0
  34. data/spec/dummy/lib/dummy.rb +8 -0
  35. data/spec/dummy/node_modules/bootstrap/CHANGELOG.md +5 -0
  36. data/spec/dummy/node_modules/bootstrap/Gruntfile.js +533 -0
  37. data/spec/dummy/node_modules/bootstrap/LICENSE +21 -0
  38. data/spec/dummy/node_modules/bootstrap/README.md +139 -0
  39. data/spec/dummy/node_modules/bootstrap/dist/css/bootstrap-theme.css +587 -0
  40. data/spec/dummy/node_modules/bootstrap/dist/css/bootstrap-theme.css.map +1 -0
  41. data/spec/dummy/node_modules/bootstrap/dist/css/bootstrap-theme.min.css +6 -0
  42. data/spec/dummy/node_modules/bootstrap/dist/css/bootstrap-theme.min.css.map +1 -0
  43. data/spec/dummy/node_modules/bootstrap/dist/css/bootstrap.css +6760 -0
  44. data/spec/dummy/node_modules/bootstrap/dist/css/bootstrap.css.map +1 -0
  45. data/spec/dummy/node_modules/bootstrap/dist/css/bootstrap.min.css +6 -0
  46. data/spec/dummy/node_modules/bootstrap/dist/css/bootstrap.min.css.map +1 -0
  47. data/spec/dummy/node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.eot +0 -0
  48. data/spec/dummy/node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.svg +288 -0
  49. data/spec/dummy/node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf +0 -0
  50. data/spec/dummy/node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.woff +0 -0
  51. data/spec/dummy/node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 +0 -0
  52. data/spec/dummy/node_modules/bootstrap/dist/js/bootstrap.js +2363 -0
  53. data/spec/dummy/node_modules/bootstrap/dist/js/bootstrap.min.js +7 -0
  54. data/spec/dummy/node_modules/bootstrap/dist/js/npm.js +13 -0
  55. data/spec/dummy/node_modules/bootstrap/fonts/glyphicons-halflings-regular.eot +0 -0
  56. data/spec/dummy/node_modules/bootstrap/fonts/glyphicons-halflings-regular.svg +288 -0
  57. data/spec/dummy/node_modules/bootstrap/fonts/glyphicons-halflings-regular.ttf +0 -0
  58. data/spec/dummy/node_modules/bootstrap/fonts/glyphicons-halflings-regular.woff +0 -0
  59. data/spec/dummy/node_modules/bootstrap/fonts/glyphicons-halflings-regular.woff2 +0 -0
  60. data/spec/dummy/node_modules/bootstrap/grunt/bs-commonjs-generator.js +30 -0
  61. data/spec/dummy/node_modules/bootstrap/grunt/bs-glyphicons-data-generator.js +42 -0
  62. data/spec/dummy/node_modules/bootstrap/grunt/bs-lessdoc-parser.js +237 -0
  63. data/spec/dummy/node_modules/bootstrap/grunt/bs-raw-files-generator.js +44 -0
  64. data/spec/dummy/node_modules/bootstrap/grunt/configBridge.json +46 -0
  65. data/spec/dummy/node_modules/bootstrap/grunt/sauce_browsers.yml +82 -0
  66. data/spec/dummy/node_modules/bootstrap/js/affix.js +162 -0
  67. data/spec/dummy/node_modules/bootstrap/js/alert.js +94 -0
  68. data/spec/dummy/node_modules/bootstrap/js/button.js +120 -0
  69. data/spec/dummy/node_modules/bootstrap/js/carousel.js +237 -0
  70. data/spec/dummy/node_modules/bootstrap/js/collapse.js +211 -0
  71. data/spec/dummy/node_modules/bootstrap/js/dropdown.js +165 -0
  72. data/spec/dummy/node_modules/bootstrap/js/modal.js +337 -0
  73. data/spec/dummy/node_modules/bootstrap/js/popover.js +108 -0
  74. data/spec/dummy/node_modules/bootstrap/js/scrollspy.js +172 -0
  75. data/spec/dummy/node_modules/bootstrap/js/tab.js +155 -0
  76. data/spec/dummy/node_modules/bootstrap/js/tooltip.js +514 -0
  77. data/spec/dummy/node_modules/bootstrap/js/transition.js +59 -0
  78. data/spec/dummy/node_modules/bootstrap/less/alerts.less +73 -0
  79. data/spec/dummy/node_modules/bootstrap/less/badges.less +66 -0
  80. data/spec/dummy/node_modules/bootstrap/less/bootstrap.less +56 -0
  81. data/spec/dummy/node_modules/bootstrap/less/breadcrumbs.less +26 -0
  82. data/spec/dummy/node_modules/bootstrap/less/button-groups.less +244 -0
  83. data/spec/dummy/node_modules/bootstrap/less/buttons.less +166 -0
  84. data/spec/dummy/node_modules/bootstrap/less/carousel.less +270 -0
  85. data/spec/dummy/node_modules/bootstrap/less/close.less +34 -0
  86. data/spec/dummy/node_modules/bootstrap/less/code.less +69 -0
  87. data/spec/dummy/node_modules/bootstrap/less/component-animations.less +33 -0
  88. data/spec/dummy/node_modules/bootstrap/less/dropdowns.less +216 -0
  89. data/spec/dummy/node_modules/bootstrap/less/forms.less +613 -0
  90. data/spec/dummy/node_modules/bootstrap/less/glyphicons.less +305 -0
  91. data/spec/dummy/node_modules/bootstrap/less/grid.less +84 -0
  92. data/spec/dummy/node_modules/bootstrap/less/input-groups.less +171 -0
  93. data/spec/dummy/node_modules/bootstrap/less/jumbotron.less +54 -0
  94. data/spec/dummy/node_modules/bootstrap/less/labels.less +64 -0
  95. data/spec/dummy/node_modules/bootstrap/less/list-group.less +130 -0
  96. data/spec/dummy/node_modules/bootstrap/less/media.less +66 -0
  97. data/spec/dummy/node_modules/bootstrap/less/mixins/alerts.less +14 -0
  98. data/spec/dummy/node_modules/bootstrap/less/mixins/background-variant.less +9 -0
  99. data/spec/dummy/node_modules/bootstrap/less/mixins/border-radius.less +18 -0
  100. data/spec/dummy/node_modules/bootstrap/less/mixins/buttons.less +65 -0
  101. data/spec/dummy/node_modules/bootstrap/less/mixins/center-block.less +7 -0
  102. data/spec/dummy/node_modules/bootstrap/less/mixins/clearfix.less +22 -0
  103. data/spec/dummy/node_modules/bootstrap/less/mixins/forms.less +85 -0
  104. data/spec/dummy/node_modules/bootstrap/less/mixins/gradients.less +59 -0
  105. data/spec/dummy/node_modules/bootstrap/less/mixins/grid-framework.less +91 -0
  106. data/spec/dummy/node_modules/bootstrap/less/mixins/grid.less +122 -0
  107. data/spec/dummy/node_modules/bootstrap/less/mixins/hide-text.less +21 -0
  108. data/spec/dummy/node_modules/bootstrap/less/mixins/image.less +33 -0
  109. data/spec/dummy/node_modules/bootstrap/less/mixins/labels.less +12 -0
  110. data/spec/dummy/node_modules/bootstrap/less/mixins/list-group.less +30 -0
  111. data/spec/dummy/node_modules/bootstrap/less/mixins/nav-divider.less +10 -0
  112. data/spec/dummy/node_modules/bootstrap/less/mixins/nav-vertical-align.less +9 -0
  113. data/spec/dummy/node_modules/bootstrap/less/mixins/opacity.less +8 -0
  114. data/spec/dummy/node_modules/bootstrap/less/mixins/pagination.less +24 -0
  115. data/spec/dummy/node_modules/bootstrap/less/mixins/panels.less +24 -0
  116. data/spec/dummy/node_modules/bootstrap/less/mixins/progress-bar.less +10 -0
  117. data/spec/dummy/node_modules/bootstrap/less/mixins/reset-filter.less +8 -0
  118. data/spec/dummy/node_modules/bootstrap/less/mixins/reset-text.less +18 -0
  119. data/spec/dummy/node_modules/bootstrap/less/mixins/resize.less +6 -0
  120. data/spec/dummy/node_modules/bootstrap/less/mixins/responsive-visibility.less +15 -0
  121. data/spec/dummy/node_modules/bootstrap/less/mixins/size.less +10 -0
  122. data/spec/dummy/node_modules/bootstrap/less/mixins/tab-focus.less +9 -0
  123. data/spec/dummy/node_modules/bootstrap/less/mixins/table-row.less +28 -0
  124. data/spec/dummy/node_modules/bootstrap/less/mixins/text-emphasis.less +9 -0
  125. data/spec/dummy/node_modules/bootstrap/less/mixins/text-overflow.less +8 -0
  126. data/spec/dummy/node_modules/bootstrap/less/mixins/vendor-prefixes.less +227 -0
  127. data/spec/dummy/node_modules/bootstrap/less/mixins.less +40 -0
  128. data/spec/dummy/node_modules/bootstrap/less/modals.less +150 -0
  129. data/spec/dummy/node_modules/bootstrap/less/navbar.less +660 -0
  130. data/spec/dummy/node_modules/bootstrap/less/navs.less +242 -0
  131. data/spec/dummy/node_modules/bootstrap/less/normalize.less +424 -0
  132. data/spec/dummy/node_modules/bootstrap/less/pager.less +54 -0
  133. data/spec/dummy/node_modules/bootstrap/less/pagination.less +89 -0
  134. data/spec/dummy/node_modules/bootstrap/less/panels.less +271 -0
  135. data/spec/dummy/node_modules/bootstrap/less/popovers.less +131 -0
  136. data/spec/dummy/node_modules/bootstrap/less/print.less +101 -0
  137. data/spec/dummy/node_modules/bootstrap/less/progress-bars.less +87 -0
  138. data/spec/dummy/node_modules/bootstrap/less/responsive-embed.less +35 -0
  139. data/spec/dummy/node_modules/bootstrap/less/responsive-utilities.less +194 -0
  140. data/spec/dummy/node_modules/bootstrap/less/scaffolding.less +161 -0
  141. data/spec/dummy/node_modules/bootstrap/less/tables.less +234 -0
  142. data/spec/dummy/node_modules/bootstrap/less/theme.less +291 -0
  143. data/spec/dummy/node_modules/bootstrap/less/thumbnails.less +36 -0
  144. data/spec/dummy/node_modules/bootstrap/less/tooltip.less +101 -0
  145. data/spec/dummy/node_modules/bootstrap/less/type.less +302 -0
  146. data/spec/dummy/node_modules/bootstrap/less/utilities.less +55 -0
  147. data/spec/dummy/node_modules/bootstrap/less/variables.less +869 -0
  148. data/spec/dummy/node_modules/bootstrap/less/wells.less +29 -0
  149. data/spec/dummy/node_modules/bootstrap/package.json +138 -0
  150. data/spec/dummy/vendor/assets/javascripts/bootstrap.js +2363 -0
  151. data/spec/dummy/vendor/assets/stylesheets/bootstrap-theme.css +587 -0
  152. data/spec/dummy/vendor/assets/stylesheets/bootstrap.css +6760 -0
  153. data/spec/file_copier_spec.rb +45 -0
  154. data/spec/gem_version_updater_spec.rb +45 -0
  155. data/spec/npm2gem_spec.rb +7 -0
  156. data/spec/npm_install_spec.rb +22 -0
  157. data/spec/spec_helper.rb +26 -0
  158. metadata +403 -0
@@ -0,0 +1,45 @@
1
+ require "spec_helper"
2
+
3
+ describe NPM2Gem::FileCopier do
4
+ before(:all) do
5
+ FileUtils.mkdir_p("tmp-source/js/locale")
6
+ FileUtils.touch("tmp-source/js/main.js")
7
+ FileUtils.touch("tmp-source/js/locale/en.js")
8
+ FileUtils.touch("tmp-source/js/locale/es.js")
9
+
10
+ FileUtils.mkdir_p("tmp-dest/vendor/assets")
11
+ end
12
+
13
+ after(:all) do
14
+ FileUtils.rm_rf("tmp-source")
15
+ FileUtils.rm_rf("tmp-dest")
16
+ end
17
+
18
+ subject do
19
+ NPM2Gem::FileCopier.new("tmp-source", "tmp-dest/vendor/assets")
20
+ end
21
+
22
+ it "copies files, specifically listed" do
23
+ subject.copy(["js/locale/en.js", "js/locale/es.js"])
24
+ expect(File).to exist("tmp-dest/vendor/assets/javascripts/en.js")
25
+ expect(File).to exist("tmp-dest/vendor/assets/javascripts/es.js")
26
+ end
27
+
28
+ it "copies files, which are globbed" do
29
+ subject.copy(["js/locale/*.js"])
30
+ expect(File).to exist("tmp-dest/vendor/assets/javascripts/en.js")
31
+ expect(File).to exist("tmp-dest/vendor/assets/javascripts/es.js")
32
+ end
33
+
34
+ it "copies files to subfolder" do
35
+ subject.copy([
36
+ "main.js",
37
+ {
38
+ "locales" => ["js/locale/*.js"]
39
+ }
40
+ ])
41
+ expect(Dir).to exist("tmp-dest/vendor/assets/javascripts/locales/")
42
+ expect(File).to exist("tmp-dest/vendor/assets/javascripts/locales/en.js")
43
+ expect(File).to exist("tmp-dest/vendor/assets/javascripts/locales/es.js")
44
+ end
45
+ end
@@ -0,0 +1,45 @@
1
+ require "spec_helper"
2
+
3
+ describe NPM2Gem::GemVersionUpdater do
4
+ after(:each) do
5
+ `git co -- .`
6
+ end
7
+
8
+ it "updates .gemspec file" do
9
+ File.write(
10
+ "dummy.gemspec",
11
+ %{
12
+ Gem::Specification.new do |spec|
13
+ spec.name = "dummy"
14
+ spec.version = "0.1.0"
15
+ end
16
+ }
17
+ )
18
+ @updater = NPM2Gem::GemVersionUpdater.new
19
+ @updater.run("9.9.9")
20
+ gemspec_file_name = @updater.instance_variable_get(:@gemspec_file_name)
21
+ p "gemspec_file_name"
22
+ p gemspec_file_name
23
+ new_gemspec_file = File.read(gemspec_file_name)
24
+ expect(new_gemspec_file).to eq(
25
+ %{
26
+ Gem::Specification.new do |spec|
27
+ spec.name = "dummy"
28
+ spec.version = "9.9.9"
29
+ end
30
+ }
31
+ )
32
+ end
33
+
34
+ it "updates version.rb file" do
35
+ @updater = NPM2Gem::GemVersionUpdater.new
36
+ @updater.run("9.9.9")
37
+ new_version_file = File.read(Dir["**/version.rb"].first)
38
+ expect(new_version_file).to eq(
39
+ %{module Dummy
40
+ VERSION = "9.9.9".freeze
41
+ end
42
+ }
43
+ )
44
+ end
45
+ end
@@ -0,0 +1,7 @@
1
+ require "spec_helper"
2
+
3
+ describe NPM2Gem do
4
+ it "has a version number" do
5
+ expect(NPM2Gem::VERSION).not_to be nil
6
+ end
7
+ end
@@ -0,0 +1,22 @@
1
+ require "spec_helper"
2
+
3
+ describe NPM2Gem::NPMInstall do
4
+ subject { NPM2Gem::NPMInstall.new("bootstrap") }
5
+
6
+ before(:each) do
7
+ @version_hash = { "version" => "9.9.9" }
8
+ end
9
+
10
+ it "install bootstrap with npm" do
11
+ # TODO: fix this. sometimes it fails because its run first
12
+ expect(Dir).to exist("node_modules/bootstrap")
13
+ expect(File).to exist("node_modules/bootstrap/dist/js/bootstrap.js")
14
+ end
15
+
16
+ it "parse version from package.json" do
17
+ allow(subject).to receive(:parse_json_file).with("package.json").
18
+ and_return(@version_hash)
19
+
20
+ expect(subject.package_version).not_to be_nil
21
+ end
22
+ end
@@ -0,0 +1,26 @@
1
+ require "simplecov"
2
+ SimpleCov.start
3
+
4
+ $LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)
5
+ require "simplecov"
6
+ SimpleCov.start do
7
+ add_filter "/spec"
8
+ end
9
+
10
+ require "npm2gem"
11
+
12
+ base_directory = Dir.pwd
13
+ dummy_directory = File.join(base_directory, "spec", "dummy")
14
+
15
+ RSpec.configure do |config|
16
+ config.before(:all) do
17
+ Dir.chdir(dummy_directory)
18
+ end
19
+
20
+ config.after(:all) do
21
+ # We clean up in the codebase, but if there's errors it doesn't get that far
22
+ # FileUtils.rm_rf(File.join(dummy_directory, "node_modules"))
23
+ # Restore the dummy app, since we change the files in it
24
+ `git checkout -- #{dummy_directory}`
25
+ end
26
+ end
metadata ADDED
@@ -0,0 +1,403 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: npm2gem
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Sean Collins
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-02-02 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: highline
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.7'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.7'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.10'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.10'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.3'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.3'
69
+ - !ruby/object:Gem::Dependency
70
+ name: simplecov
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '0.10'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '0.10'
83
+ description:
84
+ email:
85
+ - sean@cllns.com
86
+ executables:
87
+ - npm2gem
88
+ extensions: []
89
+ extra_rdoc_files: []
90
+ files:
91
+ - ".gitignore"
92
+ - ".rspec"
93
+ - ".rubocop.yml"
94
+ - ".ruby-version"
95
+ - ".travis.yml"
96
+ - CODE_OF_CONDUCT.md
97
+ - Gemfile
98
+ - LICENSE.txt
99
+ - README.md
100
+ - Rakefile
101
+ - bin/console
102
+ - bin/setup
103
+ - exe/npm2gem
104
+ - lib/npm2gem.rb
105
+ - lib/npm2gem/cli.rb
106
+ - lib/npm2gem/config.rb
107
+ - lib/npm2gem/exception.rb
108
+ - lib/npm2gem/file_copier.rb
109
+ - lib/npm2gem/gem_version_updater.rb
110
+ - lib/npm2gem/npm_install.rb
111
+ - lib/npm2gem/version.rb
112
+ - lib/npm2gem/version_updaters/base_file_updater.rb
113
+ - lib/npm2gem/version_updaters/gemspec_updater.rb
114
+ - lib/npm2gem/version_updaters/version_file_updater.rb
115
+ - npm2gem.gemspec
116
+ - spec/cli_spec.rb
117
+ - spec/config_spec.rb
118
+ - spec/dummy/Gemfile
119
+ - spec/dummy/README.md
120
+ - spec/dummy/Rakefile
121
+ - spec/dummy/dummy.gemspec
122
+ - spec/dummy/lib/dummy.rb
123
+ - spec/dummy/lib/dummy/version.rb
124
+ - spec/dummy/node_modules/bootstrap/CHANGELOG.md
125
+ - spec/dummy/node_modules/bootstrap/Gruntfile.js
126
+ - spec/dummy/node_modules/bootstrap/LICENSE
127
+ - spec/dummy/node_modules/bootstrap/README.md
128
+ - spec/dummy/node_modules/bootstrap/dist/css/bootstrap-theme.css
129
+ - spec/dummy/node_modules/bootstrap/dist/css/bootstrap-theme.css.map
130
+ - spec/dummy/node_modules/bootstrap/dist/css/bootstrap-theme.min.css
131
+ - spec/dummy/node_modules/bootstrap/dist/css/bootstrap-theme.min.css.map
132
+ - spec/dummy/node_modules/bootstrap/dist/css/bootstrap.css
133
+ - spec/dummy/node_modules/bootstrap/dist/css/bootstrap.css.map
134
+ - spec/dummy/node_modules/bootstrap/dist/css/bootstrap.min.css
135
+ - spec/dummy/node_modules/bootstrap/dist/css/bootstrap.min.css.map
136
+ - spec/dummy/node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.eot
137
+ - spec/dummy/node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.svg
138
+ - spec/dummy/node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf
139
+ - spec/dummy/node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.woff
140
+ - spec/dummy/node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2
141
+ - spec/dummy/node_modules/bootstrap/dist/js/bootstrap.js
142
+ - spec/dummy/node_modules/bootstrap/dist/js/bootstrap.min.js
143
+ - spec/dummy/node_modules/bootstrap/dist/js/npm.js
144
+ - spec/dummy/node_modules/bootstrap/fonts/glyphicons-halflings-regular.eot
145
+ - spec/dummy/node_modules/bootstrap/fonts/glyphicons-halflings-regular.svg
146
+ - spec/dummy/node_modules/bootstrap/fonts/glyphicons-halflings-regular.ttf
147
+ - spec/dummy/node_modules/bootstrap/fonts/glyphicons-halflings-regular.woff
148
+ - spec/dummy/node_modules/bootstrap/fonts/glyphicons-halflings-regular.woff2
149
+ - spec/dummy/node_modules/bootstrap/grunt/bs-commonjs-generator.js
150
+ - spec/dummy/node_modules/bootstrap/grunt/bs-glyphicons-data-generator.js
151
+ - spec/dummy/node_modules/bootstrap/grunt/bs-lessdoc-parser.js
152
+ - spec/dummy/node_modules/bootstrap/grunt/bs-raw-files-generator.js
153
+ - spec/dummy/node_modules/bootstrap/grunt/configBridge.json
154
+ - spec/dummy/node_modules/bootstrap/grunt/sauce_browsers.yml
155
+ - spec/dummy/node_modules/bootstrap/js/affix.js
156
+ - spec/dummy/node_modules/bootstrap/js/alert.js
157
+ - spec/dummy/node_modules/bootstrap/js/button.js
158
+ - spec/dummy/node_modules/bootstrap/js/carousel.js
159
+ - spec/dummy/node_modules/bootstrap/js/collapse.js
160
+ - spec/dummy/node_modules/bootstrap/js/dropdown.js
161
+ - spec/dummy/node_modules/bootstrap/js/modal.js
162
+ - spec/dummy/node_modules/bootstrap/js/popover.js
163
+ - spec/dummy/node_modules/bootstrap/js/scrollspy.js
164
+ - spec/dummy/node_modules/bootstrap/js/tab.js
165
+ - spec/dummy/node_modules/bootstrap/js/tooltip.js
166
+ - spec/dummy/node_modules/bootstrap/js/transition.js
167
+ - spec/dummy/node_modules/bootstrap/less/alerts.less
168
+ - spec/dummy/node_modules/bootstrap/less/badges.less
169
+ - spec/dummy/node_modules/bootstrap/less/bootstrap.less
170
+ - spec/dummy/node_modules/bootstrap/less/breadcrumbs.less
171
+ - spec/dummy/node_modules/bootstrap/less/button-groups.less
172
+ - spec/dummy/node_modules/bootstrap/less/buttons.less
173
+ - spec/dummy/node_modules/bootstrap/less/carousel.less
174
+ - spec/dummy/node_modules/bootstrap/less/close.less
175
+ - spec/dummy/node_modules/bootstrap/less/code.less
176
+ - spec/dummy/node_modules/bootstrap/less/component-animations.less
177
+ - spec/dummy/node_modules/bootstrap/less/dropdowns.less
178
+ - spec/dummy/node_modules/bootstrap/less/forms.less
179
+ - spec/dummy/node_modules/bootstrap/less/glyphicons.less
180
+ - spec/dummy/node_modules/bootstrap/less/grid.less
181
+ - spec/dummy/node_modules/bootstrap/less/input-groups.less
182
+ - spec/dummy/node_modules/bootstrap/less/jumbotron.less
183
+ - spec/dummy/node_modules/bootstrap/less/labels.less
184
+ - spec/dummy/node_modules/bootstrap/less/list-group.less
185
+ - spec/dummy/node_modules/bootstrap/less/media.less
186
+ - spec/dummy/node_modules/bootstrap/less/mixins.less
187
+ - spec/dummy/node_modules/bootstrap/less/mixins/alerts.less
188
+ - spec/dummy/node_modules/bootstrap/less/mixins/background-variant.less
189
+ - spec/dummy/node_modules/bootstrap/less/mixins/border-radius.less
190
+ - spec/dummy/node_modules/bootstrap/less/mixins/buttons.less
191
+ - spec/dummy/node_modules/bootstrap/less/mixins/center-block.less
192
+ - spec/dummy/node_modules/bootstrap/less/mixins/clearfix.less
193
+ - spec/dummy/node_modules/bootstrap/less/mixins/forms.less
194
+ - spec/dummy/node_modules/bootstrap/less/mixins/gradients.less
195
+ - spec/dummy/node_modules/bootstrap/less/mixins/grid-framework.less
196
+ - spec/dummy/node_modules/bootstrap/less/mixins/grid.less
197
+ - spec/dummy/node_modules/bootstrap/less/mixins/hide-text.less
198
+ - spec/dummy/node_modules/bootstrap/less/mixins/image.less
199
+ - spec/dummy/node_modules/bootstrap/less/mixins/labels.less
200
+ - spec/dummy/node_modules/bootstrap/less/mixins/list-group.less
201
+ - spec/dummy/node_modules/bootstrap/less/mixins/nav-divider.less
202
+ - spec/dummy/node_modules/bootstrap/less/mixins/nav-vertical-align.less
203
+ - spec/dummy/node_modules/bootstrap/less/mixins/opacity.less
204
+ - spec/dummy/node_modules/bootstrap/less/mixins/pagination.less
205
+ - spec/dummy/node_modules/bootstrap/less/mixins/panels.less
206
+ - spec/dummy/node_modules/bootstrap/less/mixins/progress-bar.less
207
+ - spec/dummy/node_modules/bootstrap/less/mixins/reset-filter.less
208
+ - spec/dummy/node_modules/bootstrap/less/mixins/reset-text.less
209
+ - spec/dummy/node_modules/bootstrap/less/mixins/resize.less
210
+ - spec/dummy/node_modules/bootstrap/less/mixins/responsive-visibility.less
211
+ - spec/dummy/node_modules/bootstrap/less/mixins/size.less
212
+ - spec/dummy/node_modules/bootstrap/less/mixins/tab-focus.less
213
+ - spec/dummy/node_modules/bootstrap/less/mixins/table-row.less
214
+ - spec/dummy/node_modules/bootstrap/less/mixins/text-emphasis.less
215
+ - spec/dummy/node_modules/bootstrap/less/mixins/text-overflow.less
216
+ - spec/dummy/node_modules/bootstrap/less/mixins/vendor-prefixes.less
217
+ - spec/dummy/node_modules/bootstrap/less/modals.less
218
+ - spec/dummy/node_modules/bootstrap/less/navbar.less
219
+ - spec/dummy/node_modules/bootstrap/less/navs.less
220
+ - spec/dummy/node_modules/bootstrap/less/normalize.less
221
+ - spec/dummy/node_modules/bootstrap/less/pager.less
222
+ - spec/dummy/node_modules/bootstrap/less/pagination.less
223
+ - spec/dummy/node_modules/bootstrap/less/panels.less
224
+ - spec/dummy/node_modules/bootstrap/less/popovers.less
225
+ - spec/dummy/node_modules/bootstrap/less/print.less
226
+ - spec/dummy/node_modules/bootstrap/less/progress-bars.less
227
+ - spec/dummy/node_modules/bootstrap/less/responsive-embed.less
228
+ - spec/dummy/node_modules/bootstrap/less/responsive-utilities.less
229
+ - spec/dummy/node_modules/bootstrap/less/scaffolding.less
230
+ - spec/dummy/node_modules/bootstrap/less/tables.less
231
+ - spec/dummy/node_modules/bootstrap/less/theme.less
232
+ - spec/dummy/node_modules/bootstrap/less/thumbnails.less
233
+ - spec/dummy/node_modules/bootstrap/less/tooltip.less
234
+ - spec/dummy/node_modules/bootstrap/less/type.less
235
+ - spec/dummy/node_modules/bootstrap/less/utilities.less
236
+ - spec/dummy/node_modules/bootstrap/less/variables.less
237
+ - spec/dummy/node_modules/bootstrap/less/wells.less
238
+ - spec/dummy/node_modules/bootstrap/package.json
239
+ - spec/dummy/vendor/assets/javascripts/bootstrap.js
240
+ - spec/dummy/vendor/assets/stylesheets/bootstrap-theme.css
241
+ - spec/dummy/vendor/assets/stylesheets/bootstrap.css
242
+ - spec/file_copier_spec.rb
243
+ - spec/gem_version_updater_spec.rb
244
+ - spec/npm2gem_spec.rb
245
+ - spec/npm_install_spec.rb
246
+ - spec/spec_helper.rb
247
+ homepage: https://github.com/cllns/npm2gem
248
+ licenses:
249
+ - MIT
250
+ metadata: {}
251
+ post_install_message:
252
+ rdoc_options: []
253
+ require_paths:
254
+ - lib
255
+ required_ruby_version: !ruby/object:Gem::Requirement
256
+ requirements:
257
+ - - ">="
258
+ - !ruby/object:Gem::Version
259
+ version: '0'
260
+ required_rubygems_version: !ruby/object:Gem::Requirement
261
+ requirements:
262
+ - - ">="
263
+ - !ruby/object:Gem::Version
264
+ version: '0'
265
+ requirements: []
266
+ rubyforge_project:
267
+ rubygems_version: 2.4.5
268
+ signing_key:
269
+ specification_version: 4
270
+ summary: A tool to help mainain Asset gems for Ruby on Rails
271
+ test_files:
272
+ - spec/cli_spec.rb
273
+ - spec/config_spec.rb
274
+ - spec/dummy/dummy.gemspec
275
+ - spec/dummy/Gemfile
276
+ - spec/dummy/lib/dummy/version.rb
277
+ - spec/dummy/lib/dummy.rb
278
+ - spec/dummy/node_modules/bootstrap/CHANGELOG.md
279
+ - spec/dummy/node_modules/bootstrap/dist/css/bootstrap-theme.css
280
+ - spec/dummy/node_modules/bootstrap/dist/css/bootstrap-theme.css.map
281
+ - spec/dummy/node_modules/bootstrap/dist/css/bootstrap-theme.min.css
282
+ - spec/dummy/node_modules/bootstrap/dist/css/bootstrap-theme.min.css.map
283
+ - spec/dummy/node_modules/bootstrap/dist/css/bootstrap.css
284
+ - spec/dummy/node_modules/bootstrap/dist/css/bootstrap.css.map
285
+ - spec/dummy/node_modules/bootstrap/dist/css/bootstrap.min.css
286
+ - spec/dummy/node_modules/bootstrap/dist/css/bootstrap.min.css.map
287
+ - spec/dummy/node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.eot
288
+ - spec/dummy/node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.svg
289
+ - spec/dummy/node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf
290
+ - spec/dummy/node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.woff
291
+ - spec/dummy/node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2
292
+ - spec/dummy/node_modules/bootstrap/dist/js/bootstrap.js
293
+ - spec/dummy/node_modules/bootstrap/dist/js/bootstrap.min.js
294
+ - spec/dummy/node_modules/bootstrap/dist/js/npm.js
295
+ - spec/dummy/node_modules/bootstrap/fonts/glyphicons-halflings-regular.eot
296
+ - spec/dummy/node_modules/bootstrap/fonts/glyphicons-halflings-regular.svg
297
+ - spec/dummy/node_modules/bootstrap/fonts/glyphicons-halflings-regular.ttf
298
+ - spec/dummy/node_modules/bootstrap/fonts/glyphicons-halflings-regular.woff
299
+ - spec/dummy/node_modules/bootstrap/fonts/glyphicons-halflings-regular.woff2
300
+ - spec/dummy/node_modules/bootstrap/grunt/bs-commonjs-generator.js
301
+ - spec/dummy/node_modules/bootstrap/grunt/bs-glyphicons-data-generator.js
302
+ - spec/dummy/node_modules/bootstrap/grunt/bs-lessdoc-parser.js
303
+ - spec/dummy/node_modules/bootstrap/grunt/bs-raw-files-generator.js
304
+ - spec/dummy/node_modules/bootstrap/grunt/configBridge.json
305
+ - spec/dummy/node_modules/bootstrap/grunt/sauce_browsers.yml
306
+ - spec/dummy/node_modules/bootstrap/Gruntfile.js
307
+ - spec/dummy/node_modules/bootstrap/js/affix.js
308
+ - spec/dummy/node_modules/bootstrap/js/alert.js
309
+ - spec/dummy/node_modules/bootstrap/js/button.js
310
+ - spec/dummy/node_modules/bootstrap/js/carousel.js
311
+ - spec/dummy/node_modules/bootstrap/js/collapse.js
312
+ - spec/dummy/node_modules/bootstrap/js/dropdown.js
313
+ - spec/dummy/node_modules/bootstrap/js/modal.js
314
+ - spec/dummy/node_modules/bootstrap/js/popover.js
315
+ - spec/dummy/node_modules/bootstrap/js/scrollspy.js
316
+ - spec/dummy/node_modules/bootstrap/js/tab.js
317
+ - spec/dummy/node_modules/bootstrap/js/tooltip.js
318
+ - spec/dummy/node_modules/bootstrap/js/transition.js
319
+ - spec/dummy/node_modules/bootstrap/less/alerts.less
320
+ - spec/dummy/node_modules/bootstrap/less/badges.less
321
+ - spec/dummy/node_modules/bootstrap/less/bootstrap.less
322
+ - spec/dummy/node_modules/bootstrap/less/breadcrumbs.less
323
+ - spec/dummy/node_modules/bootstrap/less/button-groups.less
324
+ - spec/dummy/node_modules/bootstrap/less/buttons.less
325
+ - spec/dummy/node_modules/bootstrap/less/carousel.less
326
+ - spec/dummy/node_modules/bootstrap/less/close.less
327
+ - spec/dummy/node_modules/bootstrap/less/code.less
328
+ - spec/dummy/node_modules/bootstrap/less/component-animations.less
329
+ - spec/dummy/node_modules/bootstrap/less/dropdowns.less
330
+ - spec/dummy/node_modules/bootstrap/less/forms.less
331
+ - spec/dummy/node_modules/bootstrap/less/glyphicons.less
332
+ - spec/dummy/node_modules/bootstrap/less/grid.less
333
+ - spec/dummy/node_modules/bootstrap/less/input-groups.less
334
+ - spec/dummy/node_modules/bootstrap/less/jumbotron.less
335
+ - spec/dummy/node_modules/bootstrap/less/labels.less
336
+ - spec/dummy/node_modules/bootstrap/less/list-group.less
337
+ - spec/dummy/node_modules/bootstrap/less/media.less
338
+ - spec/dummy/node_modules/bootstrap/less/mixins/alerts.less
339
+ - spec/dummy/node_modules/bootstrap/less/mixins/background-variant.less
340
+ - spec/dummy/node_modules/bootstrap/less/mixins/border-radius.less
341
+ - spec/dummy/node_modules/bootstrap/less/mixins/buttons.less
342
+ - spec/dummy/node_modules/bootstrap/less/mixins/center-block.less
343
+ - spec/dummy/node_modules/bootstrap/less/mixins/clearfix.less
344
+ - spec/dummy/node_modules/bootstrap/less/mixins/forms.less
345
+ - spec/dummy/node_modules/bootstrap/less/mixins/gradients.less
346
+ - spec/dummy/node_modules/bootstrap/less/mixins/grid-framework.less
347
+ - spec/dummy/node_modules/bootstrap/less/mixins/grid.less
348
+ - spec/dummy/node_modules/bootstrap/less/mixins/hide-text.less
349
+ - spec/dummy/node_modules/bootstrap/less/mixins/image.less
350
+ - spec/dummy/node_modules/bootstrap/less/mixins/labels.less
351
+ - spec/dummy/node_modules/bootstrap/less/mixins/list-group.less
352
+ - spec/dummy/node_modules/bootstrap/less/mixins/nav-divider.less
353
+ - spec/dummy/node_modules/bootstrap/less/mixins/nav-vertical-align.less
354
+ - spec/dummy/node_modules/bootstrap/less/mixins/opacity.less
355
+ - spec/dummy/node_modules/bootstrap/less/mixins/pagination.less
356
+ - spec/dummy/node_modules/bootstrap/less/mixins/panels.less
357
+ - spec/dummy/node_modules/bootstrap/less/mixins/progress-bar.less
358
+ - spec/dummy/node_modules/bootstrap/less/mixins/reset-filter.less
359
+ - spec/dummy/node_modules/bootstrap/less/mixins/reset-text.less
360
+ - spec/dummy/node_modules/bootstrap/less/mixins/resize.less
361
+ - spec/dummy/node_modules/bootstrap/less/mixins/responsive-visibility.less
362
+ - spec/dummy/node_modules/bootstrap/less/mixins/size.less
363
+ - spec/dummy/node_modules/bootstrap/less/mixins/tab-focus.less
364
+ - spec/dummy/node_modules/bootstrap/less/mixins/table-row.less
365
+ - spec/dummy/node_modules/bootstrap/less/mixins/text-emphasis.less
366
+ - spec/dummy/node_modules/bootstrap/less/mixins/text-overflow.less
367
+ - spec/dummy/node_modules/bootstrap/less/mixins/vendor-prefixes.less
368
+ - spec/dummy/node_modules/bootstrap/less/mixins.less
369
+ - spec/dummy/node_modules/bootstrap/less/modals.less
370
+ - spec/dummy/node_modules/bootstrap/less/navbar.less
371
+ - spec/dummy/node_modules/bootstrap/less/navs.less
372
+ - spec/dummy/node_modules/bootstrap/less/normalize.less
373
+ - spec/dummy/node_modules/bootstrap/less/pager.less
374
+ - spec/dummy/node_modules/bootstrap/less/pagination.less
375
+ - spec/dummy/node_modules/bootstrap/less/panels.less
376
+ - spec/dummy/node_modules/bootstrap/less/popovers.less
377
+ - spec/dummy/node_modules/bootstrap/less/print.less
378
+ - spec/dummy/node_modules/bootstrap/less/progress-bars.less
379
+ - spec/dummy/node_modules/bootstrap/less/responsive-embed.less
380
+ - spec/dummy/node_modules/bootstrap/less/responsive-utilities.less
381
+ - spec/dummy/node_modules/bootstrap/less/scaffolding.less
382
+ - spec/dummy/node_modules/bootstrap/less/tables.less
383
+ - spec/dummy/node_modules/bootstrap/less/theme.less
384
+ - spec/dummy/node_modules/bootstrap/less/thumbnails.less
385
+ - spec/dummy/node_modules/bootstrap/less/tooltip.less
386
+ - spec/dummy/node_modules/bootstrap/less/type.less
387
+ - spec/dummy/node_modules/bootstrap/less/utilities.less
388
+ - spec/dummy/node_modules/bootstrap/less/variables.less
389
+ - spec/dummy/node_modules/bootstrap/less/wells.less
390
+ - spec/dummy/node_modules/bootstrap/LICENSE
391
+ - spec/dummy/node_modules/bootstrap/package.json
392
+ - spec/dummy/node_modules/bootstrap/README.md
393
+ - spec/dummy/Rakefile
394
+ - spec/dummy/README.md
395
+ - spec/dummy/vendor/assets/javascripts/bootstrap.js
396
+ - spec/dummy/vendor/assets/stylesheets/bootstrap-theme.css
397
+ - spec/dummy/vendor/assets/stylesheets/bootstrap.css
398
+ - spec/file_copier_spec.rb
399
+ - spec/gem_version_updater_spec.rb
400
+ - spec/npm2gem_spec.rb
401
+ - spec/npm_install_spec.rb
402
+ - spec/spec_helper.rb
403
+ has_rdoc: